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