Specifications
Send document comments to nexus3k-docfeedback@cisco.com.
15-18
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 15 Configuring VRRP
Configuration Examples for VRRP
Use the clear vrrp vr command to clear the IPv4 VRRP statistics for a specified interface.
Configuration Examples for VRRP
In this example, Router A and Router B each belong to three VRRP groups. In the configuration, each
group has the following properties:
• Group 1:
–
Virtual IP address is 10.1.0.10.
–
Router A will become the master for this group with priority 120.
–
Advertising interval is 3 seconds.
–
Preemption is enabled.
• Group 5:
–
Router B will become the master for this group with priority 200.
–
Advertising interval is 30 seconds.
–
Preemption is enabled.
• Group 100:
–
Router A will become the master for this group first because it has a higher IP address
(10.1.0.2).
–
Advertising interval is the default 1 second.
–
Preemption is disabled.
Router A
interface ethernet 1/0
no switchport
ip address 10.1.0.2/16
no shutdown
vrrp 1
priority 120
authentication text cisco
advertisement-interval 3
address 10.1.0.10
no shutdown
vrrp 5
priority 100
advertisement-interval 30
address 10.1.0.50
no shutdown
vrrp 100
no preempt
address 10.1.0.100
no shutdown
Router B
interface ethernet 1/0
no switchport
ip address 10.2.0.1/2
no shutdown
vrrp 1
priority 100
authentication text cisco
advertisement-interval 3
address 10.2.0.10