< Home

Configuring a Principal VLAN for MUX VLAN

Context

Ports in a principal VLAN can communicate with other ports in the same MUX VLAN.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run vlan vlan-id

    A VLAN is created and the VLAN view is displayed. If the VLAN already exists, the VLAN view is displayed.

    The VLAN ID is in the range 1 to 4094. To create VLANs in a batch, run the vlan batch { vlan-id1 [ to vlan-id2 ] } &<1-10> command. Then run the vlan vlan-id command to enter the view of a specified VLAN.

    If a switch is configured with multiple VLANs, configure names for the VLANs to facilitate VLAN management.

    Run the name vlan-name command in the VLAN view. After a VLAN name is configured, you can run the vlan vlan-name vlan-name command in the system view to enter the corresponding VLAN view.

  3. Run mux-vlan

    The VLAN is configured as a principal VLAN.

    The VLAN ID assigned to a principal VLAN cannot be used to configure the super-VLAN or sub-VLAN. Additionally, it is not recommended that this VLAN ID be used to configure VLAN mapping and VLAN stacking.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >