How to name the switch – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 47
Getting Started
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
1.23
How to Name the Switch
To give the switch a name, enter Global Configuration mode and enter the command:
For example, to name the switch “mycompany”:
The prompt displays the new name:
The name can contain hyphens and underscore characters, for example:
However, the name must be a single word, as the following example shows.
It also cannot be surrounded by quote marks, as the following example shows.
Removing the
name
To remove the hostname, enter the command:
The prompt changes back to the default prompt:
awplus(config)#
hostname <name>
awplus(config)#
hostname mycompany
mycompany(config)#
mycompany(config)#hostname mycompany_more_words
mycompany_more_words(config)#hostname mycompany-hyphenated
mycompany-hyphenated(config)
mycompany(config)#hostname mycompany more words
^
% Invalid input detected at '^' marker.
awplus(config)#hostname "mycompany more words"
% hostname contains invalid characters
mycompany(config)#
no hostname
awplus(config)#