4
Command Line Interface
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
Console(config)#hostname RD#1
Console(config)#
System Status Commands
This section describes commands used to display system information.
Command
show startup-config
show running-config
show system
show users
show version
show startup-config
This command displays the configuration file stored in non-volatile memory that is
used to start up the system.
Command Mode
Privileged Exec
Command Usage
• Use this command in conjunction with the show running-config command to
compare the information in running memory to the information stored in
non-volatile memory.
4-16
Table 4-8 System Status Commands
Function
Displays the contents of the configuration file (stored in flash
memory) that is used to start up the system
Displays the configuration data currently in use
Displays system information
Shows all active console and Telnet sessions, including user
name, idle time, and IP address of Telnet clients
Displays version information for the system
Mode
Page
PE
4-16
PE
4-18
NE, PE
4-19
NE, PE
4-20
NE, PE
4-21