3Com Switch 7750 Series
Command Reference Guide – VLAN Commands
Chapter 1 VLAN Configuration Commands
1-18
protocol-end
:
End protocol index, ranging from 0 to 6. Note that its value must be larger
than or equal to the value of the
protocol-index
argument.
all
:
Specifies all protocol indices.
Description
Use the
protocol-vlan
command to configure the protocol template used for
classifying protocol-based VLANs.
Use the
undo protocol-vlan
command to cancel the configuration.
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:
z
It is not allowed to configure both ipx llc standard template and LLC user-defined
template in the same VLAN.
z
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.
z
It is not allowed to configure both ipx ethernetii standard template and EthernetII
user-defined template whose etype is 8137 in the same VLAN.
z
It is not allowed to configure both ipx snap standard template and SNAP
user-defined template whose etype is 8137 in the same VLAN.
z
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:
z
If a packet can match both Ipv4-based VLAN and the VLAN based on other protocol,
Ipv4-based VLAN takes higher priority.
z
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.
Related command:
display protocol-vlan vlan
.
Example
# Configure VLAN 3 as a VLAN based on all IP packets.