Specifications

Send document comments to nexus3k-docfeedback@cisco.com.
16-4
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 16 Configuring Object Tracking
Configuring Object Tracking
Configuring Object Tracking for an Interface
You can configure Cisco NX-OS to track the line protocol or IPv4 routing state of an interface.
SUMMARY STEPS
1. configure terminal
2. track object-id interface interface-type number {ip routing | line-protocol}
3. (Optional) show track [object-id]
4. (Optional) copy running-config startup-config
DETAILED STEPS
This example shows how to configure object tracking for the line protocol state on Ethernet 1/2:
switch# configure terminal
switch(config)# track 1 interface ethernet 1/2 line-protocol
switch(config-track)# copy running-config startup-config
This example shows how to configure object tracking for the IPv4 routing state on Ethernet 1/2:
switch# configure terminal
switch(config)# track 2 interface ethernet 1/2 ip routing
switch(config-track)# copy running-config startup-config
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
track object-id interface interface-type
number {ip routing | line-protocol}
Example:
switch(config)# track 1 interface
ethernet 1/2 line-protocol
switch(config-track#
Creates a tracked object for an interface and enters
tracking configuration mode. The object-id range is
from 1 to 500.
Step 3
show track [object-id]
Example:
switch(config-track)# show track 1
(Optional) Displays object tracking information.
Step 4
copy running-config startup-config
Example:
switch(config-track)# copy
running-config startup-config
(Optional) Saves this configuration change.