efa tenant epg create

Creates a bridge domain-based Layer 3 endpoint group.

Syntax

efa tenant epg create [--name epg-name|--tenant tenant-name|--description desc| --port ip-ethport|--po po-name|--switchport-mode access | trunk | trunk-no-default-native |--type l3-hand-off | extension |--switchport-native-vlan-tagging |--switchport-native-vlan value| --ctag-range range| --ctag description desc|--vrf vrf-name| --l3-vni vni| --l2-vni vni| --anycast-ip ipv4| --anycast-ipv6 ipv6|--local-ip ipv4| --local-ipv6 ipv6| --bridge-domain bd-name| --ipv6-nd-mtu mtu-value| --ipv6-nd-managed-config flag | --ipv6-nd-other-config other-flag| --ipv6-nd-prefix ipv6-prefix| --ipv6-nd-prefix-valid-lifetime lifetime| --ipv6-nd-prefix-preferred-lifetime pref-lifetime| --ipv6-nd-prefix-no-advertise | --ipv6-nd-prefix-config-type no-autoconfig | no-onlink | off-link| --help ]

Parameters

--name epg-name
Specifies the name of the endpoint group.
--tenant tenant-name
Specifies the name of the associated tenant.
--description desc
Describes the endpoint group.
--port ip-ethport
Specifies the device IP address and Ethernet port details. Example: SW1_IP[0/1], SW2_IP[0/5,0/6], SW3_IP[0/7-10]
--po po-name
Lists port channels. Example: po1, po2
--switchport-mode access | trunk | trunk-no-default-native
Configures switch port mode on the interfaces. Valid values are access, trunk, and trunk-no-default-native. Default value is set to trunk.
--type l3-hand-off | extension
Configures the BGP service type. Valid values are l3-hand-off and extension. Default value is extension.
--switchport-native-vlan-tagging
Enables the native VLAN characteristics on the ports of this endpoint group. Valid only if mode is set to trunk.
--switchport-native-vlan value
Configures native VLAN on the interfaces. Valid values are 2 through 4090 corresponding to the value of its Ctag-range.
--ctag-range range
Specifies the customer VLAN range in comma and hyphen separated format. Example: 2-20,30,40,50-55.
--ctag-description desc
Specifies a unique description of the ctag in the format ctag:l2-vni
--vrf vrf-name
Specifies the VRF to which these networks are attached.
--l3-vni vni
Specifies the Layer 3 VNI to be used for this VRF.
--l2-vni vni
Specifies the Layer 2 VNI to be used for this network in the format ctag:l2-vni.
--anycast-ip ipv4
Specifies the IPv4 anycast address in the format ctag:anycast-ip.
--anycast-ipv6 ipv6
Specifies the IPv6 anycast address in the format ctag:anycast-ipv6
--local-ip ipv4
Specifies the IPv4 local address in the format ctag,device-ip:local-ip
--local-ipv6 ipv6
Specifies the IPv6 local address in the format ctag,device-ip:local-ipv6
--bridge-domain bd-name
Specifies the bridge domain name in the format ctag:bridge-domain
--ipv6-nd-mtu mtu-value
Sets the maximum transmission unit (MTU) for IPv6 neighbor discovery. Valid values range from 1280 through 65535. Format is ctag:mtu.
--ipv6-nd-managed-config flag
Sets the managed configuration flag for IPv6 router advertisement. Format is ctag:managedflag.
--ipv6-nd-other-config other-flag
Sets the other configuration flag for IPv6 router advertisement. Format is ctag:otherflag.
--ipv6-nd-prefix ipv6-prefix
Configures the IPv6 prefix address. Format is ctag:prefix1,prefix2,.
--ipv6-nd-prefix-valid-lifetime lifetime
Sets IPv6 prefix valid lifetime. Valid range is from 0 through 4294967295 to infinite. Format is ctag,prefix:validTime.
--ipv6-nd-prefix-preferred-lifetime pref-lifetime
Sets IPv6 prefix preferred lifetime. Valid range is from 0 through 4294967295 to infinite. Format is ctag,prefix:preferredTime.
--ipv6-nd-prefix-no-advertise
Enables the prevention of prefix advertisement. Format is ctag,prefix:noadvertiseflag.
--ipv6-nd-prefix-config-type no-autoconfig | no-onlink | off-link
Sets the configuration type for the IPv6 prefix. Valid values are no-autoconfig | no-onlink | off-link. Format is ctag,prefix:configType.
--help
Displays help for the command.

Examples

Creates a VLAN-based Layer 3 EPG.
$ efa tenant epg create --name epg1 --tenant tenant11 --switchport-mode trunk 
--switchport-native-vlan 10 --switchport-native-vlan-tagging --port 10.20.216.15[0/11],10.20.216.16[0/11] 
--po po1 --vrf blue11 --ctag-range 10 --l2-vni 10:10010 --l3-vni 14191 --anycast-ip 10:10.10.10.1/24 
--anycast-ipv6 10:10::1/125 --local-ip 10,10.20.216.15:1.1.10.3/28  --local-ip 10,10.20.216.16:1.1.10.4/28 
--local-ipv6 10,10.20.216.15:10a:10::3/125 --local-ipv6 10,10.20.216.16:10a:10::4/125 --ipv6-nd-mtu 10:9000  
--ipv6-nd-prefix 10:1002::/125,1003::/125,1004::/125 --ipv6-nd-prefix-valid-lifetime 10,1002::/125:infinite 
--ipv6-nd-prefix-preferred-lifetime 10,1002::/125:1020304 --ipv6-nd-prefix-valid-lifetime 10,1003::/125:1020304 
--ipv6-nd-prefix-preferred-lifetime 10,1003::/125:1020304 --ipv6-nd-prefix-valid-lifetime 10,1004::/125:1020304 
--ipv6-nd-prefix-preferred-lifetime 10,1004::/125:infinite --ipv6-nd-prefix-config-type 10,1004::/125:no-onlink 
--ipv6-nd-prefix-config-type 10,1003::/125:off-link --ipv6-nd-prefix-config-type 10,1002::/125:no-autoconfig 
--ipv6-nd-managed-config 10:true --ipv6-nd-other-config 10:true --ctag-description 10:Network-10

EndpointGroup created successfully.

--- Time Elapsed: 16.922083265s ---
Creates a VLAN-based L3-hand-off EPG.
(efa:extreme)extreme@node-1:~$ efa tenant epg create --tenant tenant11 --name epg2 
--type l3-hand-off --switchport-mode trunk --port 10.20.216.15[0/18],10.20.216.16[0/18] --po po2 
--vrf blue11 --ctag-range 12 --l2-vni 12:10012 --l3-vni 14191 --local-ipv6 12,10.20.216.16:10:12a::1/127 
--local-ipv6 12,10.20.216.15:10:12a::2/127 --local-ip 12,10.20.216.16:1.1.12.1/29 
--local-ip 12,10.20.216.15:1.1.12.2/29

EndpointGroup created successfully.

--- Time Elapsed: 8.605943783s ---
Creates a BD-based L3 EPG.
(efa:extreme)extreme@node-1:~$ efa tenant epg create --tenant tenant21 --name epg3 --type extension 
--switchport-mode trunk --po po11 --ctag-range 1002 --bridge-domain 1002:Net-30002 --l2-vni 1002:30002  
--vrf red11 --anycast-ip 1002:10.20.30.1/24

EndpointGroup created successfully.

--- Time Elapsed: 13.469697138s ---
Creates a VLAN-based L2 EPG.
(efa:extreme)extreme@node-1:~$ efa tenant epg create --name epg4 --tenant tenant11 
--ctag-range 101-103 --switchport-mode trunk-no-default-native --port 10.20.216.15[0/17]

EndpointGroup created successfully.

--- Time Elapsed: 19.83265s ---