136• When you use the mode keyword to configure a user-defined protocol template, do not set etype-idin ethernetii etype etype-id to 0x0800, 0x8137, 0x809b, or 0x86dd. Otherwise, the encapsulationformat of the matching packets will be the same as that of the IPv4, IPX, AppleTalk, and IPv6 packets,respectively.• A protocol-based VLAN processes only untagged inbound packets, whereas the voice VLAN inautomatic mode processes only tagged voice traffic. Do not configure a VLAN as both aprotocol-based VLAN and a voice VLAN. For more information, see "Configuring a voice VLAN."Configuration procedureTo configure a protocol-based VLAN:Step Command Remarks1. Enter system view. system-view N/A2. Enter VLAN view. vlan vlan-id If the specified VLAN does not exist, thiscommand creates the VLAN first.3. Create a protocoltemplate for theVLAN.protocol-vlan [ protocol-index ] { at| ipv4 | ipv6 | ipx { ethernetii | llc| raw | snap } | mode { ethernetiietype etype-id | llc { dsap dsap-id[ ssap ssap-id ] | ssap ssap-id } |snap etype etype-id } }Not configured by default.4. Exit VLAN view. quit N/A5. Enter interfaceview or port groupview.• Enter Layer 2 Ethernet interfaceview:interface interface-typeinterface-number• Enter Layer 2 aggregateinterface view:interface bridge-aggregationinterface-number• Enter port group view:port-group manualport-group-nameUse any command.• The configuration made in Ethernetinterface view applies only to the port.• The configuration made in port groupview applies to all ports in the port group.• The configuration made in Layer 2aggregate interface view applies to theaggregate interface and its aggregationmember ports. If the system fails to applythe configuration to the aggregateinterface, it stops applying theconfiguration to aggregation memberports. If the system fails to apply theconfiguration to an aggregation memberport, it skips the port and moves to thenext member port.6. Configure the portlink type as hybrid. port link-type hybrid By default, all ports are access ports.7. Assign the hybridport to thespecifiedprotocol-basedVLANs.port hybrid vlan vlan-list { tagged |untagged } By default, a hybrid port is only in VLAN 1.8. Assign the protocoltemplate you havecreated to thehybrid port.port hybrid protocol-vlan vlanvlan-id { protocol-index [ toprotocol-end ] | all }N/A