
System Management Commands
4-254
hostnameThis command specifies or modifies 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
User Access CommandsThe basic commands required for management access ar e listed in this section.
This switch also includes other options for password checking via the console or a
Telnet connection (page4-10), user authe ntication via a remote authentication
server (page 4-67), and host access authentication for specific ports (page 4-76).
usernameThis command adds named users, requires authentication at login, specifies or
changes a user's password (or specify that no password is required), or spec ifies or
changes a user's access level. Use the no form to remove a user name.
Syntax
username name {access-level level | nopassword |
password {0|7}passwor d}
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.
The device has two predefined privilege levels:
0:NormalExec,15: Privileged Exec .
•nopassword - No password is required for this user to log in.
Console(config)#hostname RD#1
Console(config)#
Table4-9. User Access Comm ands
Command Function Mode Page
username Establishes a user name-base d authentication system at login GC 4- 25
enable password Sets a password to control access to the Privilege d Exec level GC 4-26