hostname 429
hostname The hostname Global Configuration mode command specifies or
modifies the device host name. To remove the existing host name, use
the no form of the command.
Syntax
hostname name
no hostname
Parameters
name — The host name. of the device. (Range: 1-160 characters)
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
There are no user guidelines for this command.
Example
The following example specifies the device host name.
show users The show users Privileged EXEC mode command displays information
about the active users.
Syntax
show users
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
Console(config)# hostname enterprise
enterprise(config)#