Show & diagnostics

show running-config

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

Works on: Router, SwitchMode: enable

Sample output

!
version 1.0
service timestamps log datetime
!
hostname R1
!
interface Gi0/0
 ip address 10.0.0.1 255.255.255.0
 speed 1000
 no shutdown
!
interface Gi0/1
 ip address 10.0.1.1 255.255.255.0
 speed 1000
 no shutdown
!
interface Se0/0/0
 speed 1.544
 duplex full
 no shutdown
!
interface Se0/0/1
 speed 1.544
 duplex full
 no 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

show running-config — network CLI command reference · NetForge-AI