beautypg.com

Frame handling on a port, Assigning an access port to a vlan – H3C Technologies H3C WX5500E Series Access Controllers User Manual

Page 126

background image

115

of the port changes to VLAN 1. However, the removal of the VLAN specified as the PVID of a trunk

or hybrid port does not affect the PVID setting on the port.

When you configure the 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 "

Configuring voice VLANs

."

H3C recommends that you set the same PVID 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.

Frame handling on a port

The following table shows how ports of different link types handle frames:

Actions Access

Trunk

Hybrid

Incoming
untagged

frame

Tags the frame with the
PVID tag.

Determines whether the PVID is permitted on the port, as follows:

If yes, tags the frame with the PVID tag.

If not, drops the frame.

Incoming
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 permitted on the port.

Drops the frame if its VLAN is not permitted on the port.

Outgoing
frames

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 frame

is sent with the VLAN tag
removed or intact depending on

your configuration with the port

hybrid vlan command. This is
true of the PVID.

Assigning an access port to a VLAN

You can assign an access port to a VLAN in VLAN view or interface view. Before you assign an access

port to a VLAN, you must create the VLAN.
In VLAN view, you can assign only Layer 2 Ethernet interfaces to the VLAN.
To assign 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.

To assign an access port to a VLAN in interface view: