When you update a tenant endpoint group, you can specify the resources like device ports, VLAN range, L2 VNI range, L3 VNI range, and VRF count.
For syntax and command examples, see the ExtremeCloud Orchestrator Command Reference, 3.3.1 .
efa tenant create --name <tenant-name> --description <tenant-description> --l2-vni-range <value> --l3-vni-range <value> -- vlan-range <value> --vrf-count <value> --enable-bd –port <list-of-ports>
$ efa tenant epg update --name e1 --tenant tenant11 --operation port-group-add --po po2 EndpointGroup updated successfully. --- Time Elapsed: 3.84922s --- $ efa tenant epg update --name e1 --tenant tenant11 --operation port-group-delete --po po2 EndpointGroup updated successfully. --- Time Elapsed: 1.1256584s ---
$ efa tenant epg update --name e1 --tenant tenant11 --operation port-property-add --pp-mac-acl-in ext-mac-permit-any-mirror-acl EndpointGroup updated successfully. --- Time Elapsed: 695.8661ms --- $ efa tenant epg update --name e1 --tenant tenant11 --operation port-property-delete --pp-mac-acl-in ext-mac-permit-any-mirror-acl EndpointGroup updated successfully. --- Time Elapsed: 593.8088ms ---
$ efa tenant epg update --name e1 --tenant tenant11 --operation network-property-add --np-ip-acl-in 101:ext-ip-permit-any-mirror-acl EndpointGroup updated successfully. --- Time Elapsed: 3.014708s --- $ efa tenant epg update --name e1 --tenant tenant11 --operation network-property-delete --np-ip-acl-in 101:ext-ip-permit-any-mirror-acl EndpointGroup updated successfully.
$ efa tenant epg update --name e1 --tenant tenant11 --operation ctag-range-add --ctag-range 105 --anycast-ip 105:8.8.8.8/24 EndpointGroup updated successfully. --- Time Elapsed: 3.7282495s --- $ efa tenant epg update --name e1 --tenant tenant11 --operation ctag-range-delete --ctag-range 105 --anycast-ip 105:8.8.8.8/24 EndpointGroup updated successfully. --- Time Elapsed: 1.4266126s ---
$ efa tenant epg update --name e1 --tenant tenant11 --operation anycast-ip-add --anycast-ip 101:3.3.3.3/24 EndpointGroup updated successfully. --- Time Elapsed: 3.8720945s --- $ efa tenant epg update --name e1 --tenant tenant11 --operation anycast-ip-delete --anycast-ip 101:3.3.3.3/24 EndpointGroup updated successfully. --- Time Elapsed: 940.5274ms ---
$ efa tenant epg update --name e1 --tenant tenant11 --operation vrf-delete --vrf v2 EndpointGroup updated successfully. --- Time Elapsed: 185.5455ms --- $ efa tenant epg update --name e1 --tenant tenant11 --operation vrf-add --vrf v1 --ctag-range 101 --anycast-ip 101:4.4.4.4/24 EndpointGroup updated successfully. --- Time Elapsed: 6.9365858s ---
$ efa tenant epg update --name e1 --tenant tenant11 --operation local-ip-delete --local-ip 101,10.20.246.3:1.10.1.1/24 EndpointGroup updated successfully. --- Time Elapsed: 2.3330832s --- $ efa tenant epg update --name e1 --tenant tenant11 --operation local-ip-add --local-ip 101,10.20.246.3:1.10.1.1/24 EndpointGroup updated successfully. --- Time Elapsed: 840.6217ms ---
$ efa tenant epg update --name e1 --tenant tenant11 --operation dhcp-relay-address-ip-add --dhcpv4-relay-address-ip 101,10.20.246.4:10.1.1.1 EndpointGroup updated successfully. --- Time Elapsed: 2.552077s --- $ efa tenant epg update --name e1 --tenant tenant11 --operation dhcp-relay-address-ip-delete --dhcpv4-relay-address-ip 101,10.20.246.4:10.1.1.1 EndpointGroup updated successfully. --- Time Elapsed: 756.6756ms --- $ efa tenant epg update --name e1 --tenant tenant11 --operation dhcp-relay-address-ip-add --dhcpv6-relay-address-ip 101,10.20.246.4:1::1 EndpointGroup updated successfully. --- Time Elapsed: 760.959ms ---
$ efa tenant epg update --name e1 --tenant tenant11 --operation dhcp-relay-gateway-ip-add --dhcpv6-relay-gateway-interface-ip 101,10.20.246.4:eth,0/5,3::3 --dhcpv6-relay-gateway-interface 101,10.20.246.4:eth,0/5 EndpointGroup updated successfully. --- Time Elapsed: 725.1882ms --- $ efa tenant epg update --name e1 --tenant tenant11 --operation dhcp-relay-gateway-ip-delete --dhcpv6-relay-gateway-interface-ip 101,10.20.246.4:eth,0/5,3::3 --dhcpv6-relay-gateway-interface 101,10.20.246.4:eth,0/5 EndpointGroup updated successfully. --- Time Elapsed: 768.0106ms ---
$ efa tenant create --name tenant11 --l2-vni-range 10002-14190 --l3-vni-range 14191-14200 --vlan-range 2-4090 --vrf-count 10 --port 10.20.216.15[0/11-20],10.20.216.16[0/11-20] --description Subscriber1 Tenant created successfully. --- Time Elapsed: 455.141597ms ---
$ efa tenant create --name tenant21 --l2-vni-range 30002-34190 --l3-vni-range 34191-34200 --vlan-range 2-4090 --vrf-count 10 --enable-bd --port 10.20.216.15[0/21-28],10.20.216.16[0/21-28] Tenant created successfully. --- Time Elapsed: 501.176996ms ---
$ efa tenant create --name tenant12 --vlan-range 2-100 --vrf-count 10 --port 10.20.216.103[0/1-10],10.20.216.104[0/1-5,0/6:1-4] Tenant created successfully. --- Time Elapsed: 427.73527ms ---
$ efa tenant create --name ST --type shared --port 10.20.216.15[0/1-10],10.20.216.16[0/1-10] Tenant created successfully. --- Time Elapsed: 381.182892ms ---