Configuring port-based vlans, Introduction to port-based vlan – H3C Technologies H3C SecPath F1000-E User Manual
Page 63
38
NOTE:
Before creating a VLAN interface for a VLAN, create the VLAN first.
Configuring port-based VLANs
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. As shown in
, Device A is connected to common
PCs that cannot recognize VLAN tagged-packets, and you must configure Device A’s ports that
connect to the PCs as access ports.
{
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. As shown in
, Device A and
Device B need to transmit packets of VLAN 2 and VLAN 3, and you must configure the ports
interconnecting Device A and Device B as trunk ports and assign them to VLAN 2 and VLAN 3.
{
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.
Usually, hybrid ports are configured to connect devices whose support for VLAN
tagged-packets you are uncertain about. As shown in
, Device C connects to a
small-sized LAN in which some PCs belong to VLAN 2 and other PCs belong to VLAN 3.
Configure on Device C the port connecting to the LAN as a hybrid port to allow packets of
VLAN 2 and VLAN 3 to pass through untagged.
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS H3C SecBlade LB Cards H3C SecPath L1000-A Load Balancer