Command Line Interface Guide
System Management Commands 1717
Command Mode
Interface Config mode
User Guidelines
This command can only be executed on the 40G interface. Entering this
command on any of the 4x10G interfaces (or any other 10G port) will give an
error.
This command takes effect only after rebooting the switch.
hostname
Use the hostname command in Global Configuration mode to specify or
modify the switch host name. To restore the default host name, use the no
form of the command.
Syntax
hostname
name
no hostname
•
name
— The name of the host. (Range: 1–255 characters) The command
allows spaces in the host name when specified in double quotes. For
example, #snmp-server v3-host “host name”.
Default Configuration
Host name not configured.
Command Mode
Global Configuration mode
User Guidelines
The hostname may include any printable characters except a double quote or
question mark. Enclose the string in double quotes to include spaces within
the name. The surrounding quotes are not used as part of the name. The CLI
does not filter illegal characters and may truncate entries at the first illegal
character or reject the entry entirely.
2CSPC4.X8100-SWUM100.book Page 1717 Wednesday, August 29, 2012 6:23 PM