User guide
6-16 E
XTREME
W
ARE
S
OFTWARE
U
SER
G
UIDE
V
IRTUAL
LAN
S
(VLAN
S
)
The following Summit switch 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 BlackDiamond switch example creates a protocol-based VLAN named
ipsales. Slot 5, ports 6 through 8, and slot 6, ports 1, 3, and 4-6 are assigned to the
VLAN.
create vlan ipsales
config ipsales protocol ip
config ipsales add port 5:6-5:8,6:1,6:3-6:6
The following BlackDiamond switch 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
D
ISPLAYING
VLAN S
ETTINGS
To display VLAN settings, use the following command:
show vlan {<name>} {detail}
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