User guide

E
XTREME
W
ARE
S
OFTWARE
U
SER
G
UIDE
6-15
C
ONFIGURING
VLAN
S
ON
THE
S
WITCH
VLAN C
ONFIGURATION
E
XAMPLES
The following BlackDiamond switch example creates a port-based VLAN named
accounting, assigns the IP address 132.15.121.1, and assigns slot 2, ports 1, 2, 3, and 6,
and slot 4, ports 1 and 2 to it:
create vlan accounting
config accounting ipaddress 132.15.121.1
config default delete port 2:1-2:3,2:6,4:1,4:2
config accounting add port 2:1-2:3,2:6,4:1,4:2
Because VLAN names are unique, you do not need to enter the keyword
vlan
after you have created the unique VLAN name. You can use the VLAN name
alone.
The following Summit switch example creates a tag-based VLAN named video. It
assigns the VLANid 1000. Ports 4 through 8 are added as tagged ports to the VLAN.
create vlan video
config video tag 1000
config video add port 4-8 tagged
config vlan <name> tag <vlanid> Assigns a numerical VLANid. The valid range
is from 1 to 4095.
config vlan <old_name> name <new_name> Renames a previously configured VLAN.
create protocol <protocol_name> Creates a user-defined protocol.
create vlan <name> Creates a named VLAN.
delete protocol <protocol> Removes a protocol.
delete vlan <name> Removes a VLAN.
unconfig vlan <name> ipaddress Resets the IP address of the VLAN.
Table 6- 1: VLAN Configuration Commands (continued)
Command Description