Assigning A Trunk Port To A Vlan - H3C LS-3100-52P-OVS-H3 Operation Manual

S5500-ei series ethernet switches
Table of Contents

Advertisement

To do...
Assign one or a group of
access ports to the current
VLAN
2)
In interface or port group view
Follow these steps to assign an access port (in interface view) or multiple access ports (in port group
view) to a VLAN:
To do...
Enter system view
Enter
interface
view or port
group view
Configure the link type of the
port or ports as access
Assign the current access
port(s) to a VLAN
Before assigning an access port to a VLAN, create the VLAN first.
After you configure a command on a Layer-2 aggregate interface, the system starts applying the
configuration to the aggregate interface and its aggregation member ports. If the system fails to do
that on the aggregate interface, it stops applying the configuration to the aggregation member ports.
If it fails to do that on an aggregation member port, it simply skips the port and moves to the next
port.

Assigning a Trunk Port to a VLAN

A trunk port can carry multiple VLANs. You can assign it to a VLAN in interface view or port group view.
Follow these steps to assign a trunk port to one or multiple VLANs:
Use the command...
port interface-list
system-view
Enter Ethernet
interface interface-type
interface view
interface-number
Enter Layer-2
interface bridge-aggregation
aggregate
interface-number
interface view
Enter port
port-group manual
group view
port-group-name
port link-type access
port access vlan vlan-id
Required
By default, all ports belong to VLAN 1.
Use the command...
1-7
Remarks
Remarks
Required
Use either command.
In Ethernet interface view,
the
subsequent
configurations apply to the
current port.
In port group view, the
subsequent configurations
apply to all ports in the port
group.
In
Layer-2
aggregate
interface
view,
subsequent configurations
apply
to
the
aggregate interface and all
its member ports.
Optional
The link type of a port is access
by default.
Optional
By default, all access ports
belong to VLAN 1.
the
Layer-2

Advertisement

Chapters

Table of Contents
loading

Table of Contents