Configuring An 802.1Q Tunneling Port - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Configuring 802.1Q Tunneling

Configuring an 802.1Q Tunneling Port

To configure a port as an 802.1Q tunnel port, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# interface
interface-id
Step 3
Switch(config-if)# switchport
access vlan vlan-id
Step 4
Switch(config-if)# switchport mode
dot1q-tunnel
Step 5
Switch(config-if)# exit
Step 6
Switch(config)# vlan dot1q tag
native
Step 7
Switch(config)# end
Step 8
Switch# show dot1q-tunnel
Step 9
Switch# show vlan dot1q tag native
Step 10
Switch# copy running-config
startup-config
Use the no vlan dot1q tag native global command and the no switchport mode dot1q-tunnel interface
configuration command to return the port to the default state of dynamic auto. Use the no vlan dot1q
tag native global configuration command to disable tagging of native VLAN packets.
Software Configuration Guide—Release 12.2(25)EW
19-6
EtherChannel port groups are compatible with tunnel ports as long as the 802.1Q configuration is
consistent within an EtherChannel port group.
Port Aggregation Protocol (PAgP), Link Aggregation Control Protocol (LACP), and UniDirectional
Link Detection (UDLD) are supported on 802.1Q tunnel ports.
Dynamic Trunking Protocol (DTP) is not compatible with 802.1Q tunneling because you must
manually configure asymmetric links with tunnel ports and trunk ports.
Loopback detection is supported on 802.1Q tunnel ports.
When a port is configured as an 802.1Q tunnel port, spanning-tree bridge protocol data unit (BPDU)
filtering is automatically enabled on the interface. Cisco Discovery Protocol (CDP) is automatically
disabled on the interface.
Purpose
Enters global configuration mode.
Enters interface configuration mode and 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 include physical
interfaces and port-channel logical interfaces (port channels 1 to 64).
Specifies the default VLAN, which is used if the interface stops trunking.
This VLAN ID is specific to the particular customer.
Sets the interface as an 802.1Q tunnel port.
Returns to global configuration mode.
(Optional) Sets the switch to enable tagging of native VLAN packets on
all 802.1Q trunk ports. When not set, and a customer VLAN ID is the
same as the native VLAN, the trunk port does not apply a metro tag, and
packets could be sent to the wrong destination.
Returns to privileged EXEC mode.
Displays the tunnel ports on the switch.
Displays 802.1Q native-VLAN tagging status.
(Optional) Saves your entries in the configuration file.
Chapter 19
Configuring 802.1Q and Layer 2 Protocol Tunneling
OL-6696-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents