Specifications
Send document comments to nexus3k-docfeedback@cisco.com.
15-9
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 15 Configuring VRRP
Configuring VRRP
DETAILED STEPS
Configuring VRRP Priority
The valid priority range for a virtual router is from 1 to 254 (1 is the lowest priority and 254 is the
highest). The default priority value for backups is 100. For switches whose interface IP address is the
same as the primary virtual IP address (the master), the default value is 255.
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
interface interface-type slot/port
Example:
switch(config)#
switch(config-if)# interface ethernet 2/1
Enters interface configuration mode.
Step 3
no switchport
Example:
switch(config-if)# no switchport
Configures the interface as a Layer 3
routed interface.
Step 4
vrrp number
Example:
switch(config-if)# vrrp 250
switch(config-if-vrrp)#
Creates a virtual router group. The range
is from 1 to 255.
Step 5
address ip-address [secondary]
Example:
switch(config-if-vrrp)# address 192.0.2.8
Configures the virtual IPv4 address for
the specified VRRP group. This address
should be in the same subnet as the IPv4
address of the interface.
Use the secondary option only if
applications require that VRRP routers
accept the packets sent to the virtual
router’s IP address and deliver to
applications.
Step 6
no shutdown
Example:
switch(config-if-vrrp)# no shutdown
switch(config-if-vrrp)#
Enables the VRRP group. Disabled by
default.
Step 7
show vrrp
Example:
switch(config-if-vrrp)# show vrrp
(Optional) Displays VRRP information.
Step 8
copy running-config startup-config
Example:
switch(config-if-vrrp)# copy running-config
startup-config
(Optional) Saves this configuration
change.