| System Management Commands
C
24
HAPTER
System Status
hostname
S
S
YSTEM
TATUS
show running-
config
This command specifies or modifies the host name for this device. Use the
no form to restore the default host name.
S
YNTAX
hostname name
no hostname
name - The name of this host. (Maximum length: 255 characters)
D
S
EFAULT
ETTING
None
C
M
OMMAND
ODE
Global Configuration
E
XAMPLE
Console(config)#hostname RD#1
Console(config)#
This section describes commands used to display system information.
Table 34: System Status Commands
Command
Function
show running-config
Displays the configuration data currently in use
show startup-config
Displays the contents of the configuration file
(stored in flash memory) that is used to start up the
system
show system
Displays system information
show users
Shows all active console and Telnet sessions,
including user name, idle time, and IP address of
Telnet clients
show version
Displays version information for the system
This command displays the configuration information currently in use.
C
M
OMMAND
ODE
Privileged Exec
C
U
OMMAND
SAGE
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.
– 588 –
Mode
PE
PE
NE, PE
NE, PE
NE, PE