mngvlanid

Function

The mngvlanid command sets the management VLAN of a cluster.

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

The management VLAN is VLAN 1 by default.

Format

mngvlanid vlan-id

undo mngvlanid

Parameters

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

Views

Cluster view

Default Level

2: Configuration level

Usage Guidelines

On an Commander switch, if the ID of 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 an Client switch, the Client switch automatically quits the cluster.

After a VLAN is configured as the management VLAN, it is recommended that you use this 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.

Example

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

<HUAWEI> system-view
[HUAWEI] cluster
[HUAWEI-cluster] mngvlanid 2
Related Topics
cluster

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.