ethernet l2tunnel
This command enables tunneling for different Layer-2 protocols.
Syntax
# ethernet l2tunnel {cdp|dtp|hex <hex protocol>| lacp|lldp|pagp|pvst-plus|stp|udld|vtp}
                                            | Command | Description | 
|---|---|
| hex protocol | Hexadecimal protocol number | 
| cdp | Cisco Discovery Protocol | 
| dtp | Dynamic Trunking Protocol | 
| hex | Ethernet protocol type in hexadecimal | 
| lacp | Link Aggregation Control Protocol | 
| lldp | Link Layer Discovery Protocol | 
| pagp | Port Aggregation Protocol | 
| pvst-plus | Per-VLAN Spanning Tree Plus | 
| stp | Spanning-Tree Protocol | 
| udld | UniDirectional Link Detection | 
| vtp | VLAN Trunking Protocol | 
Command Mode
Privileged User
Example
This example enables tunneling for cdp.
(config-data)# ethernet l2tunnel cdp