OS10 Enterprise Edition User Guide Release 10.4.0E(R3)

PDF

Interface tracking

You can create an object that tracks the line-protocol state of a Layer 2 interface, and monitors its operational status (Up or Down). You can configure up to 500 objects. Each object is assigned a unique ID. The no version of this command deletes the tracked object from an interface.

When the link-level status goes down, the tracked resource status is also considered Down. If the link-level status goes up, the tracked resource status is also considered Up. For logical interfaces (port-channels or VLANs), the link-protocol status is considered to be Up if any physical interface under the logical interface is Up.

The list of available interfaces include:
  • ethernet — Physical interface
  • port-channel — Port-channel identifier
  • VLAN — VLAN identifer
  • Loopback — Loopback interface identifier
  • mgmt — Management interface
  1. Configure object tracking in CONFIGURATION mode from 1 to 500.
    track 
                                        object-id
                                     
  2. (Optional) Enter the interface object tracking on the line-protocol state of a Layer 2 interface in OBJECT TRACKING mode.
    interface 
                                        interface line-protocol
                                     
  3. (Optional) Configure the time delay used before communicating a change to the status of a tracked interface in OBJECT TRACKING mode from 0 to 80 seconds; default 0.
    delay [up 
                                        seconds] [down 
                                        seconds]
                                     
  4. (Optional) View the tracked object information in EXEC mode.
    show track 
                                        object-id
                                     
  5. (Optional) View all interface object information in EXEC mode.
    show track interface
  6. (Optional) View all IPv4 or IPv6 next-hop object information in EXEC mode.
    show track [ip | ipv6]
  7. (Optional) View brief status of object information in EXEC mode.
    show track brief
Configure object tracking
OS10(config)# track 1
                                 OS10(conf-track-1)# interface ethernet 1/1/1 line-protocol
                                 OS10(conf-track-1)# delay up 20
                                 OS10(conf-track-1)# delay down 10
                                 OS10(conf-track-1)# do show track 1
                                 Interface ethernet1/1/1 line-protocol
                                 Line protocol is UP
                                 1 changes, Last change 2017-04-26T06:41:36Z
                              

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\