beautypg.com

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

Page 118

background image

2-8

To do...

Use the command...

Remarks

Configure the protocol
template for the VLAN

protocol-vlan [ protocol-index ] { at | ip |
ipx { ethernetii | llc | raw | snap } | mode
{ ethernetii etype etype-id | llc dsap
dsap-id ssap ssap-id | snap etype
etype-id } }

Required

By default, no protocol
template is configured
for the VLAN.

When configuring a protocol template for a protocol-based VLAN, use the at, ip or ipx keyword to

configure a standard template to match AppleTalk, IP, and IPX packets respectively, and use the mode

keyword to configure a user-defined template.

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, 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

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.

This manual is related to the following products: