2TRUNK: The TRUNK port can be added in multiple VLANs, and the egress rule of the port is TAG. The TRUNK port is generally used to connect the cascaded network devices for it can receive and forward the packets of multiple VLANs. When the packets are forwarded by the TRUNK port, its VLAN tag will not be changed.

3GENERAL: The GENERAL port can be added in multiple VLANs and set various egress rules according to the different VLANs. The default egress rule is UNTAG. The PVID can be set as the VID number of any VLAN the port belongs to.

¾PVID

PVID (Port Vlan ID) is the default VID of the port. When the switch receives an un-VLAN-tagged packet, it will add a VLAN tag to the packet according to the PVID of its received port and forward the packets.

When creating VLANs, the PVID of each port, indicating the default VLAN to which the port belongs, is an important parameter with the following two purposes:

1When the switch receives an un-VLAN-tagged packet, it will add a VLAN tag to the packet according to the PVID of its received port

2PVID determines the default broadcast domain of the port, i.e. when the port receives UL packets or broadcast packets, the port will broadcast the packets in its default VLAN.

Different packets, tagged or untagged, will be processed in different ways, after being received by ports of different link types, which is illustrated in the following table.

 

 

 

 

 

 

Receiving Packets

 

 

 

 

 

 

 

 

Port Type

 

 

 

 

 

 

 

 

 

 

 

 

Forwarding Packets

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Untagged Packets

 

Tagged Packets

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

If the VID of packet is

 

 

 

 

 

 

 

 

 

 

 

 

 

 

the same as the PVID

 

 

 

 

 

 

 

 

 

 

 

 

 

 

of the port, the packet

 

The

packet

will

be

 

Access

 

 

 

 

 

 

 

will be received.

 

 

 

 

 

 

 

 

 

 

If the VID of packet is

 

forwarded after removing its

 

 

 

 

 

 

 

 

 

 

VLAN tag.

 

 

 

 

 

 

 

 

 

 

 

not the same as the

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PVID of the port, the

 

 

 

 

 

 

 

 

 

When

untagged

 

packet will be dropped.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

packets

 

 

are

 

 

 

 

 

 

 

 

 

 

 

 

 

received,

the

port

 

 

 

 

 

The

packet

will

be

 

Trunk

 

 

will add

the

default

 

 

 

 

 

forwarded with

its current

 

 

 

 

VLAN tag,

i.e.

the

 

 

 

 

 

VLAN tag.

 

 

 

 

 

 

PVID of the ingress

 

If the VID of packet is

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

port, to the packets.

 

allowed by the port, the

 

If the egress rule of port is

 

 

 

 

 

 

 

 

 

packet will be received.

 

TAG, the packet will be

 

 

 

 

 

 

 

 

 

If the VID of packet is

 

forwarded with

its current

 

 

 

 

 

 

 

 

 

forbidden by

the

port,

 

VLAN tag.

 

 

 

General

 

 

 

 

 

 

 

the packet

will

be

 

If the egress rule of port is

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

dropped.

 

 

 

UNTAG, the packet will be

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

forwarded after removing its

 

 

 

 

 

 

 

 

 

 

 

 

 

VLAN tag.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 6-1 Relationship between Port Types and VLAN Packets Processing

50

Page 57
Image 57
TP-Link TL-SG3216 manual ¾ Pvid