Enabling the MUX VLAN Function on an Interface
Context
- The principal VLAN and subordinate VLAN can communicate with each other.
- Interfaces in a group VLAN can communicate with each other.
- Interfaces in a separate VLAN cannot communicate with each other.
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 link type of the interface is set.
- Run:
port mux-vlan enable vlan vlan-id
The MUX VLAN function is enabled.
After the MUX VLAN function is enabled on an interface, VLAN mapping or VLAN stacking cannot be configured on the interface.
You cannot create a VLANIF interface for a subordinate group VLAN or separate VLAN. However, you can create a VLANIF interface for a principal VLAN.
The port mux-vlan enable command is not supported on a negotiation-auto or negotiation-desirable port.
Disabling MAC address learning or limiting the number of learned MAC addresses on an interface will compromise the performance of the MUX VLAN function.
MUX VLAN and port security cannot be configured on the same interface.
MUX VLAN and MAC address authentication cannot be configured on the same interface.
MUX VLAN and 802.1x authentication cannot be configured on the same interface.
If a DHCP server is configured in the subordinate VLAN and DHCP clients are configured in the principal VLAN, the DHCP clients may fail to obtain IP addresses. Therefore, when the DHCP snooping function is configured, configure the DHCP server in the principal VLAN.