IP and MAC Anycast

Note
IP and MAC anycast should be used only with VXLAN tenant VLANs. IP and MAC anycast should not be used with any protocols other than MLAG, since it might cause MAC flaps.
Note
Switching through a VXLAN tunnel to a remote L3 Anycast gateway is not supported.- Enable IP anycast on the desired
VLANs by using the following command:
enable ip anycast {vlan} vlan_name
- Specify the anycast gateway MAC
address that is used by VLANs that enable IP anycast by using the following
command:
configure ip anycast mac [none | mac]
- To specify that configured secondary IP addresses respond to ARP
requests with the anycast MAC address, use the following command and specify the
anycast option:
configure [ {vlan} vlan_name | vlan vlan_id]add secondary-ipaddress anycast [ip_address {netmask} | ipNetmask]
- To configure a source VLAN to use as the source IP address in the BOOTPrelay
packet, use the following command:
configure bootprelay dhcp-agent source-vlan {vlan_name} {vr vrid}
- To enable or disable a reply to multicast or anycast echo requests,
use the following commands:
enable icmp ipv6 [ignore-multicasts | ignore-anycasts]
disable icmp ipv6 [ignore-multicasts | ignore-anycasts]
- For IP anycast status (enabled or
disabled), use the following command:
show vlan {virtual-router vr-name}
- For IP anycast MAC information,
use the following command:
show ipconfig {ipv4} {vlan vlan_name | tunnel tunnel_name}
- For IPv6 anycast MAC information,
use the following command:
show ipconfig ipv6 {vlan vlan_name | tunnel tunnel_name}
- To view configured secondary IP addresses on a VLAN, use the following
command:
show vlan {virtual-router vr-name}
- To view the selected source VLAN for BOOTPrelay, use the command show bootprelay configuration {ipv4 | ipv6} {{vlan vlan_name } | {vr vr_name}} .
- To view configuration information for ICMP multicast and anycast echo
requests, use the following command:
show ipconfig ipv6