Assigning An Access Port To A Vlan - H3C S5560S-EI Series Configuration Manual

Layer 2-lan switching configuration guide
Hide thumbs Also See for S5560S-EI Series:
Table of Contents

Advertisement

Actions
In the outbound
direction
In a VLAN-aware network, the default processing order for untagged packets is as follows, in
descending order of priority:
MAC-based VLANs.
Protocol-based VLANs.
Port-based VLANs.

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
1.
Enter system view.
2.
Enter VLAN view.
3.
Assign one or multiple
access ports to the VLAN.
Assign an access port to a VLAN in interface view
Step
1.
Enter system view.
2.
Enter interface view.
3.
Set the port link type to
access.
4.
(Optional.) Assign the
access port to a VLAN.
Access
Removes the VLAN tag
and sends the frame.
Command
system-view
vlan vlan-id
port interface-list
Command
system-view
Enter Layer 2 Ethernet interface
view:
interface interface-type
interface-number
Enter Layer 2 aggregate interface
view:
interface bridge-aggregation
interface-number
port link-type access
port access vlan vlan-id
Trunk
Removes the tag
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.
129
Hybrid
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.

Advertisement

Table of Contents
loading

Table of Contents