ip anycast-address

Configures an anycast-gateway IPv4 address on an interface, which uses the gateway IPv4 address for the host.

Syntax

ip anycast-address IPv4-address/mask
no ip anycast-address

Command Default

No address is configured.

Parameters

IPv4-address/mask
IPv4 address and mask.

Modes

Interface configuration mode on a virtual Ethernet (VE) interface.

Usage Guidelines

Use the no form of this command to delete the configured IPv4 anycast address from the interface.

Examples

To configure an IPv4 address and mask on a virtual Ethernet (VE) interface:

device# configure terminal
device(config)# interface ve 10
device(config-Ve-10)# ip anycast-address 2.2.2.2/24

To confirm the configuration in the running configuration:

device# show running-config interface ve 10
!
ip snycast-address 2.2.2.2/24
!