Assigning A Trunk Port To A Vlan - H3C S5120-SI Series Operation Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

To do...
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.

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:
To do...
Enter system view
Enter
interface view
or port group
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
Use the command...
system-view
Enter
interface interface-type
Ethernet
interface-number
interface view
Enter Layer-2
interface bridge-aggregation
aggregate
interface-number
interface view
Enter port
port-group manual
group view
port-group-name
Use the command...
1-7
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.
Remarks
Required
Use either command.
In Ethernet interface view, the
subsequent
configurations
apply to the current port.
In
port
group
view,
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.
the
Layer-2
the
the
Layer-2

Advertisement

Table of Contents
loading

Table of Contents