mac

74
Chapter 2 Commands for Cluster
2.1 clear cluster nodes
Command: clear cluster nodes [nodes-sn <candidate-sn-list> | mac-address
<mac-addr>]
Function: Clear the nodes in the candidate list found by the commander switch.
Parameters: candidate-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 read, 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
2.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.
Usage Guide: After enabling this command on a commander switch, candidate switches
will be automatically added as members.
Example: Enable the auto adding function in the commander switch.
Switch(config)#cluster auto-add