Show & diagnostics

show running-config

Print the active configuration. Use 'show run | include ospf' to filter.

Works on: Router, Firewall, Switch, Access pointMode: enable

Sample output

Building configuration...

Current configuration : 339 bytes
!
version 4.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R-Core
!
interface Gi0/0
 ip address 10.0.0.1 255.255.255.0
 no shutdown
!
interface Gi0/1
 ip address 10.0.1.1 255.255.255.0
 no shutdown
!
interface Se0/0/0
 shutdown
!
interface Se0/0/1
 shutdown
!
!
end

Captured from the NetForge-AI simulator running a real topology.

Run this command live

Don't just read it — type show running-config in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "show running-config" command do?

Print the active configuration. Use 'show run | include ospf' to filter.

More Show & diagnostics commands

← Back to the full command reference