3Com Switch 8800 Advanced Software V5 Configuration Guide

158 CHAPTER 14: VLAN CONFIGURATION
n
Before creating a VLAN interface, ensure that the corresponding VLAN already
exists. Otherwise, the specified VLAN interface will not be created.
Configuring the
Port-Based VLAN
Introduction to the
Port-Based VLAN
This is the simplest and yet the most effective way of classifying VLANs. It groups
VLAN members by port. After added to a VLAN, a port can forward the packets of
the VLAN.
Port link type
Based on the tag handling mode, a port’s link type can be one of the following
three:
Access: an Access port only belongs to one VLAN, normally used to connect
user device;
Trunk: a Trunk port can belong to multiple VLANs, can receive and send
packets of multiple VLANs, normally used to connect network devices;
Hybrid: a Hybrid port can belong to multiple VLANs, can receive and send
packets of multiple VLANs, used to connect either user or network devices;
The differences between Hybrid and Trunk ports:
A Hybrid port allows packets of multiple VLANs to be sent without the VLAN
tag;
A Trunk port only allows packets from the default VLAN to be sent without the
VLAN tag.
Default VLAN
You can configure the default VLAN for a port. By default, VLAN 1 is the default
VLAN for all ports. However, this can be changed as needed.
To do... Use the command... Remarks
Enter system view system-view -
Create a VLAN interface or
enter VLAN interface view
interface vlan-interface
vlan-interface-id
Required
This command leads you to
VLAN interface view if the
VLAN interface already exists.
Configure an IP address for
the VLAN interface
ip address ip-address { mask |
mask-length } [ sub ]
Optional
Not configured by default
Specify the descriptive
character string for the VLAN
interface
description text Optional
VLAN interface name used by
default
Bring up the VLAN interface undo shutdown Optional
By default, the VLAN interface
is down if all ports in the
VLAN are down, as long as
one port in the VLAN is up,
the VLAN interface is up