Updates an existing End Point Group (epg).
Name of the tenant
Defines the operation to be performed. Valid values are port-group-add,
port-group-delete, ctag-range-add, ctag-range-delete, vrf-add,
vrf-delete.
Port or ports on the device where the tenant network is configured. For example, SW1_IP[0/1],SW2_IP[0/5].
List of portchannels where the tenant network is configured. Example; po1 or po1,po2.
Configures native vlan on the interfaces. Valid values are 2 through 4090.
VRF to which these networks are attached.
L3 VNI to be used for this VRF.
L2 VNI to be used for this network in the format ctag:l2-vni.
Ipv4 anycast address in the format ctag:anycast-ip.
Bridge domain name in the format ctag:bridge-domain.
An empty EPG is an EPG without any network-policy, network-property, or port-property.
An EPG can be created with a port-property and without a port-group. But an EPG cannot be created with a port-group and without a port-property.
ARP suppression is enabled for all the possible broadcast domains(VLAN/BD) on the device.
CEP is handled by replicating all the tenant configuration on the MCT neighbor except for the endpoint configuration, since the endpoint doesn‘t exist on the MCT neighbor.
The EPG update for a bridge domain-based EPG is similar to an update to a VLAN-based EPG. During a port-group add/delete operation, the logical interface configurations will be created/deleted for the existing ctags, and the corresponding bridge-domains.
During a ctag-range-add or delete operation, the logical interface and bridge-domain configurations are updated on the EPG.
During vrf-add or delete operation, the corresponding L3 configurations will be added or deleted to the EPG.
Event handling sets the corresponding tenant networks to the
cfg-refreshed
state. However, there is no way to re-push the
refreshed configuration onto the devices.
The following example is an EPG update for a VLAN Based L3 EPG : port-group-delete
efa tenant epg show ============================================================================= Name :epg11 Tenant :tenant11 Description : Ports : POs : po1115, po1315, po1215 Port Property : switchport mode : trunk :native-vlan-tagging : false NW Policy : ctag-range : 211-212 : vrf : blue11 : l3-vni : 14191 Network Property [Flags : * - Native Vlan] +------+--------+---------------+---------+-------------+-------------+ | Ctag | L2-Vni | Anycast-ip | BD-name | Dev-state | App-state | +------+--------+---------------+---------+-------------+-------------+ | 212 | 10003 | 10.10.12.1/24 | | provisioned | cfg-in-sync| +------+--------+---------------+---------+-------------+-------------+ | 211* | 10002 | 10.10.11.1/24 | | provisioned | cfg-in-sync| +------+--------+---------------+---------+-------------+-------------+ efa tenant epg update --operation port-group-delete --name epg11 --tenant tenant11 --po po1315 efa tenant epg show ============================================================================= Name :epg11 Tenant :tenant11 Description : Ports : POs : po1115, po1215 Port Property : switchport mode : trunk :native-vlan-tagging : false NW Policy : ctag-range : 211-212 : vrf : blue11 : l3-vni : 14191 Network Property [Flags : * - Native Vlan] +------+--------+---------------+---------+-------------+-------------+ | Ctag | L2-Vni | Anycast-ip | BD-name | Dev-state | App-state | +------+--------+---------------+---------+-------------+-------------+ | 212 | 10003 | 10.10.12.1/24 | | provisioned | cfg-in-sync| +------+--------+---------------+---------+-------------+-------------+ | 211* | 10002 | 10.10.11.1/24 | | provisioned | cfg-in-sync| +------+--------+---------------+---------+-------------+-------------+
The following example is an EPG update for a VLAN Based L3 EPG : port-group-add
efa tenant epg update --operation port-group-add --name epg11 --tenant tenant11 --po po1315 efa tenant epg show ============================================================================= Name :epg11 Tenant :tenant11 Description : Ports : POs : po1115, po1315, po1215 Port Property : switchport mode : trunk :native-vlan-tagging : false NW Policy : ctag-range : 211-212 : vrf : blue11 : l3-vni : 14191 Network Property [Flags : * - Native Vlan] +------+--------+---------------+---------+-------------+-------------+ | Ctag | L2-Vni | Anycast-ip | BD-name | Dev-state | App-state | +------+--------+---------------+---------+-------------+-------------+ | 212 | 10003 | 10.10.12.1/24 | | provisioned | cfg-in-sync| +------+--------+---------------+---------+-------------+-------------+ | 211* | 10002 | 10.10.11.1/24 | | provisioned | cfg-in-sync| +------+--------+---------------+---------+-------------+-------------+