3Com Switch 7750 Configuration Guide Guide
Configuring a Protocol-Based VLAN 93
When you are creating protocol templates for protocol-based VLANs, the at, ip
and ipx keywords are used to create standard templates, and the mode keyword
is used to create user-defined templates.
c
CAUTION: In a VLAN, it is not allowed to configure two templates with the same
protocol type and encapsulation format. If any parameter in a user-defined
template has the same value as the corresponding parameter in the standard
template, the user-defined template and the standard template cannot be
configured 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 LLC
user-defined template whose dsap-id and ssap-id are both 0xe0 in the same
VLAN.
■ It is not allowed to configure both ipx raw standard template and LLC
user-defined template whose dsap and ssap are both ff in the same VLAN.
■ It is not allowed to configure both ipx ethernetii standard template and
EthernetII user-defined template whose etype is 8137 in the same VLAN.
■ It is not allowed to configure both ipx snap standard template and SNAP
user-defined template whose etype is 8137 in the same VLAN.
■ When the values of the dsap-id and ssap-id arguments are AA, the packet
encapsulation type is not llc but snap. To avoid template conflict, the system
disable the value AA for the dsap-id and ssap-id arguments when you
configure 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 other
protocol, Ipv4-based VLAN takes higher priority.
■ ip [ ip-address [ net-mask ] ] defines IPv4-based VLAN. If you want to define the
VLANs based on IP or other encapsulation formats, use mode { ethernetii [
etype etype-id ] } and snap [ etype etype-id ], in which, etype-id is 0x0800.
Associating a Port with
the Protocol-Based VLAN
Configuration prerequisites
■ The protocol template for the protocol-based VLAN is created
■ The port is configured as a hybrid port, and the port is configured to remove
VLAN tags when it forwards the packets of the protocol-based VLANs.
Create the protocol template
for the VLAN
protocol-vlan [
protocol-index ] { at | ip [
ip-address [ net-mask ] ] | ipx {
ethernetii | llc | raw | snap } |
mode { ethernetii [etype
etype-id] | llc { dsap dsap-id [
ssap ssap-id] | ssap ssap-id } |
snap [etype etype-id] }}
Required
Table 44 Create protocol types of VLANs
Operation Command Description