3com WX1200 3CRWX120695A Manuel D’Utilisation

Page de 728
Configuring and Managing VLANs
93
Removing an Entire VLAN or a VLAN Port
To remove an entire VLAN or a specific port and tag value from a VLAN, 
use the following command:
clear vlan vlan-id [port port-list [tag tag-value]]
CAUTION: When you remove a VLAN, MSS completely removes the 
VLAN from the configuration and also removes all configuration 
information that uses the VLAN. If you want to remove only a specific 
port from the VLAN, make sure you specify the port number in the 
command.
The clear vlan command with a VLAN ID but without a port list or tag 
value clears all ports and tag values from the VLAN. 
To remove port 3 from VLAN red, type the following command:
WX1200# clear vlan red port 3
This may disrupt user connectivity. 
Do you wish to continue? (y/n) [n]y
success: change accepted.
To clear port 6, which uses tag value 11, from VLAN marigold, type the 
following command:
WX1200# clear vlan marigold port 6 tag 11
This may disrupt user connectivity. 
Do you wish to continue? (y/n) [n]y
success: change accepted.
To completely remove VLAN ecru, type the following command:
WX1200# clear vlan ecru
This may disrupt user connectivity. 
Do you wish to continue? (y/n) [n]y
success: change accepted.
You cannot remove the default VLAN (VLAN 1). However, you can add 
and remove ports. You can also rename the default VLAN, but 3Com 
recommends against it.
Changing Tunneling
Affinity
To change the tunneling affinity, use the following command:
set vlan vlan-id tunnel-affinity num
Specify a value from 1 through 10. The default is 5.