3Com 5500-SI Switch User Manual


 
98 CHAPTER 6: VLAN OPERATION
Adding Ethernet Ports to a VLAN
Use the following command to add Ethernet ports to a VLAN.
Perform the following configuration in VLAN View.
By default, the system adds all the ports to a default VLAN, whose ID is 1.
Note that you can add/delete a trunk port or a hybrid port to/from VLAN by using the
port and undo port commands in Ethernet Port View, but not in VLAN View.
Setting/Deleting a VLAN or VLAN Interface Description Character String
Use the following command to set/delete a VLAN or VLAN interface description
character string.
Perform the following configuration in VLAN or VLAN Interface View.
By default, a VLAN description character string is
No description!. VLAN interface
description character string of VLAN interface is the interface name, for example,
Vlan-interface1 Interface.
Specifying/Removing the VLAN Interface
Use the following command to specify/remove the VLAN interface. To implement the
network layer function on a VLAN interface, the VLAN interface must be configured
with an IP address and a subnet mask.
Perform the following configurations in System View.
Create a VLAN first before creating an interface for it.
For this configuration task,
vlan_id takes the VLAN ID.
Table 80 Adding Ethernet Ports to a VLAN
Operation Command
Add Ethernet ports to a VLAN port interface_list
Remove Ethernet ports from a VLAN undo port interface_list
Table 81 Setting/Deleting a Vlan or Vlan Interface Description Character String
Operation Command
Set the description character string for a VLAN or
VLAN interface
description string
Restore the default description of current VLAN or
VLAN interface
undo description
Table 82 Specifying/Removing the VLAN Interface
Operation Command
Create a new VLAN interface and enter VLAN
Interface View
interface vlan-interface
vlan_id
Remove the specified VLAN interface undo interface vlan-interface
vlan_id