Reference Guide

The example shows a typical network conguration using VRRP. Instead of conguring the hosts on network 10.10.10.0 with the IP address
of either Router A or Router B as the default router, the default router of all hosts is set to the IP address of the virtual router. When any
host on the LAN segment requests Internet access, it sends packets to the IP address of the virtual router.
Router A is congured as the master router with the virtual router IP address and sends any packets addressed to the virtual router to the
Internet. Router B is the backup router and is also congured with the virtual router IP address.
If the master router (Router A) becomes unavailable, Router B (backup router) automatically becomes the master router and responds to
packets sent to the virtual IP address. All workstations continue to use the IP address of the virtual router to transmit packets destined to
the Internet. Router B receives and forwards packets on interface ethernet 1/1/5. Until Router A resumes operation, VRRP
allows Router B to provide uninterrupted service to the users on the LAN segment accessing the Internet.
Create virtual router
VRRP uses the VRID to identify each virtual router congured. Before using VRRP, you must congure the interface with the primary IP
address and enable it.
Create a virtual router for the interface with the VRRP identier in INTERFACE mode (1 to 255).
vrrp-group vrrp-id
Delete a VRRP group in INTERFACE mode.
no vrrp-group vrrp-id
Save the conguration.
do commit
Congure VRRP
OS10(config)# interface ethernet 1/1/5
OS10(conf-if-eth1/1/5)# vrrp-group 254
OS10(conf-eth1/1/5-vrid-254)# do commit
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
Congure a VRRP version for the system. Dene either VRRPv2 — version 2, VRRPv3 — version 3, or version both to
migrate a system from VRRPv2 to VRRPv3.
Congure the VRRP version for IPv4 in INTERFACE mode.
version
Save the conguration.
do commit
Congure Version 3
OS10(config)# version 3
OS10(config)# do commit
Layer 3
321