CLI Reference Guide-R04

Table Of Contents
Chapter 22
| VLAN Commands
Configuring Protocol-based VLANs
– 612 –
To configure protocol-based VLANs, follow these steps:
1. First configure VLAN groups for the protocols you want to use (page 587).
Although not mandatory, we suggest configuring a separate VLAN for each
major protocol running on your network. Do not add port members at this
time.
2. Create a protocol group for each of the protocols you want to assign to a VLAN
using the protocol-vlan protocol-group command (Global Configuration
mode).
3. Then map the protocol for each interface to the appropriate VLAN using the
protocol-vlan protocol-group command (Interface Configuration mode).
protocol-vlan
protocol-group
(Configuring Groups)
This command creates a protocol group, or to add specific protocols to a group. Use
the no form to remove a protocol group.
Syntax
protocol-vlan protocol-group group-id [{add | remove}
frame-type frame protocol-type protocol]
no protocol-vlan protocol-group group-id
group-id - Group identifier of this protocol group. (Range: 1-2147483647)
frame
22
- Frame type used by this protocol. (Options: ethernet, rfc_1042,
llc_other)
protocol - Protocol type. The only option for the llc_other frame type is
ipx_raw. The options for all other frames types include: arp, ip, ipv6, pppoe-
dis, pppoe-ses, and rarp.
Default Setting
No protocol groups are configured.
Command Mode
Global Configuration
Example
The following creates protocol group 1, and specifies Ethernet frames with IP and
ARP protocol types:
Console(config)#protocol-vlan protocol-group 1 add frame-type ethernet
protocol-type ip
Console(config)#protocol-vlan protocol-group 1 add frame-type ethernet
protocol-type arp
Console(config)#
22. SNAP frame types are not supported by this switch due to hardware limitations.