Configure Multiple Anycast IP
About this task
You can provide multiple anycast IP address per tenant ctag when you create or update
an EPG, add ctag-range, add VRF, and add or delete anycast IP. The multiple anycast
IP address is configured under the interface Ve
of the
switching hardware.
Procedure
Example
Example:Multiple anycast IP configuration example when you create an EPG:
efa tenant epg create --name e1 --tenant tenant11 --po po1 --switchport-mode trunk-no-default-native --vrf v1 --ctag-range 101-102 --anycast-ip 101:1.1.1.254/24 --anycast-ip 101:2.1.1.254/24 --anycast-ip 101:3.1.1.254/24 --anycast-ipv6 101:1::1/124 --anycast-ipv6 102:2::1/124
efa tenant epg show –detail ================================================================================================================== Name : e1 Tenant : tenant11 Type : extension State : epgf-with-port-group-and-ctag-range Description : Ports : POs : po1 Port Property : SwitchPort Mode : trunk-no-default-native : Single-Homed BFD Session Type : Auto NW Policy : Ctag Range : 101-103 : VRF : v1 : L3Vni : 8192 +------------+-------------+-----------+------------+-------------+ | MAC ACL IN | MAC ACL OUP | IP ACL IN | IP ACL OUT | IPv6 ACL IN | +------------+-------------+-----------+------------+-------------+ POrt Property ACLs +------+--------------+-------------+ | Port | Dev State | App State | +------+--------------+-------------+ | po1 | provisionied | cfg-in-sync | +------+--------------+-------------+ Port Property States +------+---------------+-------+---------+--------------+--------------+----------+--------------------------+--------+---------+----------------+--------------+-------------+-------------+ | Ctag | Ctag | L2Vni | BD Name | Anycast IPv4 | Anycast IPv6 | Suppress | Local IP | IP MTU | IPv6 ND | IPv6 ND | IPv6 ND | Dev State | App State | | | Description | | | | | ARP/ND | [Device-IP->Local-IP] | | MTU | Managed Oonfig | Other Config | | | +------+---------------+-------+---------+--------------+--------------+----------+--------------------------+--------+---------+----------------+--------------+-------------+-------------| | 101 | Tenant L3 |10000 | | 2.1.1.254/24 | 1::1/124 | T/T | 10.20.246.3->1.10.1.1/24 | | | false | false | porvisioned | cfg-in-sync | | | Extended VLAN | | | 3.1.1.254/24 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.1.1.254/24 | | | | | | | | | | +------+---------------+-------+---------+--------------+--------------+----------+--------------------------+--------+---------+----------------+--------------+-------------+-------------| | 102 | Tenant L3 |10001 | | | 2::1/124 | T/T | | | | false | false | porvisioned | cfg-in-sync | | | Extended VLAN | | | | | | | | | | | | | +------+---------------+-------+---------+--------------+--------------+----------+--------------------------+--------+---------+----------------+--------------+-------------+-------------+ Network Property [Flags : * - Native Vlan] +------+----------------+--------------+----------------+--------------------+-------------+ | Ctag | IPv6 ND Prefix | No Advertise | Valid Lifetime | Preferred Lifetime | Config Type | +------+----------------+--------------+----------------+--------------------+-------------+ IPv6 ND Prefix Flags +------+----------------+-------------+-----------+------------+-------------+ | Ctag | MAC ACL Prefix | MAC ACL OUT | IP ACL IN | IP ACL OUT | IPv6 ACL IN | +------+----------------+-------------+-----------+------------+-------------+ Network Property ACLs For 'unstable' entities, run 'efa tenant po/vrf show' for details
10.20.246.25SLX# show running-config interface Ve interface Ve 101 vrf forwarding v1 ip anycast-address 1.1.1.254/24 ip anycast-address 2.1.1.254/24 ip anycast-address 3.1.1.254/24 ipv6 anycast-address 1::1/124 no shutdown ! interface Ve 102 vrf forwarding v1 ipv6 anycast-address 2::1/124 no shutdown ! interface Ve 4090 ip address 10.20.20.2/31 no shutdown ! interface Ve 5120 vrf forwarding v1 ipv6 address use-link-local-only no shutdown ! |
10.20.246.26SLX# show running-config interface Ve interface Ve 101 vrf forwarding v1 ip anycast-address 1.1.1.254/24 ip anycast-address 2.1.1.254/24 ip anycast-address 3.1.1.254/24 ipv6 anycast-address 1::1/124 no shutdown ! interface Ve 102 vrf forwarding v1 ipv6 anycast-address 2::1/124 no shutdown ! interface Ve 4090 ip address 10.20.20.3/31 no shutdown ! interface Ve 5120 vrf forwarding v1 ipv6 address use-link-local-only no shutdown ! |
Multiple anycast IP configuration example when you update an EPG:
efa tenant epg update --name e1 --tenant tenant11 --operation anycast-ip-add --anycast-ip 101:4.1.1.1/24
10.20.246.25SLX# show running-config interface Ve interface Ve 101 vrf forwarding v1 ip anycast-address 1.1.1.254/24 ip anycast-address 2.1.1.254/24 ip anycast-address 3.1.1.254/24 ip anycast-address 4.1.1.1/24 ipv6 anycast-address 1::1/124 no shutdown ! interface Ve 102 vrf forwarding v1 ipv6 anycast-address 2::1/124 no shutdown ! interface Ve 4090 ip address 10.20.20.2/31 no shutdown ! interface Ve 5120 vrf forwarding v1 ipv6 address use-link-local-only no shutdown ! |
10.20.246.26SLX# show running-config interface Ve interface Ve 101 vrf forwarding v1 ip anycast-address 1.1.1.254/24 ip anycast-address 2.1.1.254/24 ip anycast-address 3.1.1.254/24 ip anycast-address 4.1.1.1/24 ipv6 anycast-address 1::1/124 no shutdown ! interface Ve 102 vrf forwarding v1 ipv6 anycast-address 2::1/124 no shutdown ! interface Ve 4090 ip address 10.20.20.3/31 no shutdown ! interface Ve 5120 vrf forwarding v1 ipv6 address use-link-local-only no shutdown ! |