121
Actions Access
Trunk
Hybrid
PVID.
In the
outbound
direction
Removes the VLAN tag
and sends the frame.
•
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.
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.
In a VLAN-aware network, the default processing order for untagged packets is as follows, in
descending order of priority:
•
MAC-based VLANs.
•
IP subnet-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.
Assigning one or multiple access ports to a VLAN in VLAN view
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VLAN view.
vlan
vlan-id
N/A
3.
Assign one or a group of
access ports to the VLAN.
port interface-list
By default, all ports belong to
VLAN 1.
Assigning an access port to a VLAN in interface view
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
•
Enter Layer 2 Ethernet
interface view:
interface
interface-type
interface-number
•
Enter Layer 2 aggregate
interface view:
interface
bridge-aggregation
interface-number
•
The configuration made in
Layer 2 Ethernet interface view
applies only to the port.
•
The configuration made in
Layer 2 aggregate interface
view applies to the aggregate
interface and its aggregation
member ports. If the system
fails to apply the configuration
to an aggregation member
port, it skips the port and
moves to the next member
port. If the system fails to apply
the configuration to the
aggregate interface, it stops
applying the configuration to
aggregation member ports.