388
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
track (VRRP)
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
Command Default None
Command Modes VRRP configuration mode
Command History
Usage Guidelines 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.
This command requires the LAN Base Services license.
Examples This example shows how to enable object tracking for a virtual router:
switch# configure terminal
switch(config)# track 33 ip route 192.0.2.0/24 reachability
switch(config)# interface ethernet 2/1
switch(config-if)# no switchport
switch(config-if)# vrrp 250
switch(config-if-vrrp)# track 33 priority 2
switch(config-if-vrrp)#
Related Commands
object-number Number for a configured tracked object. The range is from 1 to 500.
decrement value (Optional) Decrements the VRRP priority if the tracked object is down. The
range is from 1 to 254.
Release Modification
5.0(3)A1(1) This command was introduced.
Command Description
feature vrrp Enables VRRP.
show vrrp Displays VRRP configuration information.
track interface
(VRRP)
Tracks the state of an interface and modifies the VRRP priority if that
interface state goes down.
vrrp Configures a VRRP group.