3com 8807 Guia De Referência

Página de 1099
Port-Based VLAN Configuration Commands
83
all: Deletes all VLANs.
Description
Use the vlan vlan-id-list command to enter VLAN view or to create a range of 
VLANs.
Use the undo vlan command to delete the specified VLAN.
If only one VLAN is created, the system will automatically enter the view of the 
VLAN just created.
Related command: display vlan.
Example
# Create VLANs 5, 20, 21, 22, 23, 24, 400, 1002, 1003, 1004, and 2000.
<SW8800> system-view
 
[SW8800] vlan 5 20 to 24 400 1002 to 1004 2000 
CAUTION:
VLAN 1 is the system-default VLAN and cannot be removed.
VLANs with their ports being VLAN VPN-enabled cannot be removed.
A Guest VLAN cannot be deleted.
A protocol-enabled VLAN cannot be deleted.
Port-Based VLAN 
Configuration 
Commands
port
Syntax
port interface-list
undo port interface-list
View
VLAN view
Parameter
interface-list: List of Ethernet ports, expressed as interface-list= { interface-type 
interface-number
 [ to { interface-type interface-number ] }&<1-10>. interface-type 
is interface type, interface-number is interface number. The interface number after 
the keyword to must be larger than or equal to the interface number before to
&<1-10> represents that the preceding parameter can be repeated up to 10 times.
Description
Use the port command to add one port or one group of ports to VLAN.
Use the undo port command to cancel one port or one group of ports from 
VLAN.