Configuring Protocol-Based Vlans; Introduction; Configuring A Protocol-Based Vlan - HP 6125XLG Configuration Manual

Blade switch layer 2 lan switching
Table of Contents

Advertisement

Configuring protocol-based VLANs

Introduction

The protocol-based VLAN feature assigns inbound packets to different VLANs based on their protocol
types and encapsulation formats. The protocols available for VLAN assignment include IP, IPX, and AT.
The encapsulation formats include Ethernet II, 802.3 raw, 802.2 LLC, and 802.2 SNAP.
A protocol template defines a protocol type and an encapsulation format. A protocol-based VLAN ID
and a protocol index combined uniquely identify a protocol template. You can assign multiple protocol
templates to a protocol-based VLAN.
This feature is available only on hybrid ports and processes only untagged packets. When an untagged
packet arrives at a port, the port processes the packet as follows:
If the protocol type and encapsulation format in the packet matches a protocol template, the port
tags the packet with the VLAN tag specific to the protocol template.
If no protocol template is matched, the port tags the packet with the PVID.
The port processes a tagged packet in the same way it processes tagged packets of a port-based VLAN:
If the port is in the same VLAN as the packet, it forwards the packet.
If the port is not in the same VLAN as the packet, it drops the packet.

Configuring a protocol-based VLAN

Step
1.
Enter system view.
2.
Enter VLAN view.
3.
Create a protocol template
for the VLAN.
4.
Exit VLAN view.
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
142
Remarks
N/A
If the specified VLAN does not exist, this
command first creates the VLAN and
enters VLAN view of this VLAN.
By default, no protocol template is
configured for a VLAN.
N/A

Advertisement

Table of Contents
loading

Table of Contents