C
HAPTER
24
| System Management Commands
System Status
– 588 –
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
This section describes commands used to display system information.
show running-
config
This command displays the configuration information currently in use.
COMMAND MODE
Privileged Exec
COMMAND USAGE
â—† Use this command in conjunction with the show startup-config
command to compare the information in running memory to the
information stored in non-volatile memory.
Table 34: System Status Commands
Command Function Mode
show running-config Displays the configuration data currently in use PE
show startup-config Displays the contents of the configuration file
(stored in flash memory) that is used to start up the
system
PE
show system Displays system information NE, PE
show users Shows all active console and Telnet sessions,
including user name, idle time, and IP address of
Telnet clients
NE, PE
show version Displays version information for the system NE, PE