Back to Command Reference
Privileged EXECDomain 1.0
show running-config
Spits out the entirety of the device's currently active configuration running in RAM. This includes interface IP addresses, routing protocols, access control lists, and security policies. It is the primary troubleshooting tool used to verify that global config commands were entered correctly.
Quick Reference
Execution Mode
Router#Target MemoryVolatile RAM
Common Abbreviation
sh runPiped Filtering
sh run | section [keyword]CLI Deployment Scenarios
Scenario 1: Viewing the Config
Router# show running-config
Building configuration...
Current configuration : 1582 bytes
!
version 15.2
hostname R1
!
--More-- // Press Spacebar to advance a page, or Enter to advance a line.
Scenario 2: Piped Output Extraction
Enterprise configurations can be thousands of lines long. Instead of pressing the spacebar to manually scroll to the bottom to find OSPF details, you can "pipe" the output to filter specifically for what you want.
Router# show running-config | section ospf
router ospf 1
router-id 1.1.1.1
network 10.0.0.0 0.255.255.255 area 0