100 CHAPTER 11: VLAN C ONFIGURATIONConfiguring aProtocol-Based VLANCreating ProtocolTemplate forProtocol-Based VLANConfiguration prerequisitesCreate a VLAN before configuring a protocol-based VLAN.Configuration procedureWhen you are creating protocol templates for protocol-based VLANs, the at, ipand ipx keywords are used to create standard templates, and the mode keywordis used to create user-defined templates.c CAUTION: In a VLAN, it is not allowed to configure two templates with the sameprotocol type and encapsulation format. If any parameter in a user-definedtemplate has the same value as the corresponding parameter in the standardtemplate, the user-defined template and the standard template cannot beconfigured in the same VLAN.Pay attention to the following notices about the template configuration■ It is not allowed to configure both ipx llc standard template and LLCuser-defined template whose dsap-id and ssap-id are both 0xe0 in the sameVLAN.■ It is not allowed to configure both ipx raw standard template and LLCuser-defined template whose dsap and ssap are both ff in the same VLAN.■ It is not allowed to configure both ipx ethernetii standard template andEthernetII user-defined template whose etype is 8137 in the same VLAN.■ It is not allowed to configure both ipx snap standard template and SNAPuser-defined template whose etype is 8137 in the same VLAN.■ When the values of the dsap-id and ssap-id arguments are AA, the packetencapsulation type is not llc but snap. To avoid template conflict, the systemdisable the value AA for the dsap-id and ssap-id arguments when youconfigure LLC user-defined template.In addition, pay attention to the following notices about IP template■ If a packet can match both Ipv4-based VLAN and the VLAN based on otherprotocol, Ipv4-based VLAN takes higher priority.Table 52 Create protocol types of VLANsOperation Command DescriptionEnter system view system-view -Enter VLAN view vlan vlan-id RequiredCreate the protocol templatefor the VLANprotocol-vlan[ protocol-index ] { at | ip[ ip-address [ net-mask ] ] |ipx { ethernetii | llc | raw |snap } | mode { ethernetii[etype etype-id] | llc { dsapdsap-id [ ssap ssap-id] | ssapssap-id } | snap [etypeetype-id] }}Required