HP FlexNetwork 5130 HI series Command Reference Manual page 204

Layer 2 - lan switching
Table of Contents

Advertisement

mode: Configures a user-defined protocol template for the VLAN. The keywords ethernetii, llc, and
snap specify the available encapsulation formats.
ethernetii etype etype-id: Matches the Ethernet II encapsulation format and the specified protocol
type ID. The etype-id argument specifies the protocol type ID of inbound packets, in the range of
0x0600 to 0xFFFF, excluding 0x0800, 0x809B, 0x8137, and 0x86DD.
llc: Matches the LLC encapsulation format.
dsap dsap-id: Specifies the destination service access point in the range of 0x00 to 0xFF.
ssap ssap-id: Specifies the source service access point in the range of 0x00 to 0xFF.
snap etype etype-id: Matches the SNAP encapsulation format and the specified protocol type value.
The etype-id argument specifies the Ethernet type of inbound packets, in the range of 0x0600 to
0xFFFF, excluding 0x8137.
protocol-index: Specifies a protocol template index in the range of 0 to 65535. The system will
automatically assign an index if you do not specify this argument.
to protocol-end: Specifies an end protocol template index of a protocol template range, in the range
of 0 to 65535. The value of the protocol-end argument must be greater than or equal to the value of
protocol-index argument.
all: Removes all the protocols associated with the VLAN.
Usage guidelines
CAUTION:
IP uses ARP for address resolution in Ethernet. To prevent communication failures, configure the IP
and ARP templates in the same VLAN and associate them with the same port.
When you use the mode keyword to configure a protocol template, follow these restrictions and
guidelines:
Do not configure the following values for the etype-id argument in the ethernetii etype etype-id
option:
0x0800—Specifies the IPv4 protocol in Ethernet II encapsulation.
0x809B—Specifies the AppleTalk protocol in Ethernet II encapsulation.
0x8137—Specifies the IPX protocol in Ethernet II encapsulation.
0x86DD—Specifies the IPv6 protocol in Ethernet II encapsulation.
These values conflict with the ipv4, at, ipx, and ipv6 keywords of the command, respectively.
Do not configure any of the following values for both the dsap-id and ssap-id arguments when
you specify the llc keyword:
0xE0—Specifies the 802.2 LLC encapsulation format for IPX packets.
0xFF—Specifies the 802.3 raw encapsulation format for IPX packets.
0xAA—Specifies the 802.2 SNAP encapsulation format.
When either of the dsap-id and ssap-id arguments is configured, the system assigns 0xAA to
the other argument.
Do not set the etype-id argument in the snap etype etype-id option to 0x8137. You can set the
etype-id argument to 0x0800, 0x809B, or 0x86DD, which are corresponding to IPv4, AppleTalk,
and IPv6, respectively.
Examples
# Assign ARP packets in Ethernet II encapsulation and IPv4 packets to VLAN 3 for transmission.
(The protocol type ID for ARP is 0x0806.)
<Sysname> system-view
[Sysname] vlan 3
[Sysname-vlan3] protocol-vlan 2 mode ethernetii etype 0806
196

Advertisement

Table of Contents
loading

Table of Contents