3Com Switch 8800 Advanced Software V5 Configuration Guide
Configuring Basic VLAN Attributes 157
■ The CFI field, one bit in length, specifies whether or not the MAC addresses are
encapsulated in standard format when packets are transmitted across different
medium. This field is not described here.
■ The VLAN ID field, 12 bits in length and with its value ranging from 0 to 4095,
identifies the ID of the VLAN a packet belongs to. As VLAN IDs of 0 and 4095
are reserved by the protocol, the actual value of this field ranges from 1 to
4094.
A network device determines the VLAN to which a packet belongs to by the VLAN
ID field the packet carries. The VLAN Tag determines the way a packet is
processed. For more information, refer to
“Introduction to the Port-Based VLAN”
on page 158.
VLAN Classification VLANs can be classified into different categories. The following four types are the
most commonly used:
■ Port-based
■ MAC address-based
■ IP-subnet-based
■ Protocol-based
n
At present, Switch 8800s support port-based VLANs and protocol-based VLANs.
The following contents introduce the configuration of port-based VLANs and
protocol-based VLANs respectively.
Configuring Basic
VLAN Attributes
Follow the following steps to configure basic VLAN attributes:
Configuring VLAN
Interface Basic
Attributes
VLAN interfaces are virtual interfaces used for communications between different
VLANs. Each VLAN can have one VLAN interface. Packets of a VLAN can be
forwarded on network layer through the corresponding VLAN interface. As each
VLAN forms a broadcast domain, a VLAN can be an IP network segment and the
VLAN interface can be the gateway to enable IP address-based Layer 3 forwarding.
Follow the following steps to configure VLAN interface basic attributes:
To do... Use the command... Remarks
Enter system view system-view -
Create VLANs vlan { vlan-id1 [ to vlan-id2 ] |
all }
Optional
Using this command can
create multiple VLANs.
Enter VLAN view vlan vlan-id Required
The VLAN must be created
first before entering its view;
otherwise, using the
command creates a VLAN and
enters its view
Specify a description string for
the VLAN
description text Optional
VLAN ID is used by default, for
example, "VLAN 0001".