3Com S7902E Command Reference Manual - page 219
1-27
z
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 either of the
dsap-id
and
ssap-id
arguments is configured, the system
assigns
aa
to the other argument.
z
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.
Description
Use the
protocol-vlan
command to configure the VLAN as a protocol based VLAN and configure the
protocol template for the VLAN.
Use the
undo protocol-vlan
command to remove the configured protocol template.
By default, no VLAN is bound with any protocol template.
Related commands:
display protocol-vlan vlan
.
Do not configure a VLAN as both a protocol-based VLAN and a voice VLAN.
Examples
# Configure VLAN 3 as an IPv4 based VLAN.
[Sysname] vlan 3
[Sysname-vlan3] protocol-vlan ipv4
Because IP depends on ARP for address resolution in Ethernet, you are recommended to configure the
IP and ARP templates in the same VLAN and associate them with the same port to prevent
communication failure.
# Create an ARP protocol template for VLAN 3 (ARP code is 0x0806) to make VLAN 3 transmit ARP
packets.
z
To use Ethernet encapsulation, use the command:
[Sysname-vlan3] protocol-vlan mode ethernetii etype 0806