Configuring VRRP-E hitless upgrade
Configure the VRRP-E hitless upgrade capability to avoid traffic loss while upgrading
or troubleshooting a VRRP-E master device.
Before configuring VRRP-E hitless upgrade, VRRP-E must be configured on all devices used in the VRRP-E session. To avoid any traffic loss during the failover process, enable short-path forwarding on all VRRP-E devices.
- Enter global configuration mode.
- To globally enable VRRP-E, enter the
router vrrp-extendedcommand. - Configure the Virtual Ethernet (VE) interface for the VRRP-E device.
- Configure the IP address of the interface. All devices configured for the same virtual router ID (VRID) must be on the same subnet.
- Assign this device to VRID 5.
- Designate this router as a backup VRRP device. The backup device with the highest priority assumes the role of master VRRP-E device.
- Enter the
ip-addresscommand with an IP address that is not used on any VRRP-E device interface to add a virtual IP address to the VRRP-E instance. - Enter the
short-path-forwardingcommand. - Activate the VRRP-E instance.
- Return to virtual interface configuration mode.
- Return to global configuration mode.
- Enter the
activate backupcommand to work in conjunction with the short-path forwarding configuration to enable VRRP-E hitless upgrade.In this example, VRRP-E hitless upgrade is enabled on the master VRRP-E device. The priority of the master VRRP-E device is set to 1 and the backup device with the highest priority assumes the role of the master VRRP-E device. - Return to global configuration mode.
- (Optional) You can write the running configuration file to the startup configuration file to ensure that the device remains as a backup device until after the reload.
In the following example, VRRP-E hitless upgrade is enabled and the running-config file is saved to the startup-config file.
device# configure terminal device(config)# router vrrp-extended device(config-vrrpe-router)# interface ve 10 device(config-vif-10)# ip address 192.168.4.1/24 device(config-vif-10)# ip vrrp-extended vrid 5 device(config-vif-10-vrid-5)# backup priority 110 device(config-vif-10-vrid-5)# ip-address 192.168.4.254 device(config-vif-10-vrid-5)# short-path-forwarding device(config-vif-10-vrid-5)# activate device(config-vif-10-vrid-5)# exit device(config-vif-10)# exit device(config-vrrpe-router)# activate backup device(config-vrrpe-router)# exit device(config)# write memory
While the VRRP-E hitless upgrade is enabled, load your upgrade image and reboot the device or perform any troubleshooting.