ip-address (VSRP)

Configures the IP address to back up.
Syntax
ip-address ip-address
no ip-address ip-address
ip address ip-address
no ip address ip-address
Command Default

The IP address to backup is not configured.

Parameters
ip-address
Configures the IP address to back up.
Modes

VSRP VRID configuration mode

Usage Guidelines

If you are configuring a Layer 3 switch for VSRP, you can specify an IP address to back up. When you specify an IP address, VSRP provides redundancy for the address. This is useful if you want to back up the gateway address used by hosts attached to the VSRP backups. VSRP does not require you to specify an IP address. If you do not specify an IP address, VSRP provides Layer 2 redundancy. If you do specify an IP address, VSRP provides Layer 2 and Layer 3 redundancy.

The VRID IP address must be in the same subnet as a real IP address configured on the VSRP interface, but cannot be the same as a real IP address configured on the interface.

Failover applies to both Layer 2 and Layer 3.

The no form of the command removes the configured backup IP address.

Examples

The following example configures the backup IP address.

device(config)# vlan 200
device(config-vlan-200)# tagged ethernet 1/1/1 to 1/1/8
device(config-vlan-200)# vsrp vrid 1
device(config-vlan-200-vrid-1)# ip-address 10.10.10.1