Configuring VRRP-E load-balancing using short-path forwarding
VRRP-E traffic can be load-balanced using short-path forwarding on the backup devices.
Before configuring VRRP-E load-balancing, VRRP-E must be configured on all devices in the VRRP-E session.
- Use the
configure terminalcommand to enter global configuration mode. - To globally enable VRRP-E, enter the
router vrrp-extendedcommand. - Enter the
interface vecommand with an associated VLAN number.In this example, virtual Ethernet (ve) configuration mode is entered and the interface is assigned a VLAN number of 10. - Enter an IP address for the interface using the
ip addresscommand. - Enter the
ip vrrp-extended vridcommand with a number to assign a VRRP-E virtual router ID to the device.In this example, VRRP-E group configuration mode is entered. - Enter the
backupcommand with a priority value to configure the device as a VRRP-E backup 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 with a revert-priority value to configure the backup VRRP-E device as an alternate path with a specified priority. - Enter the
activatecommand to activate the VRRP-E instance.
In the following example, short-path forwarding is configured on a backup VRRP-E device, and a revert priority threshold is configured. If the backup device priority falls below this threshold, short-path forwarding is disabled.
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 50 device(config-vif-10-vrid-5)# ip-address 192.168.4.254 device(config-vif-10-vrid-5)# short-path-forwarding revert-priority 50 device(config-vif-10-vrid-5)# activate