HP A5830 Series Command Reference Manual page 181

Layer 2 - lan switching
Hide thumbs Also See for A5830 Series:
Table of Contents

Advertisement

Default level
2: System level
Parameters
at: Specifies the AppleTalk based VLAN.
ipv4: Specifies the IPv4 based VLAN.
ipv6: Specifies the IPv6 based VLAN.
ipx: Specifies the IPX based VLAN. The parameters ethernetii, llc, raw, and snap are encapsulation
formats for IPX.
mode: Configures a user-defined protocol template for the VLAN, which could also have the following
encapsulation formats: ethernetii, llc, and snap.
ethernetii etype etype-id: Matches Ethernet II encapsulation format and the corresponding protocol type
values. The etype-id parameter is 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 SNAP encapsulation format and the corresponding protocol type values.
The etype-id parameter is 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 15. The system will automatically
assign an index if this parameter is not specified.
to protocol-end: Specifies the end protocol index, in the range of 0 to 15. The protocol-end parameter
must be greater than or equal to the protocol-index parameter.
all: Removes all the protocols bound to the VLAN.
Examples
# Configure VLAN 3 as an IPv4 based VLAN.
<Sysname> system-view
[Sysname] vlan 3
[Sysname-vlan3] protocol-vlan ipv4
CAUTION:
IP uses ARP for address resolution in Ethernet. To prevent communication failure, configure the
IP and ARP templates in the same VLAN and associate them with the same port.
# Create an ARP protocol template for VLAN 3 (ARP code is 0x0806) to make VLAN 3 transmit ARP
packets.
To use Ethernet encapsulation, use this command:
[Sysname-vlan3] protocol-vlan mode ethernetii etype 0806
To use 802.3 encapsulation, use this command:
[Sysname-vlan3] protocol-vlan mode snap etype 0806
174

Advertisement

Table of Contents
loading

Table of Contents