Operation Manual – VLAN
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 VLAN Configuration
1-13
To do…
Use the command…
Remarks
Allow the packets of
protocol-based VLANs to
pass through the current
Hybrid port in untagged
way (with the tags of the
packets stripped)
port hybrid
vlan
vlan-id-list untagged
Required
Configure the
association between the
Hybrid port and the
protocol-based VLAN
port hybrid
protocol-vlan
vlan
vlan-id
{
protocol-index
[
to
protocol-end
] |
all
}
Required
Caution:
z
Do not configure both the
dsap-id
and
ssap-id
arguments in the
protocol-vlan
command as 0xe0 or 0xff when configuring the user-defined template for
llc
encapsulation. Otherwise, the encapsulation format of the matching packets will be
the same as that of the
ipx llc
or
ipx raw
packets respectively.
z
When you use the
mode
keyword to configure a user-defined protocol template, do
not set
etype-id
in
ethernetii etype
etype-id
to 0x0800, 0x809b, 0x8137, or 0x86dd.
Otherwise, the encapsulation format of the matching packets will be the same as
that of the IPv4, IPX, AppleTalk, and IPv6 packets respectively.
z
Do not configure a VLAN as both a protocol-based VLAN and a voice VLAN.
Because a protocol-based VLAN requires that the inbound packets on the Hybrid
port are untagged packets, whereas the Hybrid port working in auto voice VLAN
mode only supports to process tagged voice traffic. For more information, refer to
1.6 Configuring IP-Subnet-Based VLAN
1.6.1 Introduction
In this approach, VLANs are categorized based on the source IP addresses and the
subnet masks of packets. After receiving an untagged packet from a port, the device
identifies the VLAN the packet belongs to based on the source address contained in the
packet, and then forwards the packet in the VLAN. This allows packets from a certain
network segment or with certain IP addresses to be forwarded in a specified VLAN.
1.6.2 Configuring an IP-Subnet-Based VLAN