beautypg.com

Configuring port-based vlans, Introduction to port-based vlan, Port link type – H3C Technologies H3C S12500-X Series Switches User Manual

Page 123: Pvid, Configuration restrictions and guidelines

background image

112

Step Command

Remarks

7.

Configure the expected

bandwidth of the interface. bandwidth bandwidth-value

By default, the expected bandwidth (in
kbps) is the interface baud rate divided
by 1000.

8.

(Optional.) Restore the

default settings for the
VLAN interface.

default

N/A

9.

(Optional.) Cancel the

action of manually shutting

down the VLAN interface.

undo shutdown

By default, a VLAN interface is not
manually shut down. The VLAN interface

is up if one or more ports in the VLAN is

up, and goes down if all ports in the

VLAN go down.

Configuring port-based VLANs

Introduction to port-based VLAN

Port-based VLANs group VLAN members by port. A port forwards packets from 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:

Access—An access port can forward packets from only one specific VLAN and send these packets
untagged. An access port can connect a terminal device that does not support VLAN packets or is

used in scenarios that do not distinguish VLANs.

Trunk—A trunk port can forward packets from multiple VLANs. Except packets from the port VLAN
ID (PVID), packets sent out of a trunk port are VLAN-tagged. Ports connecting network devices are

typically configured as trunk ports.

Hybrid—A hybrid port can forward packets from multiple VLANs. A hybrid port allows traffic from
some VLANs to pass through untagged and traffic from other VLANs to pass through tagged.
Hybrid ports are typically used in one-to-two VLAN mapping to remove SVLAN tags before

forwarding packets from multiple service provider VLANs to the customer network. For more

information about one-to-two VLAN mapping, see "Configuring VLAN mapping."

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 carry 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. 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.

H3C recommends setting the same PVID for local and remote ports.

This manual is related to the following products: