Configuring the Switch
3-146
3
Mapping Protocols to VLANs
Map a protocol group to a VLAN for each interface that will participate in the group.
Command Usage
• When creating a protocol-based VLAN, only assign interfaces using this
configuration screen. If you assign interfaces using any of the other VLAN menus
such as the VLAN Static Table (page 3-138) or VLAN Static Membership by Port
menu (page 3-140), these interfaces will admit traffic of any protocol type into the
associated VLAN.
• When a frame enters a port that has been assigned to a protocol VLAN, it is
processed in the following manner:
- If the frame is tagged, it will be processed according to the standard rules applied
to tagged frames.
- If the frame is untagged and the protocol type matches, the frame is forwarded
to the appropriate VLAN.
- If the frame is untagged but the protocol type does not match, the frame is
forwarded to the default VLAN for this interface.
Command Attributes
• Interface – Port (1-8) or trunk identifier.
• Protocol Group ID –
Group identifier of this protocol group.
(Range: 1-2147483647)
• VLAN ID – VLAN to which matching protocol traffic is forwarded. (Range: 1-4094)
Web – Click VLAN, Protocol VLAN, Port Configuration. Select a a port or trunk,
enter a protocol group ID, the corresponding VLAN ID, and click Apply.
Figure 3-84 Protocol VLAN Port Configuration
CLI – The following maps the traffic entering Port 1 which matches the protocol type
specified in protocol group 1 to VLAN 3.
Console(config)#interface ethernet 1/1
Console(config-if)#protocol-vlan protocol-group 1 vlan 3 4-179
Console(config-if)#