14-6
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
78-14064-04
Chapter 14 Configuring IEEE 802.1Q Tunneling and Layer 2 Protocol Tunneling
Configuring 802.1Q Tunneling
Configuring 802.1Q Tunnel Ports
To configure 802.1Q tunneling on a port, perform this task:
This example shows how to configure tunneling on port 4/1 and verify the configuration:
Router# configure terminal
Router(config)# interface fastethernet 4/1
Router(config-if)# switchport mode dot1qtunnel
Router(config-if)# end
Router# show dot1q-tunnel interface
Configuring the Cisco 7600 Series Router to Tag Native VLAN Traffic
The vlan dot1q tag native command is a global command that configures the router to tag native VLAN
traffic, and admit only 802.1Q tagged frames on 802.1Q trunks, dropping any untagged traffic, including
untagged traffic in the native VLAN.
To configure the router to tag traffic in the native VLAN, perform this task:
This example shows how to configure the switch to tag native VLAN traffic and verify the configuration:
Router# configure terminal
Router(config)# vlan dot1q tag native
Router(config)# end
Router# show vlan dot1q tag native
Command Purpose
Step 1
Router(config)# interface type
1
slot/port
1. type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
Selects the LAN port to configure.
Step 2
Router(config-if)# switchport
Configures the LAN port for Layer 2 switching:
• You must enter the switchport command once
without any keywords to configure the LAN port as a
Layer 2 interface before you can enter additional
switchport commands with keywords.
• Required only if you have not entered the switchport
command already for the interface.
Step 3
Router(config-if)# switchport mode dot1qtunnel
Configures the Layer 2 port as a tunnel port.
Router(config-if)# no switchport mode dot1qtunnel
Clears the tunnel port configuration.
Step 4
Router(config-if)# end
Exits configuration mode.
Step 5
Router# show dot1q-tunnel [{interface type
interface-number}]
Verifies the configuration.
Command Purpose
Step 1
Router(config)# vlan dot1q tag native
Configures the switch to tag native VLAN traffic.
Router(config)# no vlan dot1q tag native
Clears the configuration.
Step 2
Router(config)# end
Exits configuration mode.
Step 3
Router# show vlan dot1q tag native
Verifies the configuration.