beautypg.com

Chapter 3 commands for cluster, 1 clear cluster nodes, 2 cluster auto-add – PLANET XGS3-24042 User Manual

Page 111: Chapter 3 commands for cluster -111, Clear cluster nodes, Cluster auto

background image

XGS3 Command Guide

3-111

Chapter 3 Commands for Cluster

3.1 clear cluster nodes

Command:

clear cluster nodes [nodes-sn | mac-address ]

Function:

Clear the nodes in the candidate list found by the commander switch.

Parameters: c

andidate-sn-list: sn of candidate switches, ranging from 1 to 256. More than one candidate can be specified.

mac-address: mac address of the switches (including all candidates, members and other switches).

Default:

No parameter means to clear information of all switches.

Command Mode:

Admin Mode.

Usage Guide:

After executing this command, the information of this node will be deleted from the chain list saved on commander

switch. In 30 seconds, the commander will recreate a cluster topology and re-add this node. But after being readded,

the candidate id of the switch might change. The command can only be executed on commander switches

Example:

Clear all candidate switch lists found by the commander switch.

Switch#clear cluster nodes

3.2 cluster auto-add

Command:

cluster auto-add

no cluster auto-add

Function:

When this command is executed in the commander switch, the newly discovered candidate switches will be added to

the cluster as a member switch automatically; the “no cluster auto-add” command disables this function.

Command mode:

Global Mode

Default:

This function is disabled by default. That means that the candidate switches are not automatically added to the

cluster.

This manual is related to the following products: