backup

Designates a virtual router as a Virtual Router Redundancy Protocol (VRRP) or VRRP Extended (VRRP-E) backup device and configures priority and track values.
Syntax
backup [ priority value ] [ track-priority value ]
no backup [ priority value ] [ track-priority value ]
Command Default

No virtual routers are designated as a VRRP or VRRP-E backup device.

Parameters
priority value
Sets a priority value for a backup device. Values are from 8 through 254. In VRRP, the default backup device priority is 100, and the owner device has a default priority of 255. In VRRP-E, the default backup device priority is 100.
track-priority value
Sets the new priority value if the interface goes down. Values are from 1 through 254. Default is 2 for VRRP, and default is 5 for VRRP-E.
Modes

VRID interface configuration mode

Usage Guidelines

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.

Examples

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