Protocol-Based Vlan Configuration; Introduction To Protocol-Based Vlan - HP A6600 Configuration Manual

Layer 2 - lan switching
Hide thumbs Also See for A6600:
Table of Contents

Advertisement

[RouterB-GigabitEthernet4/1/4] port trunk permit vlan 100 200
[RouterB-GigabitEthernet4/1/4] quit
Configuration on Router C
3.
Configure Router C as you configure Router A.
Verification
Laptop 1 can access Server 1 only, and Laptop 2 can access Server 2 only.
1.
On Router A and Router C, you can see that VLAN 100 is associated with the MAC address of
2.
Laptop 1, and VLAN 200 is associated with the MAC address of Laptop 2.
[RouterA] display mac-vlan all
The following MAC VLAN addresses exist:
S:Static
MAC ADDR
--------------------------------------------------------
000d-88f8-4e71
0014-222c-aa69
Total MAC VLAN address count:2
Configuration guidelines
MAC-based VLAN can be configured only on hybrid ports.
1.
MAC-based VLAN is usually configured on the downlink ports of access layer devices, and cannot
2.
be configured together with the link aggregation function.

Protocol-based VLAN configuration

Introduction to protocol-based VLAN

Protocol-based VLAN configuration applies to hybrid ports only.
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 AT. The
encapsulation formats include Ethernet II, 802.3 raw, 802.2 LLC, and 802.2 SNAP.
A protocol type and an encapsulation format comprise a protocol template. Create multiple protocol
templates for a protocol-based VLAN, and different protocol templates are assigned different
protocol-index values. A protocol template can be uniquely identified by a protocol-based VLAN ID and a
protocol index combined. When you use commands to associate protocol templates with ports, use
protocol-based vlan-id + protocol index to specify the protocol templates. An untagged packet reaching a
port associated with protocol templates is processed by using the following workflow:
If the protocol type and encapsulation format carried in the packet matches a protocol template, the
packet is tagged with the VLAN tag corresponding to the protocol template.
If the packet matches no protocol templates, the packet is 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 is assigned to the VLAN corresponding to the VLAN tag carried in the packet, it forwards
the packet.
D:Dynamic
MASK
ffff-ffff-ffff
ffff-ffff-ffff
VLAN ID
PRIO
STATE
100
0
S
200
0
S
102

Advertisement

Table of Contents
loading

Table of Contents