Protocol-Vlan - HP FlexNetwork 5130 HI series Command Reference Manual

Layer 2 - lan switching
Table of Contents

Advertisement

If you specify only the all keyword, this command disassociates the port from all protocol
templates of all VLANs.
Examples
# Associate the hybrid port GigabitEthernet 1/0/1 with protocol template 1 (IPv4) in VLAN 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] protocol-vlan 1 ipv4
[Sysname-vlan2] quit
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port link-type hybrid
[Sysname-GigabitEthernet1/0/1] port hybrid vlan 2 untagged
[Sysname-GigabitEthernet1/0/1] port hybrid protocol-vlan vlan 2 1
# Associate the hybrid Layer 2 aggregate interface Bridge-Aggregation 1 with protocol template 1
(IPv4) in VLAN 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] protocol-vlan 1 ipv4
[Sysname-vlan2] quit
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port link-type hybrid
[Sysname-Bridge-Aggregation1] port hybrid vlan 2 untagged
[Sysname-Bridge-Aggregation1] port hybrid protocol-vlan vlan 2 1

protocol-vlan

Use protocol-vlan to configure a VLAN as a protocol-based VLAN and configure the protocol
template for the VLAN.
Use undo protocol-vlan to remove the protocol templates configured for the VLAN.
Syntax
protocol-vlan [ protocol-index ] { at | ipv4 | ipv6 | ipx { ethernetii | llc | 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 }
Default
A VLAN is not associated with any protocol templates.
Views
VLAN view
Predefined user roles
network-admin
Parameters
at: Specifies the AppleTalk-based VLAN.
ipv4: Specifies the IPv4-based VLAN.
ipv6: Specifies the IPv6-based VLAN.
ipx: Specifies the IPX-based VLAN. The keywords ethernetii, llc, and snap specify IPX
encapsulation formats.
195

Advertisement

Table of Contents
loading

Table of Contents