Protocol-Vlan - HP A5830 Series Command Reference Manual

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

Advertisement

# Associate the hybrid Layer 2 aggregate interface Bridge-Aggregation 1 with protocol 0 in VLAN 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] protocol-vlan ipv4
[Sysname-vlan2] quit
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port link-type hybrid
[Sysname-Bridge-Aggregation1] port hybrid vlan 2 untagged
Please wait... Done
Configuring GigabitEthernet1/0/1... Done.
Configuring GigabitEthernet1/0/2... Done.
Configuring GigabitEthernet1/0/3... Done.
[Sysname-Bridge-Aggregation1] port hybrid protocol-vlan vlan 2 0
The output shows that GigabitEthernet 1/0/1, GigabitEthernet 1/0/2, and GigabitEthernet 1/0/3 are
the member ports of the aggregation group corresponding to Bridge-Aggregation 1.

protocol-vlan

Description
Use the protocol-vlan command to configure the VLAN as a protocol based VLAN and configure the
protocol template for the VLAN.
Use the undo protocol-vlan command to remove the configured protocol template.
By default, no VLAN is bound to any protocol template.
When you use the mode parameter to configure a user-defined protocol template, do not set etype-id in
ethernetii etype etype-id to 0x0800, 0x809B, 0x8137, or 0x86DD. Otherwise, the encapsulation format
of the matching packets will be the same as that of the IPv4, AppleTalk, IPX, and IPv6 packets,
respectively.
Do not configure both the dsap-id and ssap-id parameters in the protocol-vlan command as 0xE0 or 0xFF
when configuring the user-defined template for llc encapsulation. Otherwise, the encapsulation format of
the matching packets will be the same as that of the ipx llc or ipx raw packets, respectively. When either
of the dsap-id and ssap-id parameters is configured, the system assigns 0XAA to the other parameter.
When you use the mode parameter to configure a user-defined protocol template, do not set etype-id in
snap etype etype-id to 0x8137. Otherwise, the template format will be the same as that of the IPX
protocol. You can set etype-id to 0x0800, 0x809B, or 0x86DD, corresponding to IPv4, AppleTalk, and
IPv6, respectively.
Related commands: display protocol-vlan vlan.
Syntax
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 } }
undo protocol-vlan { protocol-index [ to protocol-end ] | all }
View
VLAN view
173

Advertisement

Table of Contents
loading

Table of Contents