VLAN Configuration

3-187

3
CLI – This example creates protocol group 1 for Ethernet frames using the IP
protocol, and group 2 for Ethernet frames using the ARP protocol.

Mapping Protocols to VLANs

Use the Protocol VLAN Port Configuration menu to map a Protocol VLAN Group to a
VLAN. 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 (3-173) or VLAN Static Membership by Port menu
(3-175), 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 or Trunk identifier.
Protocol Group ID – Protocol Group ID assigned to the Protocol VLAN Group.
(Range: 1-2147483647)
VLAN ID – VLAN to which matching protocol traffic is forwarded. (Range: 1-4094)
Console(config)#protocol-vlan protocol-group 1
add frame-type ethernet protocol-type ip 4-241
Console(config)#protocol-vlan protocol-group 2
add frame-type ethernet protocol-type arp
Console(config)#