Huawei Quidway S3900 series Command Manual page 80

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – VLAN
Quidway S3900 Series Ethernet Switches-Release 1510
Note:
When you use the mode keyword to configure protocol-based VLANs, if you set the
etype arguments of Ethernet II or SNAP packets to 0x0800, 0x089b, and 0x8137, the
matched packets have the same format as that of IP, IPX, and Appletalk packets
respectively. In order that two commands do not configure the same protocol
repetitively, the switch will prompt you that you cannot specify the etype arguments of
Ethernet II and SNAP packets to 0x0800, 0x089b, and 0x8137.
Description
Use the protocol-vlan command to configure the protocol template used for
classifying protocol-based VLANs.
Use the undo protocol-vlan command to disable the configuration.
Related command: display protocol-vlan vlan.
Example
# Configure VLAN 3 as a protocol-based VLAN and assign IP packets to VLAN 3 for
transmission.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] vlan 3
[Quidway-vlan3] protocol-vlan ip
Caution:
Because the IP protocol is closely associated with the ARP protocol, you are
recommended to configure the ARP protocol type when configuring the IP protocol type
and associate the two protocol types with the same port, in case that ARP packets and
IP packets are not assigned to the same VLAN, which will cause IP address resolution
failure.
# Configure an ARP protocol template. The code for the ARP protocol is 0x0806.
Perform the following command when Ethernet encapsulation is used.
[Quidway-vlan3] protocol-vlan mode ethernetii etype 0806
Perform the following configuration when 802.3 encapsulation format is used.
[Quidway-vlan3] protocol-vlan mode snap etype 0806
Huawei Technologies Proprietary
1-14
Chapter 1 VLAN Configuration Commands

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents