Command Manual (For Soliton) – VLAN
H3C S3100 Series Ethernet Switches
Chapter 1 VLAN Configuration Commands
1-26
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
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.
[Sysname-vlan3] protocol-vlan mode ethernetii etype 0806