No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


S12700 V200R010C00 Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring an mVLAN

Configuring an mVLAN

Management VLAN (mVLAN) allows you to use the VLANIF interface of the mVLAN to log in to the management switch to manage devices in a centralized manner.


To use a remote network management system (NMS) to manage devices in a centralized manner, configure a management IP address on the switch. You can then log in to the switch in Telnet mode and manage the switch by using the management IP address. The management IP address can be configured on a management interface or VLANIF interface. If a user-side interface is added to the VLAN, users connected to the interface can also log in to the switch. This brings security risks to the switch.

After a VLAN is configured as an mVLAN, no access interface or Dot1q tunnel interface can be added to the VLAN. Access and Dot1q tunnel interfaces are often connected to users. When these interfaces are prevented from joining the mVLAN, users connected to the interfaces cannot log in to the device, improving device security.

Usually, a VLANIF interface needs to be configured with only one management IP addresses. However, in certain scenarios you need to configure a primary management IP address and multiple secondary management IP addresses, for example, when users in the same mVLAN belong to multiple different network segments.

You can only log in to the local device using the management interface, whereas you can log in to both local and remote devices using a VLANIF interface of an mVLAN. When logging in to the remote device using the VLANIF interface of an mVLAN, you need to configure VLANIF interfaces on both local and remote devices and assign IP addresses on the same network segment to them.

Pre-configuration Tasks

Before configuring an mVLAN, perform the task of assign VLANs.


Only trunk and hybrid interfaces can join the mVLAN.


  1. Run:


    The system view is displayed.

  2. Run:

    vlan vlan-id

    The VLAN view is displayed.

  3. Run:


    The VLAN is configured as the mVLAN.

    VLAN 1 cannot be configured as the mVLAN.

  4. Run:


    Exit from the VLAN view.

  5. Run:

    interface vlanif vlan-id

    A VLANIF interface is created and its view is displayed.

  6. Run:

    ip address ip-address { mask | mask-length } [ sub ]

    An IP address is assigned to the VLANIF interface.

Follow-up Procedure

Log in to the switch to implement centralized management through the NMS. Select either of the following login modes according to your needs:
  • To manage local devices, log in to the local switch using Telnet, STelnet, HTTPS. For details, see Configuring Telnet Login, Configuring STelnet Login, or Web System Login Configuration in the S12700 V200R010C00 Configuration Guide - Basic Configurations.
  • To manage remote devices, log in to the local device using Telnet or STelnet and log in to remote devices using Telnet or STelnet from the local device.see (Optional) Using Telnet to Log In to Another Device From the Local Device in "Configuring Telnet Login", or (Optional) Using STelnet to Log In to Another Device From the Local Device in "Configuring STelnet Login" in the S12700 V200R010C00 Configuration Guide - Basic Configurations.

The login IP address is the IP address of the VLANIF interface of an mVLAN.

Checking the Configuration

  • Run the display vlan command to check the mVLAN configuration. In the command output, the VLAN marked with a * is the mVLAN.

Updated: 2019-08-21

Document ID: EDOC1000142081

Views: 273965

Downloads: 421

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next