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.


S9300, S9300E, and S9300X V200R012C00 Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, VLAN aggregation, MUX VLAN, VLAN termination, Voice VLAN, VLAN mapping, QinQ, GVRP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, HVRP, and Layer 2 protocol transparent transmission.
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 centrally manage devices.


To use a remote network management system (NMS) to centrally manage devices, configure a management IP address on the switch. You can then log in to the switch through STelnet and manage the switch 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, posing security risks to the switch.

To avoid such risks, configure a VLAN as an mVLAN and prevent access interfaces or Dot1q tunnel interfaces (both of which are often connected to users) from being added to that VLAN. This, in turn, prevents users connected to the interfaces from logging in to the device, improving device security.

Usually, a VLANIF interface needs to be configured with only one management IP address. However, in some situations, for example, when 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 network port, 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 assigning VLANs.


Only trunk and hybrid interfaces can join the mVLAN.


  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 switch to implement centralized management through the NMS. Then, select one of the following login modes:
  • 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 S9300, S9300E, and S9300X V200R012C00 Configuration Guide - Basic Configurations.
  • To manage remote devices, log in to the local device using Telnet or STelnet. Then log in to the remote devices using Telnet or STelnet from the local device. For details, see (Optional) Logging In to Another Device From the Local Device Using Telnet in "Configuring Telnet Login", or (Optional) Logging In to Another Device From the Local Device Using STelnet in "Configuring STelnet Login" in the S9300, S9300E, and S9300X V200R012C00 Configuration Guide - Basic Configurations.

The login IP address is the IP address of the VLANIF interface of the 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-01-18

Document ID: EDOC1100038290

Views: 110790

Downloads: 24

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