T Commands
This chapter describes the Cisco NX-OS Virtual Router Redundancy Protocol (VRRP) commands that begin with T.
track (VRRP)
To modify the priority for a virtual router based on a tracked object, use the track command. To disable priority tracking for a virtual router, use the no form of this command.
track object-number [ decrement value ]
no track object-number [ decrement value ]
Syntax Description
Number for a configured tracked object. The range is from 1 to 500. |
|
(Optional) Decrements the VRRP priority if the tracked object is down. The range is from 1 to 254. |
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the track (VRRP) command to change the priority of the virtual router based on the state of a configured tracked object. Use the track command to configure the tracked object. When the tracked object is down, the priority reverts to the priority value for the virtual router. When the tracked object is up, the priority of the virtual router is restored to the original value.
Examples
This example shows how to enable object tracking for a virtual router:
Related CommandsI
|
|
---|---|
Tracks the state of an interface and modifies the VRRP priority if that interface state goes down. |
|
track interface (VRRP)
To track the priority for a virtual router based on an interface, use the track interface command. To disable priority tracking for a virtual router, use the no form of this command.
track interface { ethernet slot / port | port-channel number [. sub_if_number ]} priority value
no track interface { ethernet slot / port | port-channel number [. sub_if_number ]} priority value
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the track command to change the priority of the virtual router based on the state of another interface in the switch. When the tracked interface is down, the priority reverts to the priority value for the virtual router. When the tracked interface is up, the priority of the virtual router is restored to the interface state tracking value.
Note Interface state tracking will not be operational unless you enable preemption on the interface.
Examples
This example shows how to enable interface state tracking for a virtual router:
Related CommandsI
|
|
---|---|