Protocol-based vlan configuration example, Network requirements – H3C Technologies H3C S7500E Series Switches User Manual
Page 231
15-23
To do…
Use the command…
Remarks
Associate the hybrid port(s) with the
specified protocol-based VLAN
port hybrid protocol-vlan
vlan
vlan-id
{ protocol-index [ to
protocol-end
] | all }
Required
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.
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, 0x8137, 0x809b, 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.
A protocol-based VLAN on a hybrid port can process only untagged inbound packets, whereas the
voice VLAN in automatic mode on a hybrid port can process only tagged voice traffic. Therefore,
do not configure a VLAN as both a protocol-based VLAN and a voice VLAN. For more information,
refer to
.
After you configure a command on a Layer 2 aggregate interface, the system starts applying the
configuration to the aggregate interface and its aggregation member ports. If the system fails to do
that on the aggregate interface, it stops applying the configuration to the aggregation member
ports. If it fails to do that on an aggregation member port, it simply skips the port and moves to the
next port.
Protocol-Based VLAN Configuration Example
Network requirements
In a lab environment, most hosts run the IPv4 protocol, while the rest of the hosts run the IPv6 protocol
for teaching purpose. To avoid interference, isolate IPv4 traffic and IPv6 traffic at Layer 2.