Quick Reference Guide

System Management Commands | 65
show running-config
This command is used to display/capture the current setting of different protocol packages supported
on the switch. This command displays/captures only commands with settings/configurations with
values that differ from the default value. The output is displayed in script format, which can be used to
configure another switch with the same configuration.
Syntax
show running-config [all] [scriptname]
The option all adds the display/capture of default values. When a script name is provided for the
scriptname variable, the output is redirected to a configuration script. If the variable includes a file
name extension of “.scr”, the output will be redirected to a script file.
Mode
Privileged Exec
If port-channel staticcapability is enabled, the device has static capability enabled.
Example
Figure 5-20. Using the show running-config command
Note: This sample of the output is just a small part of the many thousands of lines that can be
generated by this command.
(S50-5) #show running-config all
!Current Configuration:
!
configure
!System Description "Force10 S50"
!System Description 2.3.1.5
hostname "S50-5"
no dvlan-tunnel l2pdu-forwarding enable
no dvlan-tunnel l2pdu-forwarding mac-address
no gmrp adminmode enable
no gvrp adminmode enable
no ip ssh server enable
sshcon maxsessions 5
sshcon timeout 5
no ip http javamode enable
no ip http secure-server enable
ip http secure-server enable
ip http secure-protocol TLS1 SSL3
ip http secure-port 443
no ip http server enable
ip http server enable
sntp unicast client poll-interval 6
sntp unicast client poll-retry 1
sntp unicast client poll-timeout 5
sntp broadcast client poll-interval 6
sntp client port 123
stack
member 1 1
exit
logging buffered
logging buffered wrap
no logging console
logging facility local7