Assigning An Access Port To A Vlan - H3C S3600V2 SERIES Layer 2-Lan Switching Configuration Manual

Hide thumbs Also See for S3600V2 SERIES:
Table of Contents

Advertisement

You can use a nonexistent VLAN as the PVID for a hybrid or trunk port but not for an access port.
After you use the undo vlan command to remove the VLAN that an access port resides in, the PVID
of the port changes to VLAN 1. The removal of the VLAN specified as the PVID of a trunk or hybrid
port, however, does not affect the PVID setting on the port.
When you configure a PVID, follow these guidelines:
Do not set the voice VLAN as the PVID of a port in automatic voice VLAN assignment mode. For
information about voice VLAN, see
H3C recommends that you set the same PVID ID for local and remote ports.
Make sure that a port permits the traffic from its PVID to pass through. Otherwise, when the port
receives frames tagged with the PVID or untagged frames, the port drops these frames.
The following table shows how ports of different link types handle frames:
Port type
Access
Trunk
Hybrid

Assigning an access port to a VLAN

You can assign an access port to a VLAN in VLAN view, interface view (including Layer 2 Ethernet
interface view, and Layer 2 aggregate interface view), or port group view.
To assign one or multiple access ports to a VLAN in VLAN view:
Step
1.
Enter system view.
2.
Enter VLAN view.
Actions (in the inbound direction)
Untagged frame
Tags the frame with the
PVID tag.
Checks whether the PVID
is permitted on the port:
If yes, tags the frame
with the PVID tag.
If not, drops the
frame.
Command
system-view
vlan vlan-id
"Configuring a voice
VLAN."
Tagged frame
Receives the frame if its
VLAN ID is the same as the
PVID.
Drops the frame if its VLAN
ID is different from the
PVID.
Receives the frame if its
VLAN is carried on the
port.
Drops the frame if its VLAN
is not carried on the port.
Remarks
N/A
If the specified VLAN does not exist, this
command creates the VLAN first.
123
Actions (in the outbound
direction)
Removes the VLAN tag and
sends the frame.
Removes the tag and send
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
carried on the port. The frame is
sent with the VLAN tag removed
or intact depending on your
configuration via the port hybrid
vlan command. This is true of the
PVID.

Advertisement

Table of Contents
loading

Table of Contents