Associating a port with a protocol-based vlan, Configuration prerequisites, Configuration procedure – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 87: Associating a port with a protocol-based vlan -6

Advertising
background image

11-6

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

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.

z

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, 0x809B, or 0x8137, 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, 0x089B, or 0x8137.

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.

Advertising