Users Guide

Table Of Contents
836 VLANs
Configuring a Protocol-Based VLAN
Use the following commands to create and name a protocol group, and
associate VLANs with the protocol group. When you create a protocol group,
the switch automatically assigns it a unique group ID number. The group ID
is used for both configuration and script generation to identify the group in
subsequent commands.
A protocol group may have more than one interface associated with it, but
each interface and protocol combination can be associated with one group
only. If adding an interface to a group causes any conflicts with protocols
currently associated with the group, adding the interface(s) to the group fails
and no interfaces are added to the group. Ensure that the referenced VLAN is
created prior to the creation of the protocol-based group except when GVRP
is expected to create the VLAN.
VLAN associations operate on untagged packets on access and trunk ports.
Tagged traffic is associated with the VLAN identified in the VLAN tag.
Command Purpose
configure Enter Global Config mode.
vlan protocol group
groupid
Create a new protocol group.
vlan protocol group
name
groupid name-
string
Name the protocol group.
exit Exit to Global Config mode.
interface gi1/0/3 Enter Interface Config mode for gi1/0/3.
switchport mode trunk Configure Gi1/0/3 as a trunk member of the associated
VLAN.
The Native VLAN is 1 but the port is member of the
protocol VLAN.
exit Exit to Global Config mode.
interface gi1/0/4 Enter Interface Config mode for gi1/0/4.
switchport mode access Configure gi1/0/4 as an access port.
switchport access vlan
vlanid
Specify the subnet VLAN ID of which gi1/0/4 is an access
port member.