Cisco Systems WSC2960XR48FPSI Manual De Usuario
Switch(config-if)#
switchport access vlan 22
% Access VLAN does not exist. Creating vlan 22
Switch(config-if)#
Switch(config-if)#
switchport mode dot1q-tunnel
Switch(config-if)#
exit
Switch(config)#
vlan dot1q tag native
Switch(config)#
end
Switch#
show dot1q-tunnel interface gigabitethernet1/0/7
Port
-----
Gi1/0/1Port
-----
Switch#
-----
Gi1/0/1Port
-----
Switch#
show vlan dot1q tag native
dot1q native vlan tagging is enabled
Related Topics
Configuring an IEEE 802.1Q Tunneling Port, on page 133
IEEE 802.1Q Tunneling, on page 124
IEEE 802.1Q Tunneling and Incompatibilities, on page 122
Example: Configuring Layer 2 Protocol Tunneling
The following example shows how to configure Layer 2 protocol tunneling for CDP, STP, and VTP and to
verify the configuration.
verify the configuration.
Switch(config)#
interface gigabitethernet1/0/11
Switch(config-if)#
l2protocol-tunnel cdp
Switch(config-if)#
l2protocol-tunnel stp
Switch(config-if)#
l2protocol-tunnel vtp
Switch(config-if)#
l2protocol-tunnel shutdown-threshold 1500
Switch(config-if)#
l2protocol-tunnel drop-threshold 1000
Switch(config-if)#
exit
Switch(config)#
l2protocol-tunnel cos 7
Switch(config)#
end
Switch# s
how l2protocol
COS for Encapsulated Packets: 7
Port Protocol Shutdown Drop Encapsulation Decapsulation Drop
Threshold Threshold Counter Counter Counter
------- -------- --------- --------- ------------- ------------- -------------
Gi0/11 cdp 1500 1000 2288 2282 0
stp 1500 1000 116 13 0
vtp 1500 1000 3 67 0
pagp ---- ---- 0 0 0
lacp ---- ---- 0 0 0
udld ---- ---- 0 0 0
Port Protocol Shutdown Drop Encapsulation Decapsulation Drop
Threshold Threshold Counter Counter Counter
------- -------- --------- --------- ------------- ------------- -------------
Gi0/11 cdp 1500 1000 2288 2282 0
stp 1500 1000 116 13 0
vtp 1500 1000 3 67 0
pagp ---- ---- 0 0 0
lacp ---- ---- 0 0 0
udld ---- ---- 0 0 0
Related Topics
Configuring Layer 2 Protocol Tunneling, on page 135
Layer 2 Protocol Tunneling on Ports, on page 131
Layer 2 Protocol Tunneling , on page 122
Layer 2 Tunneling for EtherChannels, on page 124
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
144
OL-29440-01
Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
Example: Configuring Layer 2 Protocol Tunneling