EasyManua.ls Logo

Edge-Core AS5700-54X - Switchport L2 Protocol-Tunnel

Edge-Core AS5700-54X
1116 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 18
| VLAN Commands
Configuring L2CP Tunneling
– 496 –
switchport
l2protocol-tunnel
This command enables Layer 2 Protocol Tunneling (L2PT) for the specified protocol.
Use the no form to disable L2PT for the specified protocol.
Syntax
switchport l2protocol-tunnel {cdp | custom-pdu index | lldp | pvst+ |
spanning-tree | vtp}
cdp - Cisco Discovery Protocol
custom-pdu - User defined PDU
index - Identifies a custom PDU defined with the l2protocol-tunnel custom-
pdu command. (Range: 1-16)
lldp - Link Layer Discovery Protocol
pvst+ - Cisco Per VLAN Spanning Tree Plus
spanning-tree - Spanning Tree (STP, RSTP, MSTP)
vtp - Cisco VLAN Trunking Protocol
Default Setting
Disabled for all protocols
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
Refer to the Command Usage section for the l2protocol-tunnel tunnel-dmac
command.
For L2PT to function properly, QinQ must be enabled on the switch using the
dot1q-tunnel system-tunnel-control command, and the interface configured to
802.1Q uplink mode using the switchport dot1q-tunnel mode command.
Example
Console(config)#dot1q-tunnel system-tunnel-control
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)#
Related Commands
l2protocol-tunnel custom-pdu (492)

Table of Contents

Related product manuals