Port-based vlan, Link types of ethernet ports, Assigning an ethernet port to specified vlans – H3C Technologies H3C S3100 Series Switches User Manual

Page 87

Advertising
background image

1-5

Port-Based VLAN

Port-based VLAN technology introduces the simplest way to classify VLANs. You can assign the ports

on the device to different VLANs. Thus packets received on a port will be transmitted through the

corresponding VLAN only, so as to isolate hosts to different broadcast domains and divide them into

different virtual workgroups.

Ports on Ethernet switches have the three link types: access, trunk, and hybrid. For the three types of

ports, the process of being added into a VLAN and the way of forwarding packets are different.

Port-based VLANs are easy to implement and manage and applicable to hosts with relatively fixed

positions.

Link Types of Ethernet Ports

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

VLAN tag handling methods. When configuring the link type of a port, note that:

z

An access port can belong to only one VLAN. Usually, ports directly connected to PCs are

configured as access ports.

z

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

default VLAN, traffic passes through a trunk port will be VLAN tagged. Usually, ports connecting

network devices are configured as trunk ports to allow members of the same VLAN to

communicate with each other across multiple network devices.

z

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. You can

configure a port connected to a network device or user terminal as a hybrid port for access link

connectivity or trunk connectivity.

A hybrid port allows the packets of multiple VLANs to be sent untagged, but a trunk port only allows the

packets of the default VLAN to be sent untagged.

The three types of ports can coexist on the same device.

Assigning an Ethernet Port to Specified VLANs

You can assign an Ethernet port to a VLAN to forward packets for the VLAN, thus allowing the VLAN on

the current switch to communicate with the same VLAN on the peer switch.

An access port can be assigned to only one VLAN, while a hybrid or trunk port can be assigned to

multiple VLANs.

Advertising