beautypg.com

System set hostname – Allied Telesis AT-S97 User Manual

Page 64

background image

Chapter 4: General System Commands

64

SYSTEM SET HOSTNAME

Syntax

system set hostname=

name

Parameter

hostname

Specifies a name of up to 25 alphanumeric characters for a
stack. A host name is also used as the command line
prompt. Spaces are permitted, but a host name with
spaces must be enclosed in double quotes (“ “). To remove
the current value without specifying a new value, enter
“none.”

Privilege Levels

Administrator and read-write.

Description

This command is used to assign a name to a stack. The name is displayed
at the top of the console screen during management sessions. The first
fourteen characters of the host name are also used as the command line
prompt in the management interface.

To view the current value for this parameter, examine the top of the
console screen or the command line prompt. Or, refer to “SYSTEM SHOW
INFO” on page 69.

To assign individual names to the chassis in a stack, refer to “SYSTEM
SET CHASSIS” on page 59.

Examples

This command sets a stack’s name to “MCF2000 12a traffic:”

system set hostname="MCF2000 12a traffic"

This command removes a stack’s name without assigning a new value:

system set hostname=none

This manual is related to the following products: