Hostname – Allied Telesis AT-DC2552XS User Manual

Page 96

Advertising
background image

Chapter 4: Basic Switch Operations Commands

96

Section I: Switch Management

HOSTNAME

Syntax

hostname

hostname

Parameter

hostname

Specifies a name of up to 39 alphanumeric characters for the
switch. A host name can contain special characters except spaces,
exclamation marks (!), question marks (?), apostrophes (‘), and
double quotation marks (“).

Mode

Global Configuration mode

Description

Use this command to assign the switch a name. The switch displays the
name in the command line prompt, in place of the default “awplus.”

When you issue this command, the host name is set to the Management
Information Base (MIB)-II “sysName” for SNMP. By default, the sysName
has no value.

Example

This example assigns the name “Switch1” to the switch:

awplus> enable
awplus# configure terminal
awplus(config)# hostname Switch1
Switch1(config)#

Advertising