VMware NSX
VMware vSphere ESXi
From the NSX ESG (Server Side):
NSX-edge-8-0> show service l2vpn conversion-tablevid1 vid2 Tag Type action=================================Egress VLAN Entriesvid1 vid2 Tag Type action=================================1201 5000 VLAN TO_VXLANVXLAN Table Entriesvid1 vid2 Tag Type action=================================5000 1201 VXLAN TO_VLANFrom Standalone ESG (Client Side):
nsx-l2vpn-edge> show service l2vpnL2 VPN is running.----------------------------------------L2 VPN type : ClientTunnel status : upTotal bytes sent : 2651460638Total bytes received : 33559947Tx Packet drop : 5327Rx Packet drop : 0Encryption Cipher : AES128-GCM-SHA256 ============================
nsx-l2vpn-edge> show service l2vpn conversion-table ------------------------> Verify if it has right VLAN and Tunnel IDnsx-l2vpn-edge> show service l2vpn conversion-table nsx-l2vpn-edge> en --> enter password --> config tnsx-l2vpn-edge> show service l2vpn conversion-tablevid1 vid2 Tag Type action=================================
------------------------> You will see it doesn't have the records even if the vAPP options were configured correctlyEgress VLAN Entriesvid1 vid2 Tag Type action=================================
------------------------> You will see it doesn't have the records even if the vAPP options were configured correctlyVXLAN Table Entriesvid1 vid2 Tag Type action=================================nsx-l2vpn-edge>=================================nsx-l2vpn-edge(config)# show sub-interfaceName Index TunnelId NetworkId---------- ----- -------- ---------vNic_210 210 200 200 ------------------------> Verify if the Network ID (VLAN) and Tunnel ID is correct------------- total 1 -------------
nsx-l2vpn-edge(config)# no sub-interface pairs 200:200 ------------------------> This will remove the existing confignsx-l2vpn-edge(config)# show sub-interface
Name Index TunnelId NetworkId ---------- ----- -------- --------- ------------- total 0 ------------
nsx-l2vpn-edge(config)# sub-interface pairs 200:1201nsx-l2vpn-edge(config)# show sub-interface
Name Index TunnelId NetworkId---------- ----- -------- ---------vNic_1211 1211 1201 200------------- total 1 -------------nsx-l2vpn-edge(config)#nsx-l2vpn-edge(config)# l2vpnnsx-l2vpn-edge(config-l2vpn)# commitnsx-l2vpn-edge(config-l2vpn)# show service l2vpn conversion-table
vid1 vid2 Tag Type action=================================200 1201 VLAN TO_VLANEgress VLAN Entriesvid1 vid2 Tag Type action=================================1201 200 VLAN TO_VLANVXLAN Table Entriesvid1 vid2 Tag Type action=================================nsx-l2vpn-edge(config-l2vpn)#For more information on L2VPN, please refer article: Understanding Layer 2 VPN