Syntax
show running-config [
all —To display or capture the commands with settings and
•
configuration that are equal to the default value, include the
option.
scriptname —If the optional scriptname is provided, the output is
•
redirected to a script file.
NOTE:
If you issue the show running-config command from a serial connection,
access to the switch through remote connections (such as Telnet) is suspended
while the output is being generated and displayed.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode, Configuration mode and all Configuration
submodes
User Guidelines
This command has no user guidelines.
Example
console# show running-config
...
line ssh
no exec-banner
exit
line telnet
no login-banner
exit
banner exec "===exec====="
banner login "===login====="
banner motd "===motd====="
exit
show startup-config
Use the show startup-config command in Privileged EXEC mode to display
the startup configuration file contents.
all
scriptname
|
]
Configuration and Image File Commands
all
1473