< Home

cluster id

Function

The cluster id command sets the ID of the cluster that the device joins.

The undo cluster id command deletes the set cluster ID.

Format

cluster id cluster-id [ description description ]

undo cluster id

Parameters

Parameter Description Value
cluster-id

Specifies the ID of a cluster which the device joins.

The value is an integer ranging from 0 to 10000.

description description

Specifies the cluster description.

The value is a string of 1 to 63 characters.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The cluster ID is used to identify a cluster. Devices with the same cluster ID compose a cluster.

One device can join only one cluster.

Example

# Set the cluster ID to 2.

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