beautypg.com

Port-based vlan configuration, Introduction to port-based vlan, Port link type – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 97: Pvid

background image

88

Port-based VLAN configuration

Introduction to port-based VLAN

Port-based VLANs group VLAN members by port. A port forwards traffic for a VLAN only after it is

assigned to the VLAN.

Port link type

You can configure the link type of a port as access, trunk, or hybrid. The link types use the following

VLAN tag handling methods:

An access port belongs to only one VLAN and sends traffic untagged. It is usually used to connect
a terminal device unable to recognize VLAN tagged-packets or when there is no need to separate

different VLAN members.

A trunk port can carry multiple VLANs to receive and send traffic for them. Except traffic from the

port VLAN ID (PVID), traffic sent through a trunk port will be VLAN tagged. Usually, ports
connecting network devices are configured as trunk ports.

Like a trunk port, a hybrid port can carry multiple VLANs to receive and send traffic for them. Unlike
a trunk port, a hybrid port allows traffic of all VLANs to pass through VLAN untagged.

PVID

By default, VLAN 1 is the PVID for all ports. You can configure the PVID for a port as required.
Use the following guidelines when configuring the PVID on a port:

An access port can join only one VLAN. The VLAN to which the access port belongs is the PVID of
the port.

A trunk or hybrid port can join multiple VLANs, and you can configure a PVID for the port.

You can use a nonexistent VLAN as the PVID for a hybrid or trunk port but not for an access port.
After you remove the VLAN that an access port resides in with the undo vlan command, 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.

NOTE:

Do not set the voice VLAN as the PVID of a port in automatic voice VLAN assignment mode.

H3C recommends that you set the same PVID ID for local and remote ports.

Make sure that a port is assigned to its PVID. Otherwise, when the port receives frames tagged with the
PVID or untagged frames (including protocol packets such as MSTP BPDUs), the port filters out these

frames.