![Cisco Nexus 3548 series Command Reference Manual Download Page 411](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162411.webp)
391
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
track interface (VRRP)
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
Disabled
Command Modes
VRRP configuration mode
Command History
Usage Guidelines
Use this 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.
This command requires the LAN Base Services license.
Examples
This example shows how to enable interface state tracking for a virtual router:
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# no switchport
switch(config-if)# vrrp 250
switch(config-if-vrrp)# track interface ethernet 2/2 priority 2
switch(config-if-vrrp)#
ethernet
slot
/
port
Specifies the virtual router interface for which to track the priority. The slot
number is from 1 to 255, and the port number is from 1 to 128.
port-channel
number
Specifies the port-channel group for which to track priority. The range is
from 1 to 4096.
sub_if-number
(Optional) Subinterface number. The range is from 1 to 4093.
priority
value
Specifies the interface priority for a virtual router. The range of values is
from 1 to 254. If this router is the owner of the IP addresses, the value is
automatically set to 254.
Release
Modification
5.0(3)A1(1)
This command was introduced.