The port hybrid tagged vlan command adds a Hybrid interface to specified VLANs. Frames of the VLANs can pass through the Hybrid interface in tagged mode.
The undo port hybrid vlan command removes a Hybrid interface from specified VLANs.
port hybrid tagged vlan { { vlan-id1 [ to vlan-id2 ] } &<1-10> | all }
undo port hybrid vlan [ tagged ] { { vlan-id1 [ to vlan-id2 ] } &<1-10> | all }
| Parameter | Description | Value |
|---|---|---|
| vlan-id1 [ to vlan-id2 ] | Specifies the range of VLANs to which Hybrid interfaces will be added.
In one port hybrid tagged vlan command, a maximum of 10 VLAN ranges can be set using to. |
The value is an integer that ranges from 1 to 4094. |
| all | Adds a hybrid interface to all VLANs. |
- |
Usage Scenario
A Hybrid interface can connect to either a user host or a switch. When a Hybrid interface is connected to a switch, it must be added to VLANs in tagged mode so that it can send tagged frames. The port hybrid tagged vlan command adds an interface to a VLAN in tagged mode. The interface can then send tagged frames.
Precautions
The interfaces to be added to VLANs must be Layer 2 interfaces. If they are Layer 3 interfaces, use the portswitch command to convert the Layer 3 interfaces to Layer 2 interfaces.
If the port hybrid tagged vlan command is run on the same interface view multiple times, the interface is added to all specified VLANs.