Cisco Systems WSC2960XR48FPSI Manual De Usuario
How to Configure Tunneling
Configuring an IEEE 802.1Q Tunneling Port
SUMMARY STEPS
1. configure terminal
2. interface interface-id
3. switchport access vlan vlan-id
4. switchport mode dot1q-tunnel
5. exit
6. vlan dot1q tag native
7. end
8. Use one of the following:
• show dot1q-tunnel
• show running-config interface
9. show vlan dot1q tag native
10. copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Enters interface configuration mode for the interface to be
configured as a tunnel port. This should be the edge port in the
configured as a tunnel port. This should be the edge port in the
interface interface-id
Example:
Switch(config)#
interface
Step 2
service-provider network that connects to the customer switch.
Valid interfaces include physical interfaces and port-channel logical
interfaces (port channels 1 to 48).
Valid interfaces include physical interfaces and port-channel logical
interfaces (port channels 1 to 48).
gigabitethernet2/0/1
Specifies the default VLAN, which is used if the interface stops
trunking. This VLAN ID is specific to the particular customer.
trunking. This VLAN ID is specific to the particular customer.
switchport access vlan vlan-id
Example:
Switch(config-if)#
switchport access vlan
Step 3
2
Sets the interface as an IEEE 802.1Q tunnel port.
switchport mode dot1q-tunnel
Step 4
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29440-01
133
Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
How to Configure Tunneling