Enabling the MUX VLAN Function on a Port
Context
After the MUX VLAN function is enabled on a port, the principal VLAN and subordinate VLAN can communicate with each other; ports in a group VLAN can communicate with each other; ports in a separate VLAN cannot communicate with each other.
Pre-configuration Tasks
Before enabling the MUX VLAN function on a port, complete the following task:- Adding the port to a principal or subordinate VLAN as an access, hybrid, or trunk interface
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run port link-type { hybrid | access | trunk }
The port link-type is set.
- Run port mux-vlan enable vlan { vlan-id1 [ to vlan-id2 ] } &<1-10>
The MUX VLAN function is enabled.
After the MUX VLAN function is enabled on an interface, VLAN stacking and VLAN mapping cannot be configured on the interface.
Access interfaces can be added to only one MUX VLAN group. Trunk and hybrid interfaces can be added to multiple MUX VLAN groups. An interface can be added to a maximum of 32 MUX VLAN groups.
- The interface enabled with the MUX VLAN function cannot be added to other VLANs of the MUX VLAN group.
Disabling MAC address learning or limiting the number of learned MAC addresses on an interface affects the MUX VLAN function on the interface.
The MUX VLAN and port security functions cannot be enabled on the same interface.
In a cascading scenario, the MUX VLAN cannot be enabled between interfaces connecting access and aggregation devices.
- Run commit
The configuration is committed.