288
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
priority (HSRP)
priority (HSRP)
To set the priority level within a Hot Standby Router Protocol (HSRP) group, use the priority command.
To remove the priority level, 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 level: 100
lower-value: 1
upper-value: 255
Command Modes HSRP configuration or HSRP template mode
Command History
Usage Guidelines HSRP compares the priorities of all virtual routers in the HSRP group and selects the router with the
numerically highest priority. If two virtual routers have equal priority, HSRP selects the router with the
highest IP address.
This command requires the LAN Base Services license.
Examples This example shows how to configure a virtual router with a priority of 254:
switch# configure terminal
switch(config)# interface ethernet 0/1
switch(config-if)# no switchport
switch(config-if)# ip address 10.0.0.1 255.255.255.0
switch(config-if)# hsrp 3
switch(config-if-hsrp)# priority 254
switch(config-if-hsrp)#
level Interface priority for a virtual router. The range of values is from 0 to 255.
If this router is the owner of the IP addresses, then the value is automatically
set to 255. The default is 100.
forwarding-threshold (Optional) Sets the threshold for the virtual router.
lower lower-value (Optional) Sets the low threshold value. The range is from 0 to 255. The
default is 1.
upper upper-value (Optional) Sets the upper threshold value. The range is from 0 to 255. The
default is 255.
Release Modification
5.0(3)A1(1) This command was introduced.