Command Line Interface

4-26

4
Example

hostname

This 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 Commands
The 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-11), user authenticat ion via a remote authentication
server (page 4-76), and host access authentication for specific ports (page 4-85).
Console(config)#prompt RD2
RD2(config)#
Console(config)#hostname RD#1
Console(config)#
Table4-9 User Access Commands
Command Function Mode Page
username Establishes a user name-based authent ication system at login GC 4-27
enable password Sets a password to control access to the Privileged Exec level GC 4-28