Operation Manual – VLAN
H3C S3100 Series Ethernet Switches
Chapter 1 VLAN Overview
1-7
Table 1-2
Packet processing of a trunk port
Processing of an incoming packet
For an untagged packet
For a tagged packet
Processing of an
outgoing packet
z
If the port has already
been added to its default
VLAN, tag the packet
with the default VLAN
tag and then forward the
packet.
z
If the port has not been
added to its default
VLAN, discard the
packet.
z
If the VLAN ID is one of
the VLAN IDs allowed
to pass through the
port, receive the
packet.
z
If the VLAN ID is not
one of the VLAN IDs
allowed to pass
through the port,
discard the packet.
z
If the VLAN ID is just
the default VLAN ID,
strip off the tag and
send the packet.
z
If the VLAN ID is not
the default VLAN ID,
keep the original tag
unchanged and
send the packet.
Table 1-3
Packet processing of a hybrid port
Processing of an incoming packet
For an untagged packet
For a tagged packet
Processing of an
outgoing packet
z
If the port has already
been added to its
default VLAN, tag the
packet with the default
VLAN tag and then
forward the packet.
z
If the port has not
been added to its
default VLAN, discard
the packet.
z
If the VLAN ID is one
of the VLAN IDs
allowed to pass
through the port,
receive the packet.
z
If the VLAN ID is not
one of the VLAN IDs
allowed to pass
through the port,
discard the packet.
Send the packet if the
VLAN ID is allowed to pass
through the port. Use the
port hybrid vlan
command to configure
whether the port keeps or
strips off the tags when
sending packets of a VLAN
(including the default
VLAN).
1.3 Protocol-Based VLAN
Note:
The contents of this section are only applicable to the S3100-EI series among S3100
series switches.
1.3.1 Introduction to Protocol-Based VLAN
Protocol-based VLAN is also known as protocol VLAN, which is another way to classify
VLANs. Through the protocol-based VLANs, the switch can analyze the received
packets carrying no VLAN tag on the port and match the packets with the user-defined
protocol template automatically according to different encapsulation formats and the