ROUTE::age

Description

The amount of time that has elapsed since the last update to the ROUTE::rtt, ROUTE::rttvar and ROUTE::bandwidth statistics for the matched route metric entry.
Note: deprecated in 12.0, see ROUTE::expiration

ROUTE::age has a value of 0 when there are no statistics available.

Syntax

ROUTE::age <destination IP address>
ROUTE::age <destination IP address> <gateway IP address>

ROUTE::age <destination IP address>

  • The age of the route metrics for the given destination IP address.

ROUTE::age <destination IP address> <gateway IP address>

  • The age of the route metrics for the given destination IP address reached through the given gateway.

Examples

when CLIENT_ACCEPTED {
   log local0. "age is: [ROUTE::age [IP::remote_addr]]"
}

when CLIENT_ACCEPTED {
   set Gateway 10.3.1.11
   #
   # assume that $Gateway is the gateway address for [IP::remote_addr]
   #
   log local0. "age is: [ROUTE::age [IP::remote_addr] $Gateway]"
}