H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – VLAN
H3C S7500 Series Ethernet Switches Chapter 2
VLAN Configuration
2-8
2.3.2 Associating a Port with the Protocol-Based VLAN
I. Configuration prerequisites
z The protocol template for the protocol-based VLAN is created
z The port is configured as a Hybrid port, and the port is configured to remove VLAN
tags when it forwards the packets of the protocol-based VLANs.
II. Configuration procedure
Follow these steps to associate a port with the protocol-based VLAN:
To do… Use the command… Remarks
Enter system view
system-view
Enter port view
interface interface-type
interface-number
Required
Associate a port with the
protocol-based VLAN
port hybrid protocol-vlan vlan
vlan-id { protocol-index [ to
protocol-end ] | all }
Required
Caution:
z For the operation of adding a port to the VLAN in the untag way, refer to the Port
Basic Configuration part of this manual.
z For the same VLAN, it is not allowed to configure the same protocol type and
encapsulation format. Between different VLANs, the same protocol type and
encapsulation format can be configured, but cannot be distributed to the same port.
Even the user-defined template and standard template with the same encapsulation
format cannot be distributed to the same port.
z If protocol has been distributed to a VLAN, the VLAN cannot be removed.
z If a protocol of a VLAN has been distributed to a port, the port cannot be removed
from the VLAN.
z If a protocol of a VLAN has been distributed to a port, the protocol cannot be
removed from the VLAN.
2.3.3 Associating a Card with the Protocol-Based VLAN
Follow these steps to create protocol-based VLAN on specific card: