Delete a Tenant Endpoint Group

An endpoint group is a logical group of endpoints, which are devices that are connected to the network. You can specify the parameters such as group name, IP address, port channels, switchport mode, BGP service type, native VLAN, CTAG range, associated VRF, Layer 2 and Layer 3 VNI, bridge domain, and neighbor discovery preferences.

About this task

Follow this procedure to delete a tenant endpoint group.

For syntax and command examples, see the ExtremeCloud Orchestrator Command Reference, 3.5.0 .

Procedure

To delete a tenant endpoint group, run the following command:
efa tenant epg delete --name ten1epg1 --tenant tenant1

Example

The following is an example output of deleting an EPG:
efa tenant epg show --detail
===============================================================================================================================================================
Name          : e11
Tenant        : tv3
Type          : extension
State         : epg-with-port-group-and-ctag-range
Description   :

Ports         : 10.20.61.91[0/5]
              : 10.20.61.90[0/5]
POs           :
Port Property : SwitchPort Mode               : trunk
              : Native Vlan Tagging           : true
              : Single-Homed BFD Session Type : auto
NW Policy     : Ctag Range                    : 11
              : VRF                           : blue_dr
              : L3Vni                         : 14191

+-------------------------------+-------------------------------+------------------------------+------------------------------+--------------------------------+
|          MAC ACL IN           |          MAC ACL OUT          |          IP ACL IN           |          IP ACL OUT          |          IPv6 ACL IN           |
+-------------------------------+-------------------------------+------------------------------+------------------------------+--------------------------------+
| ext-mac-permit-any-mirror-acl | ext-mac-permit-any-mirror-acl | ext-ip-permit-any-mirror-acl | ext-ip-permit-any-mirror-acl | ext-ipv6-permit-any-mirror-acl |
+-------------------------------+-------------------------------+------------------------------+------------------------------+--------------------------------+
Port Property ACLs

+------------------+-------------+-------------+
|       Port       |  Dev State  |  App State  |
+------------------+-------------+-------------+
| 10.20.61.91[0/5] | provisioned | cfg-in-sync |
+------------------+-------------+-------------+
| 10.20.61.90[0/5] | provisioned | cfg-in-sync |
+------------------+-------------+-------------+
Port Property States

+------+-------------+-------+---------+----------------+--------------+----------+----------------------------+---------------+--------+---------+----------------+--------------+-------------+-------------+
| Ctag |    Ctag     | L2Vni | BD Name |  Anycast IPv4  | Anycast IPv6 | Suppress |          Local IP          | Icmp Redirect | IP MTU | IPv6 ND |    IPv6 ND     |   IPv6 ND    |  Dev State  |  App State  |
|      | Description |       |         |                |              |  ARP/ND  |   [Device-IP->Local-IP]    |   IPv4/IPv6   |        |   MTU   | Managed Config | Other Config |             |             |
+------+-------------+-------+---------+----------------+--------------+----------+----------------------------+---------------+--------+---------+----------------+--------------+-------------+-------------+
|  11  |   ctag-11   | 10002 |         | 11.11.11.9/29  | 11a::1a/125  |   T/T    | 10.20.61.90->11ab::31a/64, |      F/F      |  9000  |  9000   |      true      |     true     | provisioned | cfg-in-sync |
|      |             |       |         |  11.11.11.1/29 | 11::11/125   |          |       1011::31a/64,        |               |        |         |                |              |             |             |
|      |             |       |         | 11.11.11.17/29 |              |          | 2.2.2.30/29, 2.2.2.132/29  |               |        |         |                |              |             |             |
|      |             |       |         |                |              |          | 10.20.61.91->1011::32a/64, |               |        |         |                |              |             |             |
|      |             |       |         |                |              |          | 2.2.2.137/29, 2.2.2.37/29, |               |        |         |                |              |             |             |
|      |             |       |         |                |              |          |        11ab::32a/64        |               |        |         |                |              |             |             |
+------+-------------+-------+---------+----------------+--------------+----------+----------------------------+---------------+--------+---------+----------------+--------------+-------------+-------------+
Network Property [Flags : * - Native Vlan]

+------+----------------+--------------+----------------+--------------------+---------------+
| Ctag | IPv6 ND Prefix | No Advertise | Valid Lifetime | Preferred Lifetime |  Config Type  |
+------+----------------+--------------+----------------+--------------------+---------------+
|  11  |   1002::/125   |    false     |    infinite    |      1020304       |   off-link    |
+------+----------------+--------------+----------------+--------------------+---------------+
|  11  |   1003::/125   |    false     |    1020304     |      1020304       |   no-onlink   |
+------+----------------+--------------+----------------+--------------------+---------------+
|  11  |   1004::/125   |    false     |    infinite    |      infinite      | no-autoconfig |
+------+----------------+--------------+----------------+--------------------+---------------+
IPv6 ND Prefix Flags

+------+------------+-------------+-----------+------------+-------------+
| Ctag | MAC ACL IN | MAC ACL OUT | IP ACL IN | IP ACL OUT | IPv6 ACL IN |
+------+------------+-------------+-----------+------------+-------------+
Network Property ACLs

+------+-------------------------------------+--------------------------------------------------------------+---------------------------------------------+-------------------------------------------+
| Ctag |              AddressIP              |      AddressIPv6 :  Device-IP->[{Address-IPv6,Vrf}] OR       |                GatewayIP :                  |              GatewayIPv6 :                |
|      |    Device-IP->[{Address-IP,Vrf}]    |       Device-IP->[{Address-IPv6,Vrf,InfType,InfName}]        | Device-IP->{Gateway-IP,InfType,InfName} OR  | Device-IP->{InfType,InfName,Gateway-IPv6} |
|      |                                     |                                                              |        Device-IP->{InfType,InfName}         |                                           |
+------+-------------------------------------+--------------------------------------------------------------+---------------------------------------------+-------------------------------------------+
|  11  | 10.20.61.90->[{10.20.30.2,blue_dr}] |               10.20.61.90->[{11b::2,blue_dr}]                |         10.20.61.90->{10.20.30.1,,}         |         10.20.61.90->{eth,0/10,}          |
|      | 10.20.61.91->[{10.20.30.2,blue_dr}] |               10.20.61.91->[{11b::2,blue_dr}]                |      10.20.61.91->{10.20.30.1,eth,0/9}      |         10.20.61.91->{eth,0/10,}          |
+------+-------------------------------------+--------------------------------------------------------------+---------------------------------------------+-------------------------------------------+
DHCP Relay Ips


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

===============================================================================================================================================================

--- Time Elapsed: 703.520561ms ---


efa tenant epg delete --name e11 --tenant tv3

EndpointGroup: e11 deleted successfully.

--- Time Elapsed: 170.028753ms ---