H3C s3100 series Command Manual page 82

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

At present, the S3100 series support only the standard templates of AppleTalk and IP, the standard
template of IPX encapsulated in Ethernet II format, and the user-defined templates matching the
Ethernet II encapsulation format. Protocol templates matching 802.2/802.3 encapsulation formats
and their extended encapsulation formats are not supported on the S3100 series currently.
When you use the mode keyword to configure a user-defined protocol template, if you set the
etype-id argument for Ethernet II or SNAP packets to 0x0800, 0x8137, or 0x809B, the matching
packets will have the same format as that of IP, IPX, and AppleTalk packets respectively. To
prevent two commands from processing packets of the same matching conditions in different ways,
the switch will prompt that you cannot set the etype-id argument for Ethernet II or SNAP packets to
0x0800, 0x8137, or 0x809B.
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.
By default, no protocol template is configured.
Related commands: display protocol-vlan vlan.
Examples
# Configure VLAN 3 as a protocol-based VLAN and assign IP packets to VLAN 3 for transmission.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] vlan 3
[Sysname-vlan3] protocol-vlan ip
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.
[Sysname-vlan3] protocol-vlan mode ethernetii etype 0806
1-22

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents