efa tenant epg create
Creates an End Point Group (EPG). An EPG
can be created from input CLI parameters such as name, po, mode, ctag, tag, port, and
ept.
Syntax
efa tenant epg create
[--name
|--tenant
|--description
|
--port
|--po
|--switchport mode
< access | trunk |
trunk-no-default-native >
|--type
< l3-hand-off | extension
>
|--switchport-native-vlan-tagging
|--switchport-native-vlan
|
--ctag-range
|--vrf
|
--l3 vni
|
--l2 vni
|
--anycast-ip
|
--anycast-ipv6
|--local-ip
--local-ipv6
|
--bridge-domain
|
--help
]
Parameters
- --name
- Specifies the name of the EPG.
- --tenant
- Specifies the name of the tenant.
- --description
- Displays description of the EPG.
- --port
- Specifies the device ip along with ethernet
port details. Example: SW1_IP[0/1], SW2_IP[0/5,0/6], SW3_IP[0/7-10]
- --po
- Lists port channels. Example: po1, po2
- --switchport-mode
- Configures switch port mode on the
interfaces. Valid values are access, trunk, trunk-no-default-native. Default
value is set to trunk.
- --type
- Configures 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
- Configures native vlan on the interfaces.
Valid values are 2 through 4090 corresponding to the value of its
Ctag-range.
- --ctag-range
- Specifies the Customer vlan range in comma
and hyphen separated format. Example: 2-20, 30, 40, 50-55.
- --vrf
- Specifies the VRF to which these networks
are attached.
- --l3-vni
- Specifies the L3 VNI to be used for this
VRF.
- --l2-vni
- Specifies the L2 VNI to be used for this
network in the format
ctag:l2-vni
.
- --anycast-ip
- Specifies the Ipv4 anycast address in the
format
ctag:anycast-ip
.
- --anycast-ipv6
- Specifies the Ipv6 anycast address in the
format ctag:anycast-ipv6.
- --local-ip
- Specifies the Ipv4 local address in the
format ctag,device-ip:local-ip
- --local-ipv6
- Specifies the Ipv6 local address in the
format ctag,device-ip:local-ipv6
- --bridge-domain
- Specifies the bridge domain name in the
format
ctag:bridge-domain
.
- --help
- Displays help for tenant epg create.
Examples
# efa tenant epg create --name epgL3 --tenant tenant1 --po po1 --switchport-mode trunk --switchport-native-vlan 211 --ctag-range 211-212 --vrf red --l3-vni 14200 --type l3-hand-off