XG2000 series User's Guide
64/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.2.5 hostname
Function
Changes the hostname of the device.
Use the no form to return to the default ("xg").
Prompt
xg(config)#
Command syntax
hostname HOST-NAME
no hostname
Parameter
z HOST-NAME
Specifies the hostname of the device. Specify the hostname using 63 characters or less, with
an alphabet character at the beginning.
Follow these rules for specifying the hostname:
− Characters usable for the name
Alphabet ([a - z], [A - Z]), numerical characters ([0 - 9]), hyphen (-), and period (.)
− First character
Alphabet ([a - z], [A - Z])
− Last character
Alphabet ([a - z], [A - Z]), numerical characters ([0 - 9]), and period (.)
Command type
Configuration command
Default
"xg"
Example
Specify the hostname of the device to be "xg2."
The prompt will change to "xg2."
Switching to the administrator exec mode and displaying the system status will confirm that the System Name was changed to
"xg2."
xg(config)# hostname xg2
xg2(config)# exit
xg2# show system information
System Information 2007/01/22-11:04:54
=======================================
System Name (hostname) : xg2
System Location : (none)