Chapter 18
| VLAN Commands
Configuring Protocol-based VLANs
– 457 –
Example
Console(config)#dot1q-tunnel system-tunnel-control
Console(config)#interface ethernet 1/1
Console(config-if)#switchport dot1q-tunnel mode access
Console(config-if)#interface ethernet 1/2
Console(config-if)#switchport dot1q-tunnel mode uplink
Console(config-if)#end
Console#show dot1q-tunnel
802.1Q Tunnel Status : Enabled
Port Mode TPID (hex)
-------- ------ ----------
Eth 1/ 1 Access 8100
Eth 1/ 2 Uplink 8100
Eth 1/ 3 Normal 8100
.
.
.
Console#show dot1q-tunnel interface ethernet 1/5
802.1Q Tunnel Service Subscriptions
Port Match C-VID S-VID
-------- ----------- -----
Eth 1/ 5 1 100
Console#show dot1q-tunnel service 100
802.1Q Tunnel Service Subscriptions
Port Match C-VID S-VID
-------- ----------- -----
Eth 1/ 5 1 100
Eth 1/ 6 1 100
Console#
Related Commands
Configuring Protocol-based VLANs
The network devices required to support multiple protocols cannot be easily
grouped into a common VLAN. This may require non-standard devices to pass
traffic between different VLANs in order to encompass all the devices
participating in a specific protocol. This kind of configuration deprives users of
the basic benefits of VLANs, including security and easy accessibility.
To avoid these problems, you can configure this switch with protocol-based
VLANs that divide the physical network into logical VLAN groups for each
required protocol. When a frame is received at a port, its VLAN membership
can then be determined based on the protocol type in use by the inbound
packets.