17.6 Configuration of protocol VLANs
17.6.1 List of configuration commands
The following table describes the commands used to configure protocol VLANs.
Table 17-9 List of configuration commands
Command name
protocol
switchport mode
switchport protocol
switchport trunk
vlan-protocol
vlan protocol-based
17.6.2 Creating protocol VLANs
The following explains how to set a protocol VLAN. It provides example settings for Switch
1 shown in the figure below.
Ports 0/1 and 0/2 are set for IPv4 protocol VLAN 10. Ports 0/3 and 0/4 are set for IPv4
protocol VLAN 20. Port 0/4 belongs to both VLAN 20 and IPv6 protocol VLAN 30 at the
same time. Port 0/5 is the trunk port, and all VLANs are set for it.
Figure 17-8 Example settings for protocol VLANs
(1) Creating protocols to distinguish VLANs
Points to note
Use the
Description
Sets the protocol for identifying VLANs in protocol VLANs.
Sets the port type (protocol or trunk).
Sets the VLAN for protocol ports.
Sets the VLAN for a trunk port.
Sets the protocol name and protocol value for a protocol VLAN.
Creates a protocol VLAN. Also, sets items pertaining to a VLAN in VLAN
configuration mode.
vlan-protocol
configuration command to set the distinguishing protocol
17 VLANs
267