backup
backup
[
priority
value
]
[
track-priority
value
]
no backup
[
priority
value
]
[
track-priority
value
]
No virtual routers are designated as a VRRP or VRRP-E backup device.
VRID interface configuration mode
In VRRP, the backup device with the highest priority assumes the role of VRRP master device if the owner device fails. The interface on which the Virtual Routing ID (VRID) is configured must be in the same subnet (but not be the same address) as the IP address associated with the VRID by the owner device.
In VRRP-E, all devices are configured as backup devices and the backup device with the highest priority becomes the master device. If the master device fails, the backup device with the highest priority at that time assumes the role of VRRP master device. The IP address assigned to the interface of any device in the same virtual router must be in the same IP subnet. The IP address assigned to the VRID must not be configured on any of the ICX devices.
This command must be entered before the
ip-address command can be configured for a VRRP or VRRP-E virtual routing ID.
The
no form of this command removes the virtual router configuration.
The following example configures the device as a VRRP backup device and assigns it a priority of 110.
device# configure terminal device(config)# router vrrp device(config)# interface ethernet 1/1/5 device(config-if-e1000-1/1/5)# ip address 10.53.5.3/24 device(config-if-e1000-1/1/5)# ip vrrp vrid 1 device(config-if-e1000-1/1/5-vrid-1)# backup priority 110 device(config-if-e1000-1/1/5-vrid-1)# advertise backup device(config-if-e1000-1/1/5-vrid-1)# ip-address 10.53.5.254 device(config-if-e1000-1/1/5-vrid-1)# activate
The following example configures the device as a VRRP-E backup device and assigns it a priority of 50 and a track priority of 10.
device# configure terminal device(config)# router vrrp-extended device(config-vrrpe-router)# interface ethernet 1/1/5 device(config-if-e1000-1/1/5)# ip address 10.53.10.4/24 device(config-if-e1000-1/1/5)# ip vrrp vrid 2 device(config-if-e1000-1/1/5-vrid-2)# backup priority 50 track-priority 10 device(config-if-e1000-1/1/5-vrid-2)# ip-address 10.53.10.254 device(config-if-e1000-1/1/5-vrid-2)# activate