[Enterprise Switch] How to config L2PT( Layer 2 Protocol Tunneling ) Follow
L2PT can be used to pass various types of protocol packets belonging to the same customer transparently across a service provider’s network. In this way, normally segregated network segments can be configured to function inside a common protocol domain.
* This function can be used to forward CDP/LACP/LLDP/VTP/STP/PVST+ packets.
Support models
ECS4100 series/ ECS4120 series / ECS4620 series / ECS5520 series, etc.
Topology
*For L2PT to function properly, must enable QinQ on the switch.
Enable QinQ with command and configure L2PT destination MAC address.
Console#configure
Console(config)#dot1q-tunnel system-tunnel-control
Console(config)#l2protocol-tunnel tunnel-dmac 01-00-0c-cd-cd-d0
Configure QinQ access mode on ECS-1 and ECS-2, and specify the protocol to be tunneled.
e.g. STP or LLDP
Console#configure
Console(config)#interface ethernet 1/1
Console(config-if)#switchport dot1q-tunnel mode access
Console(config-if)#switchport l2protocol-tunnel spanning-tree
Console(config-if)#switchport l2protocol-tunnel lldp
Config QinQ uplink port on switch_1 and switch_2
Console#configure
Console(config)#interface ethernet 1/24
Console(config-if)#switchport dot1q-tunnel mode uplink
Check QinQ service with command
Console#show dot1q-tunnel
802.1Q Tunnel Status : Enabled
802.1Q Tunnel TPID : 8100 (Hex)
Port Mode Priority Mapping
-------- ------ ----------------
Eth 1/ 1 Access Disabled
Eth 1/ 2 Normal Disabled
Eth 1/ 3 Normal Disabled
Eth 1/ 4 Normal Disabled
Eth 1/ 5 Normal Disabled
Eth 1/ 6 Normal Disabled
Eth 1/ 7 Normal Disabled
Eth 1/ 8 Normal Disabled
Eth 1/ 9 Normal Disabled
Eth 1/10 Normal Disabled
Eth 1/11 Normal Disabled
Eth 1/12 Normal Disabled
Eth 1/13 Normal Disabled
Eth 1/14 Normal Disabled
Eth 1/15 Normal Disabled
Eth 1/16 Normal Disabled
Eth 1/17 Normal Disabled
Eth 1/18 Normal Disabled
Eth 1/19 Normal Disabled
Eth 1/20 Normal Disabled
Eth 1/21 Normal Disabled
Eth 1/22 Normal Disabled
Eth 1/23 Normal Disabled
Eth 1/24 Uplink Disabled
Eth 1/25 Normal Disabled
Eth 1/26 Normal Disabled
Eth 1/27 Normal Disabled
Eth 1/28 Normal Disabled
Console#
Check L2PT service with command
Console#show l2protocol-tunnel
Layer 2 Protocol Tunnel
Tunnel MAC Address : 01-00-0C-CD-CD-D0
Interface Protocol
----------------------------------------------------------
Eth 1/ 1 Spanning Tree, LLDP
Console#
For now, switch_1 and switch_2 receive the STP packet on port 1 will be tunneled to port 24.
*Edgecore switch also replaces the destination MAC address by Tunnel MAC address.
*Make sure "Tunnel MAC address" is the same on ECS-1 and ECS-2, and by default, the L2PT MAC address is "01-12-CF-00-00-02" on Edgecore Switch.
Comments
0 comments
Please sign in to leave a comment.