290
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
priority (VRRP)
priority (VRRP)
To set the priority for the Virtual Router Redundancy Protocol (VRRP), use the priority command. To
revert to the default value, use the no form of this command.
priority level [forwarding-threshold lower lower-value upper upper-value]
no priority level [forwarding-threshold lower lower-value upper upper-value]
Syntax Description
Command Default The default value is 100. For switches whose interface IP address is the same as the primary virtual IP
address, the default value is 254.
Command Modes VRRP configuration mode
Command History
Usage Guidelines The priority determines whether or not a VRRP router functions as a virtual router backup, the order of
ascendancy for the VRRP router to become a virtual router master if the virtual router master fails, the
role that each VRRP router plays, and what happens if the virtual router master fails.
If a VRRP router owns the IP address of the virtual router and the IP address of the physical interface,
then this router functions as a virtual router master.
By default, a preemptive scheme is enabled. A backup high-priority virtual router that becomes available
takes over for the backup virtual router that was elected to become the virtual router master. If you
disable preemption, then the backup virtual router that is elected to become the virtual router master
remains the master until the original virtual router master recovers and becomes the master again.
This command requires the LAN Base Services license.
Examples This example shows how to specify the priority for a virtual router:
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# no switchport
level 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, then the value is automatically
set to 254. The default is 100.
forwarding-threshold (Optional) Sets the threshold used by a virtual router.
lower lower-value (Optional) Sets the low threshold value. The range is from 1 to 254. The
default is 1.
upper upper-value (Optional) Sets the upper threshold value. The range is from 1 to 254. The
default is 254.
Release Modification
5.0(3)A1(1) This command was introduced.