Context
To use a network management system to manage multiple devices, create a VLANIF interface
on each device and configure a management IP address for the VLANIF interface. You can then
log in to a device and manage it using its management IP address. 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 a management VLAN, no access interface can be added to the
VLAN. An access interface is connected to users. The management VLAN forbids users
connected to access interfaces to log in to the device, improving device performance.
Pre-configuration Tasks
Before creating a VLANIF interface, complete the following tasks:
l
Create a VLAN.
l
Associate the VLAN with the physical interface.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
vlan
vlan-id
The VLAN view is displayed.
NOTE
If a device is configured with multiple VLANs, configuring names for these VLANs is recommended:
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.
Step 3
Run:
management-vlan
An mVLAN is configured.
After an mVLAN is configured, an interface added to the mVLAN must be a trunk or hybrid
interface.
VLAN 1 cannot be configured as an mVLAN.
Step 4
Run:
quit
The VLAN view is quit.
Step 5
Run:
interface vlanif
vlan-id
A VLANIF interface is created and the VLANIF interface view is displayed.
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
3 VLAN Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
103