Reference Guide
Create virtual router
VRRP uses the VRID to identify each virtual router congured. Before using VRRP, you must congure the interface with the primary IP
address and enable it.
• Create a virtual router for the interface with the VRRP identier in INTERFACE mode (1 to 255).
vrrp-group vrrp-id
• Delete a VRRP group in INTERFACE mode.
no vrrp-group vrrp-id
Congure VRRP
OS10(config)# interface ethernet 1/1/5
OS10(conf-if-eth1/1/5)# vrrp-group 254
Verify VRRP
OS10(conf-eth1/1/5-vrid-254)# do show running-configuration
...
!
interface ethernet 1/1/5
ip address 10.10.10.1/24
!
vrrp-group 254
no shutdown
...
Group version
Congure a VRRP version for the system. Dene either VRRPv2 — vrrp version 2, VRRPv3 — vrrp version 3, or vrrp
version both to migrate a system from VRRPv2 to VRRPv3.
• Congure the VRRP version for IPv4 in INTERFACE mode.
vrrp version
Congure VRRP version 3
OS10(config)# vrrp version 3
Use the vrrp version both command in Conguration mode to migrate from VRRPv2 to VRRPv3. When you set the VRRP version
to
vrrp version both, the switch sends and receives both VRRPv2 or VRRPv3 packets.
1 Set the switch with the lowest priority to vrrp version both.
2 Set the switch with the highest priority to vrrp version 3.
3 Set all switches from vrrp version both to vrrp version 3.
Migrate IPv4 group from VRRPv2 to VRRPv3
OS10_backup_switch1(config)# vrrp version both
OS10_backup_switch2(config)# vrrp version both
Set master switch to VRRPv3
OS10_master_switch(config)# vrrp version 3
Layer 3
417