Users Guide
• If the scaled metric for a route is greater than or equal to the DOWN threshold or the route is not
entered in the routing table, the state of a route is DOWN.
Congure the UP and DOWN thresholds for each tracked route with the threshold metric command.
The default UP threshold is 254; the default DOWN threshold is 255. The notication of a change in the
state of a tracked object is sent when a metric value crosses a congured threshold.
The tracking process uses a protocol-specic resolution value to convert the actual metric in the routing
table to a scaled metric in the range 0 to 255. You can congure the resolution value used to scale route
metrics for supported protocols with the track resolution ip route and track resolution
ipv6 route
commands.
track interface ip routing
Congure object tracking on the routing status of an IPv4 Layer 3 interface.
Syntax
track object-id interface interface ip routing
To return to the default setting, use the no track object-id command.
Parameters
object-id Enter the ID number of the tracked object. The range is 1 to 500.
interface Enter one of the following values:
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port information.
• For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the
slot/port information.
•
For a Loopback interface, enter the keyword loopback then a number from 0
to 16383.
• For a port channel interface, enter the keywords port-channel then a
number.
• For a tunnel interface, enter the keyword tunnel.
• For a VLAN interface, enter the keyword vlan then a number from 1 to 4094.
Defaults none
Command Modes CONFIGURATION
Command History
Version Description
9.7(0.0) Introduced on the M I/O Aggregator. Added support for tunnel interface.
Usage Information Use this command to create an object that tracks the routing state of an IPv4 Layer 2 interface:
• The status of the IPv4 interface is UP only if the Layer 2 status of the interface is UP and the interface
has a valid IP address.
• The Layer 3 status of an IPv4 interface goes DOWN when its Layer 2 status goes down (for a Layer 3
VLAN, all VLAN ports must be down) or the IP address is removed from the routing table.
track interface line-protocol
Congure object tracking on the line-protocol state of a Layer 2 interface.
Syntax
track object-id interface interface line-protocol
Object Tracking
289