To configure object tracking on the status of a Layer 2 interface, use the following commands.1 Configure object tracking on the line-protocol state of a Layer 2 interface.CONFIGURATION modetrack object-id interface interface line-protocolValid 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 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.EXEC Privilege modeshow track object-idExample of Configuring Object TrackingDell(conf)#track 100 interface tengigabitethernet 1/1/1/1 line-protocolDell(conf-track-100)#delay up 20Dell(conf-track-100)#description San Jose data centerDell(conf-track-100)#endDell#show track 100Track 100Interface TenGigabitEthernet 1/1/1/1 line-protocolDescription: San Jose data centerTracking 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 stack/slot/port/subport information.• For a 25-Gigabit Ethernet interface, enter the keyword twentyFiveGigE then the stack/slot/port/subport information.• For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the stack/slot/port[/subport] information.• For a 50-Gigabit Ethernet interface, enter the keyword fiftyGigE then the stack/slot/port/subport information.• For a 100-Gigabit Ethernet interface, enter the keyword hundredGigE then the stack/slot/port 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.590 Object Tracking