XG700 User's Guide
61/266
All Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
5.2.4 hostname
Function
Changes the hostname of the XG700.
Use the no form to return to the default ("xg").
Prompt
xg(config)#
Command syntax
hostname HOST-NAME
no hostname
Parameter
HOST-NAME
Specifies the hostname of the XG700. Specify the hostname using 63 characters or less, with an alphabet character at
the beginning.
Follow the rules below for the hostname and domain name:
−
Characters usable for the name
Alphabet ([a - z], [A - Z]), numerical characters ([0 - 9]), hyphen (-), and period (.)
−
First characters
Alphabet ([a - z], [A - Z])
−
Last characters
Alphabet ([a - z], [A - Z]), numerical characters ([0 - 9]), and period (.)
Command type
Configuration command
Default
"xg"
Example
Specify the hostname of the XG700 to be "xg2."
The beginning of the prompt character will change to "xg2."
Also, when switching to the administrator exec mode and displaying the system status, you can confirm that the System Name
has been changed to "xg2."
xg(config)# hostname xg2
xg2(config)# exit
xg2# show system information
System Information 2005/08/22-11:04:54
=======================================
System Name (hostname) : xg2
System Location : (none)