Tracking a Layer 3 InterfaceYou 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/portinformation.• 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 (thetrack 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 interfacehas a valid IP address.• The Layer 3 status of an IPv4 interface goes DOWN when its Layer 2 status goes down (for a Layer 3VLAN, 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 (thetrack 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 interfacehas a valid IPv6 address.• The Layer 3 status of an IPv6 interface goes DOWN when its Layer 2 status goes down (for a Layer 3VLAN, 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 modetrack 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 trackedinterface.OBJECT TRACKING modedelay {[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 modedescription textThe text string can be up to 80 characters.4. (Optional) Display the tracking configuration and the tracked object’s status.Object Tracking 543