< Home

mngvlanid

Function

The mngvlanid command sets a management VLAN for a cluster.

The undo mngvlanid command restores the default management VLAN of a cluster.

By default, the management VLAN is VLAN 1.

Format

mngvlanid vlan-id

undo mngvlanid

Parameters

Parameter Description Value
vlan-id Specifies a VLAN ID. The value is an integer ranging from 1 to 4094.

Views

Cluster view

Default Level

2: Configuration level

Usage Guidelines

On a Commander switch, if a management VLAN is changed or the management VLAN and its corresponding VLANIF interface are deleted, the cluster is automatically deleted.

If you change the ID of the management VLAN on a client switch, the client switch automatically withdraws from the cluster.

Use the management VLAN only on the cluster and do not use the VLAN for other services such as the Rapid Ring Protection Protocol (RRPP) and multicast services. Otherwise, service functions will be adversely affected.

Example

# Change the management VLAN of the device to VLAN 2.

<HUAWEI> system-view
[HUAWEI] cluster
[HUAWEI-cluster] mngvlanid 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >