z

z

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.

If you specify some special values for both the dsap-idand ssap-idarguments 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-idand ssap-idhave 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-idand ssap-idarguments to 0xFF, 0xE0, or 0xAA.

When you use the mode keyword to configure a user-defined protocol template, if you set the etype-idargument 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-idargument for Ethernet II or snap packets to 0x0800, 0x089B, or 0x8137.

Associating a Port with a Protocol-Based VLAN

Configuration prerequisites

z

z

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…

Use the command…

Remarks

Enter system view

system-view

 

 

 

Enter port view

interface interface-type

interface-number

 

 

 

 

 

 

port hybrid protocol-vlan

Required

Associate the port with the

By default, a port is not

vlan vlan-id { protocol-index

specified protocol-based VLAN

associated with any

[ to protocol-index-end ] all }

 

protocol-based VLAN.

 

 

 

 

 

2-6

Page 75
Image 75
3Com WX3000 operation manual Associating a Port with a Protocol-Based Vlan, Interface interface-type Interface-number