Creates a Layer 3 endpoint group.
ctag:l2-vni
.ctag:l2-vni
.ctag:anycast-ip
.ctag:anycast-ipv6
. ctag,device-ip:local-ip
.ctag,device-ip:local-ipv6
.ctag:bridge-domain
.ctag:mtu
.ctag:managedflag
.ctag:otherflag
.ctag:prefix1,prefix2,
.ctag,prefix:validTime
.ctag,prefix:preferredTime
. ctag,prefix:noadvertiseflag
.ctag,prefix:configType
.An empty endpoint group has no network-policy, network-property, or port-property.
An endpoint group can be created with a port-property and without a port-group. But an endpoint group cannot be created with a port-group and without a port-property.
ARP suppression is enabled for all the possible broadcast domains, VLAN or 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 does not exist on the MCT neighbor.
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 value of --single-homed-bfd-session-type
is configured for one endpoint group
and then propagated to all Ethernet and single-homed port channel interfaces defined
for that endpoint group.
EFA does not distinguish between SRIOV (single-root input/output virtualization) and non-SRIOV
connections. Therefore, it treats both connections the same way. If you want to use
hardware-based BFD sessions for CEP non-SRIOV connections, then create an endpoint
group that contains all the CEP non-SRIOV connections and set the --single-homed-bfd-session-type
to hardware
.
$ 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 ---This example creates a VLAN-based L3-hand-off endpoint group.
$ 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 ---This example creates a bridge-domain-based Layer 3 endpoint group.
$ 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 ---This example creates a VLAN-based Layer 2 endpoint group.
$ 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 ---This example creates an endpoint group for which the BFD session type is automatically determined.
$ efa tenant epg create --name epg5 --tenant tenant11 --port 10.20.216.15[0/11] ,10.20.216.16[0/11] --po po1 --switchport-mode trunk --single-homed-bfd-session-type auto