Associating A Port With A Protocol-Based Vlan - H3C S5100-SI Operation Manual

Ethernet switches
Hide thumbs Also See for H3C S5100-SI:
Table of Contents

Advertisement

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.
If you specify some special values for both the dsap-id and ssap-id arguments when configuring
the user-defined template for IIc encapsulation, the matching packets will take the same
encapsulation format as some standard type of packets. For example, when both dsap-id and
ssap-id have a value of 0xFF, the encapsulation format will be the same as that of ipx raw packets;
if they both have a value of 0xE0, the packet encapsulation format will be the same as that of ipx llc
packets; if they both have a value of 0xAA, the packet encapsulation format will be the same as that
of snap packets. To prevent two commands from processing packets of the same protocol type in
different ways, the system does not allow you to set both the dsap-id and ssap-id arguments to
0xFF, 0xE0, or 0xAA.
When you use the mode keyword to configure a user-defined protocol template, if you set the
etype-id argument for ethernetii or snap 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 or snap packets to
0x0800, 0x8137, or 0x809B.

Associating a Port with a Protocol-Based VLAN

Configuration prerequisites
The protocol template for the protocol-based VLAN is configured.
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...
Enter system view
Enter port view
Associate the port with the
specified protocol-based
VLAN
Use the command...
system-view
interface interface-type
interface-number
port hybrid protocol-vlan vlan
vlan-id { protocol-index [ to
protocol-index-end ] | all }
2-8
Remarks
Required
By default, a port is not
associated with any
protocol-based VLAN.

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents