3Com 3.01.01 Switch User Manual


 
40 CHAPTER 3: VLAN CONFIGURATION
Perform the following configurations in system view.
The command creates the VLAN then enters the VLAN view. If the VLAN already
exists, the command enters the VLAN view directly.
Note that the default VLAN, VLAN 1, cannot be deleted.
Adding Ethernet Ports to
a VLAN
Use the port interface_list command to add the 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.
You can add or delete trunk port and hybrid ports to or from a VLAN by the port
and undo port commands in Ethernet port view, but not in VLAN view.
Setting or Deleting the VLAN Description Character String
You can use the following command to set or delete the VLAN description
character string.
You can use description character strings, such as workgroup_name and
department_name, to distinguish the different VLANs.
Perform the following configuration in VLAN view.
By default, the VLAN description character string is the VLAN ID of the VLAN,
VLAN 0001. The VLAN interface description character string is the VLAN interface
name, for example, 3Com, Switch 8800, Vlan-interface1 Interface.
Specifying or Removing VLAN Interfaces
You can use the following command to specify or remove the VLAN interfaces. To
implement the network layer function on a VLAN interface, the VLAN interface
should be configured with an IP address and mask. For the corresponding
configuration, refer to
“Network Protocol Operation” on page 49.
Table 1 Creating or Deleting a VLAN
Operation Command
Create and enter a VLAN view vlan vlan_id
Delete the specified VLAN undo vlan { vlan_id [ to vlan_id ] / all }
Table 2 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 3 Setting and Deleting VLAN Description Character String
Operation Command
Set the description character string for the
specified VLAN
description string
Delete the description character string of the
specified VLAN
undo description