Configuring Layer 2 Tunneling - Cisco Catalyst 4500 series Administration Manual

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Chapter 29
Configuring 802.1Q Tunneling, VLAN Mapping, and Layer 2 Protocol Tunneling
Note

Configuring Layer 2 Tunneling

To configure a port for Layer 2 protocol tunneling, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# interface
interface-id
Step 3
Switch(config-if)# switchport
mode access
or
Switch(config-if)# switchport
mode dot1q-tunnel
or
Switch(config-if)# switchport
mode trunk
Step 4
Switch(config-if)#
l2protocol-tunnel
Step 5
Switch(config-if)#
l2protocol-tunnel
shutdown-threshold
value
Step 6
Switch(config-if)#
l2protocol-tunnel drop-threshold
[
|
|
]
cdp
stp
vtp
value
Step 7
Switch(config-if)# exit
OL_28731-01
Because tunneled PDUs (especially STP BPDUs) must be delivered to all remote sites so that the
customer virtual network operates properly, you can give PDUs higher priority within the service
provider network than data packets received from the same tunnel port. By default, the PDUs use
the same CoS value as data packets.
If Layer 2 protocol tunneling is not configured on a system, Layer 2 protocol tunneling packets
are handled as data packets and this situation does not apply.
Purpose
Enters global configuration mode.
Enters interface configuration mode, and enter the interface to be
configured as a tunnel port. This should be the edge port in the service
provider network that connects to the customer switch. Valid interfaces can
be physical interfaces and port-channel logical interfaces (port channels 1
to 64).
Configures the interface as an access port, an 802.1Q tunnel port or a trunk
port.
Enables protocol tunneling for the desired protocol. If no keyword is
[
|
|
]
cdp
stp
vtp
entered, tunneling is enabled for all three Layer 2 protocols.
(Optional) Configures the threshold for packets-per-second accepted for
encapsulation. The interface is disabled if the configured threshold is
[
|
|
]
cdp
stp
vtp
exceeded. If no protocol option is specified, the threshold applies to each of
the tunneled Layer 2 protocol types. The range is 1 to 4096. The default is
to have no threshold configured.
Note
(Optional) Configures the threshold for packets-per-second accepted for
encapsulation. The interface drops packets if the configured threshold is
exceeded. If no protocol option is specified, the threshold applies to each of
the tunneled Layer 2 protocol types. The range is 1 to 4096. The default is
to have no threshold configured.
Note
Returns to global configuration mode.
If you also set a drop threshold on this interface, the
shutdown-threshold value must be greater than or equal to the
drop-threshold value.
If you also set a shutdown threshold on this interface, the
drop-threshold value must be less than or equal to the
shutdown-threshold value.
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
Configuring Layer 2 Protocol Tunneling
29-17

Advertisement

Table of Contents
loading

Table of Contents