SystemPrivileged EXEC

show running-config

Displays the current active configuration loaded in DRAM, showing every configured command that differs from the factory default.

Syntax·Privileged EXEC
show running-config

When to Use This Command

  • Verify configuration before saving to NVRAM
  • Troubleshoot misconfigurations by reviewing live config
  • Audit security settings across device
  • Compare with startup-config to find unsaved changes

Command Examples

View full running config

R1# show running-config
Building configuration...

Current configuration : 2048 bytes
!
version 15.4
service password-encryption
!
hostname R1
!
enable secret 5 $1$abc$xyz
!
interface GigabitEthernet0/0
 ip address 192.168.1.1 255.255.255.0
 no shutdown
!
router ospf 1
 network 192.168.1.0 0.0.0.255 area 0
!
end

Output shows device hostname, interface configs, routing protocols, and security settings. Each ! is a comment separator.

Understanding the Output

The running-config output shows the complete active device configuration in IOS format. It starts with the IOS version, then global settings, interfaces, routing protocols, and line configs. Settings at default values are omitted. The config ends with "end".

CCNA Exam Tips

1.

show running-config shows config in RAM — not saved until you copy to startup-config

2.

Use show running-config | include [pattern] to filter output

3.

Passwords shown as type 7 (service password-encryption) or type 5 (enable secret)

4.

Compare with show startup-config to see unsaved changes

Common Mistakes

Forgetting to save with copy run start — config lost on reload

Confusing running-config (RAM) with startup-config (NVRAM)

Not checking running-config after changes to verify they applied correctly

Related Commands

Practice for the CCNA 200-301

Test your knowledge with hundreds of CCNA practice questions covering all exam domains.

Practice CCNA Questions