EPG: Local IP

You can add and delete local IP address configurations during the following operations:

The Local IP address is configured on the VE interface assigned to a particular tenant network. You can select different local IP addresses for each device in a tenant network.

EPG create with local IP configuration

efa tenant epg create --name ten1epg1 --tenant tenant1 --vrf red 
--switchport-mode trunk --ctag-range 11 --anycast-ip 11:10.10.11.1/24 
--port 10.24.80.150[0/1],10.24.80.151[0/1] 
--local-ip 11,10.24.80.150:11.22.33.41/24 --local-ip 11,10.24.80.151:11.22.34.41/24

efa tenant epg show
Name: ten1epg1
Tenant: tenant1
Description:
Type: extension
Ports : 10.24.80.151[0/1]
      : 10.24.80.150[0/1]
Port Property : switchport mode     : trunk
              : native-vlan-tagging : false
NW Policy: ctag-range       :11
              : vrf                 : red
              : vrf-State           : vrf-device-created
              : vrf-Device-State    : provisioned
              : vrf-App-State       : cfg-refreshed
              : l3-vni              : 8190
Network Property [Flags : * - Native Vlan]

| Ctag | L2-Vni | Anycast-IPv4 | Anycast-IPv6 | BD-name |                Local IP (Device-IP->Local-IP)                |  Dev-state  |    App-state    |
+------+--------+--------------+--------------+---------+--------------------------------------------------------------+-------------+-----------------+
| 11   | 11     |10.10.11.1/24 |              |         |    10.24.80.151->11.22.34.41/24                              | provisioned | cfg-refreshed   |
|      |        |              |              |         |                                                              |             |                 |
|      |        |              |              |         |    10.24.80.150->11.22.33.41/24                              |             |                 |

EPG update local-ip-delete operation

efa tenant epg update --name epgv20 --tenant tenant1 --operation 
local-ip-delete --local-ip 11,10.24.80.150:11.22.33.41/24

efa tenant epg show
Name          : epgv20
Tenant        : t3
Description   :
Type          : l3-hand-off
Ports         : 10.20.50.209[0/27]
POs           : posv9
Port Property : switchport mode     : trunk
              : native-vlan-tagging : false
NW Policy     : ctag-range          : 201-202
              : vrf                 : vrfv20
              : l3-vni              : 5110

Network Property [Flags : * - Native Vlan]
+------+--------+--------------+--------------+---------+--------------------------------------------------------------+-------------+-----------------+
| Ctag | L2-Vni | Anycast-IPv4 | Anycast-IPv6 | BD-name |                Local IP (Device-IP->Local-IP)                |  Dev-state  |    App-state    |
+------+--------+--------------+--------------+---------+--------------------------------------------------------------+-------------+-----------------+
| 201  | 201    |              |              |         |    10.20.50.209->44.4.4.5/24                                 | provisioned | cfg-in-sync     |
|      |        |              |              |         |                  4444:44::5/120                              |             |                 |
|      |        |              |              |         |    10.20.50.208->44.4.4.4/24                                 |             |                 |
|      |        |              |              |         |                  4444:44::4/120                              |             |                 |
+------+--------+--------------+--------------+---------+--------------------------------------------------------------+-------------+-----------------+
| 202  | 202    |              |              |         |    10.20.50.209->44.4.5.5/24                                 | provisioned | cg-in-sync      |
|      |        |              |              |         |                  4444:45::5/120                              |             |                 |
+------+--------+--------------+--------------+---------+--------------------------------------------------------------+-------------+-----------------+

For 'unstable' entities, run 'efa tenant po/vrf show' for details
===============================================================================================================================================================

EPG update local-ip-add operation

efa tenant epg update --name ten1epg1 --tenant tenant1 
--operation local-ip-add --local-ip 11,10.24.80.150:11.22.33.41/24

efa tenant epg show
Name: ten1epg1
Tenant: tenant1
Description:
Type: extension
Ports : 10.24.80.151[0/1]
      : 10.24.80.150[0/1]
Port Property : switchport mode     : trunk
              : native-vlan-tagging : false
NW Policy: ctag-range       :11
              : vrf                 : red
              : vrf-State           : vrf-device-created
              : vrf-Device-State    : provisioned
              : vrf-App-State       : cfg-refreshed
              : l3-vni              : 8190

Network Property [Flags : * - Native Vlan]
+------+--------+--------------+--------------+---------+--------------------------------------------------------------+-------------+-----------------+
| Ctag | L2-Vni | Anycast-IPv4 | Anycast-IPv6 | BD-name |                Local IP (Device-IP->Local-IP)                |  Dev-state  |    App-state    |
+------+--------+--------------+--------------+---------+--------------------------------------------------------------+-------------+-----------------+
| 11   | 11     |              |              |         |  10.24.80.151->11.22.34.41/24                                | provisioned | cfg-in-sync     |
|      |        |              |              |         |                                                              |             |                 |
|      |        |              |              |         |    10.24.80.150->11.22.33.41/24                              |             |