Users Guide

Table Of Contents
Switch Management Commands 2334
Command History
Command updated in firmware release 6.6.2. 40G ports removed in release
6.7.0 firmware.
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
No host name is configured.
Command Mode
Global Configuration mode
User Guidelines
The hostname, if configured, is advertised in the LLDP system-name TLV.
The hostname may include any printable characters except a 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.
Example
The following example specifies the switch host name.
console(config)# hostname Dell