Assigning An Access Port To A Vlan; Assigning A Trunk Port To A Vlan - H3C S12500X-AF Series Configuration Manual

Layer 2-lan switching
Hide thumbs Also See for S12500X-AF Series:
Table of Contents

Advertisement

Actions
In the outbound
direction

Assigning an access port to a VLAN

You can assign an access port to a VLAN in VLAN view or interface view.
Make sure the VLAN has been created.
Assign one or multiple access ports to a VLAN in VLAN view
Step
Enter system view.
1.
Enter VLAN view.
2.
Assign
3.
access ports to the VLAN.
Assign an access port to a VLAN in interface view
Step
Enter system view.
1.
Enter interface view.
2.
Set the port link type to
3.
access.
(Optional.) Assign the
4.
access port to a VLAN.

Assigning a trunk port to a VLAN

A trunk port supports multiple VLANs. You can assign it to a VLAN in interface view.
When you assign a trunk port to a VLAN, follow these restrictions and guidelines:
Access
its VLAN ID is
different from the
PVID.
Removes the VLAN tag
and sends the frame.
Command
system-view
vlan vlan-id
one
or
multiple
port interface-list
Command
system-view
Enter Layer 2 Ethernet interface
view:
interface
interface-number
Enter Layer 2 aggregate interface
view:
interface
interface-number
port link-type access
port access vlan vlan-id
Trunk
Removes
the
and sends the frame
if the frame carries
the PVID tag and the
port belongs to the
PVID.
Sends
the
frame
without removing the
tag if its VLAN is
carried on the port
but is different from
the PVID.
interface-type
bridge-aggregation
143
Hybrid
tag
Sends the frame if its VLAN is
permitted on the port. The
tagging status of the frame
depends on the port hybrid
vlan command configuration.
Remarks
N/A
N/A
By default, all ports belong to
VLAN 1.
Remarks
N/A
N/A
By default, all ports are
access ports.
By default, all access ports
belong to VLAN 1.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents