beautypg.com

Hostname – Allied Telesis AT-S100 User Manual

Page 128

background image

Chapter 4: Configuration Terminal Mode Commands

128

Section I: Command Modes

HOSTNAME

Syntax

hostname NAME

Parameters

NAME

Specifies the name of the switch. Enter a value between 1

and 63 alphanumeric characters. Names must start with a
letter and end with a letter or digit. Within the interior of
the name, there must only be letters, digits, and hyphens.

Description

Use the HOSTNAME command to assign a name to the switch. Enter a
value between 1 and 63 alphanumeric characters. The name must follow
the rules for ARPNET host names.

After you name the switch, the prompt changes to include the name. The
new name of the switch appears in all of the command modes.

Command Mode

Configuration Terminal mode

Example

The following example assigns “Switch3” as the name of the switch and
displays the new prompt:

none#configure terminal

none(config)#hostname Switch3

Switch3(config)#

Related Commands

none