3Com 9100 Switch User Manual


 
78
C
HAPTER
4: V
IRTUAL
LAN
S
(VLAN
S
)
The following Switch 9100 example creates a VLAN named
sales
, with
the VLANid 120. The VLAN uses both tagged and untagged ports. Ports 1
through 3 are tagged, and ports 4 and 7 are untagged. Note that when
not explicitly specified, ports are added as untagged.
create vlan sales
config sales tag 120
config sales add port 1-3 tagged
config sales add port 4,7
The following Switch 9100 example creates a protocol-based VLAN
named
ipsales
. Ports 1, 3, and 6 through 8 are assigned to the VLAN.
create vlan ipsales
config ipsales protocol ip
config ipsales add port 1,3,6-8
The following Switch 9100 example defines a protocol filter,
myprotocol
and applies it to the VLAN named
myvlan
. This is an example only, and
has no real-world application.
create protocol myprotocol
config protocol myprotocol add etype 0xf0f0
config protocol myprotocol add etype 0xffff
create vlan myvlan
config myvlan protocol myprotocol
Displaying VLAN
Settings
To display VLAN settings, use the following command:
show vlan {<name>}
The
show
command displays summary information about each VLAN, and
includes the following:
Name
VLANid
How the VLAN was created (manually or by GVRP)
IP address
STPD information
Protocol information
QoS profile information