3com WX1200 3CRWX120695A Manuel D’Utilisation

Page de 728
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.