Procedure Enabling Layer 2 External Connectivity with a VPLS Network Through an Access VFI The following illustration shows a single-homed VXLAN network connected to a VPLS over MPLS network through the access VFIs on the border VTEP: Configuring EVPN VXLAN External Connectivity Enabling Layer 2 External Connectivity with a VPLS Network Through an Access VFI Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password, if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 interface interface-id Example:
Device(config)# interface GigabitEthernet4/0/1 Enters interface configuration mode for the specified interface. The specified interface must be the interface on the Layer 2 switch through which the EVPN VXLAN network communicates with the IEEE 802.1Q network. Step 4 switchport mode trunk Example: Device(config-if)# switchport mode trunk Configures the interface as a trunking VLAN Layer 2 interface. Step 5 switchport trunk allowed vlan vlan-list Example: Device(config-if)# switchport trunk allowed vlan 201,202 Sets the list of VLANs that are allowed to transmit traffic from this interface in tagged format when the interface is in trunking mode. Step 6 end Example:
Device(config-if)# end Returns to privileged EXEC mode. Configuring EVPN VXLAN External Connectivity 17