C
OMMAND
L
INE
I
NTERFACE
3-28
hostname
Use this command to specify or modify the host name for this device. Use
the no form to restore the default host name.
Syntax
hostname name
no hostname
name - The name of this host. (Maximum length: 255 characters)
Default Setting
None
Command Mode
Global Configuration
Example
username
Use this command to add named users, require authentication at login,
specify or change a user's password (or specify that no password is
required), or specify or change a user's access level. Use the no form to
remove a user name.
Syntax
username name {access-level level | nopassword |
password {0 | 7} password}
no username name
• name - The name of the user.
(Maximum length: 8 characters, case sensitive. Maximum users: 16)
• access-level level - Specifies the user level.
Console(config)#hostname SMC6742AL2
Console(config)#