port hybrid tagged vlan
Function
The port hybrid tagged vlan command adds a hybrid interface to the specified VLANs. Frames of the VLANs then pass through the hybrid interface in tagged mode.
The undo port hybrid vlan command removes a hybrid interface from the specified VLANs.
By default, a hybrid interface is added to VLAN 1 in untagged mode.
Format
port hybrid tagged vlan { { vlan-id1 [ to vlan-id2 ] }&<1-10> | all }
undo port hybrid vlan { { vlan-id1 [ to vlan-id2 ] }&<1-10> | all }
Parameters
Parameter |
Description |
Value |
---|---|---|
vlan-id1 [ to vlan-id2 ] |
Adds a hybrid interface to specified VLANs.
|
The value of vlan-id1 is an integer that ranges from 1 to 4094. The value of vlan-id2 is an integer that ranges from 1 to 4094. |
all |
Adds a hybrid interface to or deletes it from all VLANs. |
- |
Usage Guidelines
Usage Scenario
A hybrid interface can connect to either a user device or a wireless access point. This command adds a hybrid interface to VLANs in tagged mode so that the hybrid interface allows frames from the VLANs to pass.
After a hybrid interface is added to VLANs in tagged mode, the interface forwards frames without removing VLAN tags of frames.
Prerequisites
If an interface is not a hybrid interface, run the port link-type hybrid command to change the interface type to hybrid.
Precautions
If you run the port hybrid tagged vlan command multiple times in the same interface view, the interface is added to all the specified VLANs.