Protocol-Based Vlan Configuration; Introduction To Protocol-Based Vlan; Configuring A Protocol-Based Vlan - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

Protocol-Based VLAN Configuration

Introduction to Protocol-Based VLAN

Protocol-based VLANs are only applicable on hybrid ports.
In this approach, inbound packets are assigned to different VLANs based on their protocol types and
encapsulation formats. The protocols that can be used for VLAN assignment include IP, IPX, and
AppleTalk (AT). The encapsulation formats include Ethernet II, 802.3 raw, 802.2 LLC, and 802.2 SNAP.
A protocol-based VLAN is defined by a protocol template comprised of encapsulation format and
protocol type. A port can be associated with multiple protocol templates. An untagged packet reaching a
port associated with protocol-based VLANs will be processed as follows.
If the packet matches a protocol template, the packet will be tagged with the VLAN tag
corresponding to the protocol template.
If the packet matches no protocol template, the packet will be tagged with the default VLAN ID of
the port.
The port processes a tagged packet as it processes tagged packets of a port-based VLAN.
If the port permits the VLAN ID of the packet to pass through, the port forwards the packet.
If the port does not permit the VLAN ID of the packet to pass through, the port drops the packet.
This feature is mainly used to assign packets of the specific service type to a specific VLAN.

Configuring a Protocol-Based VLAN

Follow these steps to configure a protocol-based VLAN:
To do...
Enter system view
Enter VLAN view
Create a protocol template for the
VLAN
Exit VLAN view
Enter interface
view or port
Use the command...
system-view
vlan vlan-id
protocol-vlan
[ protocol-index ] { at | ipv4 |
ipv6 | ipx { ethernetii | llc |
raw | snap } | mode
{ ethernetii etype etype-id |
llc { dsap dsap-id [ ssap
ssap-id ] | ssap ssap-id } |
snap etype etype-id } }
quit
Enter Ethernet
interface interface-type
interface view
interface-number
1-12
Remarks
Required
If the specified VLAN does
not exist, this command
creates the VLAN first.
Required
Required
Required

Advertisement

Chapters

Table of Contents
loading

Table of Contents