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.


CLI-based Configuration Guide - Ethernet Switching

AR650, AR1600, and AR6100 V300R003

This document describes how to configure the components for LAN services, including link aggregation groups, VLANs, voice VLANs, MAC address tables, transparent bridging, as well as GVRP, STP/RSTP, and MSTP protocols.
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 router 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 device. You can then log in to the device in Telnet mode and manage the device 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 device. This brings security risks to the device.

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.

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

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, complete the following task:


  1. Run system-view

    The system view is displayed.

  2. Run vlan vlan-id

    The VLAN view is displayed.

  3. Run management-vlan

    The VLAN is configured as the mVLAN.

    VLAN 1 cannot be configured as the mVLAN.

  4. Run quit

    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 router 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 router using Telnet, STelnet. For details, see Configuring Telnet Login, Configuring STelnet Login in Huawei AR650&AR1600&AR6100 Series Routers 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. For details, see (Optional) Using Telnet to Log In to Another Device From the Local Device, or (Optional) Using STelnet to Log In to Another Device from the Local Device in Huawei AR650&AR1600&AR6100 Series Routers Configuration Guide – Basic Configurations.

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

Verifying 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-04-12

Document ID: EDOC1100041791

Views: 58846

Downloads: 40

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