Configuring 802.1Q Tunneling; Configuring 802.1Q Tunnel Ports; Configuring The Router To Tag Native Vlan Traffic - Cisco 7604 Configuration Manual

Ios software configuration guide
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

Configuring 802.1Q Tunneling

Configuring 802.1Q Tunneling
These sections describe 802.1Q tunneling configuration:
Ensure that only the appropriate tunnel ports are in any VLAN used for tunneling and that one VLAN is
Caution
used for each tunnel. Incorrect assignment of tunnel ports to VLANs can forward traffic inappropriately.

Configuring 802.1Q Tunnel Ports

To configure 802.1Q tunneling on a port, perform this task:
Command
Step 1
Router(config)# interface type
Step 2
Router(config-if)# switchport
Step 3
Router(config-if)# switchport mode dot1q-tunnel
Router(config-if)# no switchport mode dot1q-tunnel
Step 4
Router(config-if)# end
Step 5
Router# show dot1q-tunnel [{interface type
interface-number }]
1.
type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
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 dot1q-tunnel
Router(config-if)# end
Router# show dot1q-tunnel interface

Configuring the 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.
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
17-6
Configuring 802.1Q Tunnel Ports, page 17-6
Configuring the Router to Tag Native VLAN Traffic, page 17-6
1
slot/port
Chapter 17
Purpose
Selects the LAN port to configure.
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.
Configures the Layer 2 port as a tunnel port.
Clears the tunnel port configuration.
Exits configuration mode.
Verifies the configuration.
Configuring IEEE 802.1Q Tunneling
OL-4266-08

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

761376067609-s7600 series

Table of Contents