Service Manual

Tracking a Layer 3 Interface
You can create an object that tracks the routing status of an IPv4 or IPv6 Layer 3 interface.
You can track the routing status of any of the following Layer 3 interfaces:
For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the slot/port[/
subport]
information.
For a port channel interface, enter the keywords port-channel then a number.
For a VLAN interface, enter the keyword vlan then a number from 1 to 4094.
For an IPv4 interface, a routing object only tracks the UP/DOWN status of the specified IPv4 interface (the
track interface ip-routing command).
The status of an 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.
For an IPv6 interface, a routing object only tracks the UP/DOWN status of the specified IPv6 interface (the
track interface ipv6-routing command).
The status of an IPv6 interface is UP only if the Layer 2 status of the interface is UP and the interface
has a valid IPv6 address.
The Layer 3 status of an IPv6 interface goes DOWN when its Layer 2 status goes down (for a Layer 3
VLAN, all VLAN ports must be down) or the IPv6 address is removed from the routing table.
To remove object tracking on a Layer 3 IPv4/IPv6 interface, use the no track object-id command.
To configure object tracking on the routing status of a Layer 3 interface, use the following commands.
1. Configure object tracking on the routing status of an IPv4 or IPv6 interface.
CONFIGURATION mode
track object-id interface interface {ip routing | ipv6 routing}
Valid object IDs are from 1 to 65535.
2. (Optional) Configure the time delay used before communicating a change in the status of a tracked
interface.
OBJECT TRACKING mode
delay {[up seconds] [down seconds]}
Valid delay times are from 0 to 180 seconds.
The default is 0.
3. (Optional) Identify the tracked object with a text description.
OBJECT TRACKING mode
description text
The text string can be up to 80 characters.
4. (Optional) Display the tracking configuration and the tracked object’s status.
650
Object Tracking