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 — version 2, VRRPv3 — version 3, or version both to
migrate a system from VRRPv2 to VRRPv3.
• Congure the VRRP version for IPv4 in INTERFACE mode.
version
Congure Version 3
OS10(config)# version 3
Use the version both command in Conguration mode to migrate from VRRPv2 to VRRPv3. When you set the VRRP version to
version both, the switch sends and receives both VRRPv2 or VRRPv3 packets.
1 Set the switch with the lowest priority to version both.
2 Set the switch with the highest priority to version 3.
3 Set all switches from version both to version 3.
Migrate IPv4 group from VRRPv2 to VRRPv3
OS10_backup_switch1(config)# version both
OS10_backup_switch2(config)# version both
Set master switch to VRRPv3
OS10_master_switch(config)# version 3
348
Layer 3