Associating a port with a protocol-based vlan, Configuration prerequisites, Configuration procedure – H3C Technologies H3C S3100 Series Switches User Manual
Page 101: Displaying protocol-based vlan configuration

2-10
z
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.
z
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 to avoid that ARP packets and IP packets are not assigned to the
same VLAN, which will cause IP address resolution failure.
z
When you use the mode keyword to configure a user-defined protocol template, if you set the
etype-id argument for ethernetii packets to 0x0800, 0x8137, or 0x809B, the matching packets will
take the same format as that of the IP, IPX, and AppleTalk packets respectively. To prevent two
commands from processing packets of the same protocol type in different ways, the switch will
prompt that you cannot set the etype-id argument for Ethernet II packets to 0x0800, 0x8137, or
0x809B.
Associating a Port with a Protocol-Based VLAN
Configuration prerequisites
z
The protocol template for the protocol-based VLAN is configured.
z
The port is configured as a hybrid port, and the port is configured to remove VLAN tags when it
forwards the packets of the protocol-based VLANs.
Configuration procedure
Follow these steps to associate a port with the protocol-based VLAN:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter port view
interface interface-type
interface-number
—
Associate the port with the
specified protocol-based VLAN
port hybrid protocol-vlan vlan
vlan-id { protocol-index [ to
protocol-index-end ] | all }
Required
By default, a port is not associated
with any protocol-based VLAN.
Displaying Protocol-Based VLAN Configuration
To do...
Use the command...
Remarks
Display the information about the
protocol-based VLAN
display vlan [ vlan-id [ to vlan-id ] | all |
dynamic | static]
Display the protocol information and
protocol indexes configured on the specified
VLAN
display protocol-vlan vlan { vlan-id [ to
vlan-id ] | all }
Available in any
view