Chapter 18
| VLAN Commands
Configuring IEEE 802.1Q Tunneling
– 490 –
6. Configures port 1 as member of VLANs 10, 20 and 30 to avoid filtering out
incoming frames tagged with VID 10, 20 or 30 on port 1
Console(config)#interface ethernet 1/1
Console(config-if)#switchport allowed vlan add 10,20,30
7. Verify configuration settings.
Console#show dot1q-tunnel service
802.1Q Tunnel Service Subscriptions
Port Match C-VID S-VID Remove C-Tag
-------- ----------- ----- ------------
Eth 1/ 1 10 100 Disabled
Eth 1/ 1 20 200 Disabled
Eth 1/ 1 30 300 Disabled
Default Service
Port Discard Remove C-Tag
-------- -------- ------------
Eth 1/ 1 Enabled Disabled
Step 2. Configure Switch C.
1. Create VLAN 100, 200 and 300.
Console(config)#vlan database
Console(config-vlan)#vlan 100,200,300 media ethernet state active
2. Configure port 1 and port 2 as tagged members of VLAN 100, 200 and 300.
Console(config)#interface ethernet 1/1,2
Console(config-if)#switchport allowed vlan add 100,200,300 tagged
show dot1q-tunnel This command displays information about QinQ tunnel ports. $$$
Syntax
show dot1q-tunnel [interface interface [service svid] | service [svid]]
interface
ethernet unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-32/54)
port-channel channel-id (Range: 1-16/27)
svid - VLAN ID for the outer VLAN tag (SPVID). (Range: 1-4094)
Command Mode
Privileged Exec