Command Manual - VLAN
Quidway S3500 Series Ethernet Switches Chapter 1 VLAN Configuration Commands
Huawei Technologies Proprietary
1-10
Protocol-Index Protocol-Type
1 IP 101.120.34.0/24
2 IP 104.232.43.0/24
3 IPX ETH II
4 AT
VLAN ID: 15
VLAN Type: Protocol-based VLAN
Protocol-Index Protocol-Type
1 ip 192.168.10.1 255.255.255.0
2 mode snap etype 0x0abc
……..
1.2.3 port hybrid protocol-vlan vlan
Syntax
port hybrid protocol-vlan vlan vlan-id { protocol_index [ to protocol_end ] | all }
undo port hybrid protocol-vlan vlan vlan-id { protocol_index [ to protocol_end ] | all }
View
Ethernet port view
Parameter
vlan-id: ID of the VLAN which a protocol is added to or deleted from.
protocol_index: Value of the protocol index, ranging from 0 to 6. It must be smaller than
protocol_end.
protocol_end: End value of the protocol index, ranging form 0 to 6.
all: All protocols.
Description
Using the port hybrid protocol-vlan vlan command, you can associate a
protocol-based VLAN with the specified port. Using the undo port hybrid
protocol-vlan vlan command, you can delete the association between the port and the
protocol-based VLAN.
Note that only the Hybrid port supports this feature at present. The port must belong to
the VLAN before you associate it with the protocol-based VLAN. Otherwise, it cannot
be associated with the VLAN.
For the related commands, see display protocol-vlan interface.
Example
# Associate Ethernet0/1 with protocols 0 to 6 in VLAN 3
[Quidway-Ethernet0/1] port hybrid protocol-vlan vlan 3 0 to 6