92
C
HAPTER
5: C
ONFIGURING
AND
M
ANAGING
P
ORTS
AND
VLAN
S
You must assign a name to a VLAN before you can add ports to the
VLAN. You can configure the name and add ports with a single
set vlan
command or separate
set vlan
commands.
Once you assign a VLAN number to a VLAN, you cannot change the
number. However, you can change a VLAN’s name.
For example, to assign the name
red
to VLAN 2, type the following
command:
WX1200#
set vlan 2 name red
After you create a VLAN, you can use the VLAN number or the VLAN
name in commands. In addition, the VLAN name appears in CLI and
3Com Wireless Switch Manager displays.
Adding Ports to a VLAN
To add a port to a VLAN, use the following command:
set vlan
vlan-id
port
port-list
[
tag
tag-value
]
You can specify a tag value from 1 through 4093.
MSS does not remove a port from other VLANs when you add the port to
a new VLAN. If a new VLAN causes a configuration conflict with an older
VLAN, remove the port from the older VLAN before adding the port to
the new VLAN.
For example, to add ports 3 through 6 and port 8 to VLAN
red
, type the
following command:
WX1200#
set vlan red port 3-6,8
success: change accepted.
Optionally, you also can specify a tag value to be used on trunked 802.1Q
ports.
To assign the name
marigold
to VLAN 4, add ports 1 through 4 and port
6, and assign tag value 11 to port 6, type the following commands:
WX1200#
set vlan 4 name marigold port 1-4
success: change accepted.
WX1200#
set vlan 4 name marigold port 6 tag 11
success: change accepted.
Summary of Contents for 3CRWX120695A
Page 138: ...138 CHAPTER 6 CONFIGURING AND MANAGING IP INTERFACES AND SERVICES ...
Page 272: ...272 CHAPTER 11 CONFIGURING RF LOAD BALANCING FOR MAPS ...
Page 310: ...310 CHAPTER 13 CONFIGURING USER ENCRYPTION ...
Page 322: ...322 CHAPTER 14 CONFIGURING RF AUTO TUNING ...
Page 350: ...350 CHAPTER 16 CONFIGURING QUALITY OF SERVICE ...
Page 368: ...368 CHAPTER 17 CONFIGURING AND MANAGING SPANNING TREE PROTOCOL ...
Page 412: ...412 CHAPTER 19 CONFIGURING AND MANAGING SECURITY ACLS ...
Page 518: ...518 CHAPTER 21 CONFIGURING AAA FOR NETWORK USERS ...
Page 530: ...530 CHAPTER 22 CONFIGURING COMMUNICATION WITH RADIUS ...
Page 542: ...542 CHAPTER 23 MANAGING 802 1X ON THE WX SWITCH ...
Page 598: ...598 CHAPTER 26 ROGUE DETECTION AND COUNTERMEASURES ...
Page 706: ...706 GLOSSARY ...