3Com Switch 8800 Advanced Software V5 Configuration Guide
160 CHAPTER 14: VLAN CONFIGURATION
Follow the following steps to configure the Access-port-based VLAN in Ethernet
interface view/port group view:
n
Ensure that you create a VLAN first before trying to add an Access interface to the
VLAN.
Configuring the
Trunk-Port-Based VLAN
A Trunk port may belong to multiple VLANs, and you can only perform this
configuration in Ethernet interface view or port group view.
Follow the following steps to configure the Trunk-port-based VLAN:
Enter VLAN view vlan vlan-id Required
The VLAN must be created
first before entering its view
Add an Access port to the
current VLAN
port interface-list Required
By default, the system will add
all ports to VLAN 1
To do... Use the command... Remarks
Enter system view system-view -
Enter
Ethernet
interface
view or port
group view
Enter Ethernet
interface view
interface interface-type
interface-number
Use either command.
Under Ethernet interface
view, the subsequent
configurations only apply to
the current port; under port
group view, the subsequent
configurations apply to all
ports in the port group.
Enter port group
view
port-group { manual
port-group-name |
aggregation agg-id }
Configure the port link type as
Access
port link-type access Optional
The link type of a port is
Access by default.
Add the current Access port to a
specified VLAN
port access vlan vlan-id Optional
By default, the system will
add all ports to VLAN 1.
To do... Use the command... Remarks
To do... Use the command... Remarks
Enter system view system-view -
Enter Ethernet
interface view
or port group
view
Enter Ethernet
interface view
interface interface-type
interface-number
Use either command
Under Ethernet interface view,
the subsequent configurations
only apply to the current port;
under port group view, the
subsequent configurations
apply to all ports in the port
group
Enter port
group view
port-group { manual
port-group-name |
aggregation agg-id }
Configure the port link type as
Trunk
port link-type trunk Required
Allow a specified VLAN to pass
through the current Trunk port
port trunk permit vlan {
vlan-id-list | all }
Required
By default, all Trunk ports
belong to VLAN 1 only