beautypg.com

Stack master – Allied Telesis AT-S94 CLI (AT-8000S Series) User Manual

Page 327

background image

System Management Commands

Page 326

Example

The following example specifies the device host name.

stack master

The stack master Global Configuration mode command enables forcing the selection of a stack master. Use the
no form of this command to return to the default configuration.

Syntax

stack master unit unit

no stack master

Parameters

unit — Unit number of the new master (Range: 1-2)

Default Configuration

Disables forcing the selection of a stack master.

Command Mode

Global Configuration mode

User Guidelines

This command is not relevant to standalone devices.

The following algorithm is used to select a unit as the master:

If only one master-enabled unit is in the stack (1 or 2), it becomes the master.

If a unit configured as a forced master, it becomes the master.

If a forced master unit is removed from a stack and placed in a different stack with another forced master unit, both
are considered to be forced, and the election criteria continue as follows:

The unit with the longer up-time is elected master. Units are considered to have the same up-time if they were

powered up within ten minutes of each other.

If both forced master units have the same up-time, Unit 1 is elected.

Example

The following example selects Unit 2 as the stack master.

console(config)# hostname stack

stack(config)# no hostname

console(config)#

console(config)# stack master unit 2