54 
Chapter 8  L2PT Commands 
L2PT (Layer 2 Protocol Tunneling) is a feature for service providers to transmit packets from 
different customers across their ISP networks and maintain Layer 2 protocol configurations of 
each customer. The supported Layer 2 protocols are STP (Spanning Tree Protocol), GVRP (GARP 
VLAN Registration Protocol), CDP (Cisco Discovery Protocol), VTP (VLAN Trunking Protocol), 
PAgP (Port Aggregation Protocol), UDLD (UniDirectional Link Detection) and PVST+(Per VLAN 
Spanning Tree Plus). 
8.1  l2protocol-tunnel 
Description 
The  l2protocol-tunnel  command is used to enable the layer 2 protocol 
tunneling (L2PT) function globally. To disable the L2PT function, please use no 
l2protocol-tunnel command.   
Syntax 
l2protocol-tunnel   
no l2protocol-tunnel   
Command Mode 
Global Configuration Mode 
Privilege Requirement 
Only Admin and Operator level users have access to these commands. 
Example 
Enable the L2PT function globally: 
T2600G-28TS(config)# l2protocol-tunnel 
8.2  l2protocol-tunnel type 
Description 
The l2protocol-tunnel type command is used to configure the L2PT function 
on a specified port. To  disable the L2PT function on the specified port, please 
use no l2protocol-tunnel command.