CLI Reference Guide-R04

Table Of Contents
Chapter 22
| VLAN Commands
Configuring IEEE 802.1Q Tunneling
– 603 –
switchport
dot1q-tunnel
service default match
all
This command specifies the default service to apply. Use the no to set the default
service to the default setting.
Syntax
switchport dot1q-tunnel service default match all {remove-ctag | discard}
no switchport dot1q-tunnel service default match all
remove-ctag - Removes the customers VLAN tag.
discard- Discards the packet.
Default Setting
None - no default service
Command Mode
Interface Configuration (Ethernet, Port Channel)
Example
This example changes an interface’s dot1q default service to discard and then after
removes it using the no command.
Console(config)#interface ethernet 1/21
Console(config-if)#switchport dot1q-tunnel service default match all discard
Console(config-if)#end
Console#show dot1q-tunnel service default
802.1Q Tunnel Service Subscriptions
Default Service
Port Discard Remove C-Tag
-------- -------- ------------
Eth 1/21 Enabled Disabled
Console#interface ethernet 1/21
Console(config-if)#no switchport dot1q-tunnel service default match all
Console(config-if)#end
Console#show dot1q-tunnel service default
802.1Q Tunnel Service Subscriptions
Default Service
Port Discard Remove C-Tag
-------- -------- ------------
Console#