Show & diagnostics

show ip route

Routing table. Codes: C=connected, S=static, O=OSPF, R=RIP, D=EIGRP. Default route shown last with *.

Works on: Router, FirewallMode: enable

Sample output

Codes: C - connected, S - static, D - EIGRP, O - OSPF, R - RIP, B - BGP,
       IA - OSPF inter area, E2 - OSPF external type 2, * - candidate default


S  10.20.0.0/24 via 172.16.0.2, Se0/0/0
C  10.10.0.0/24 is directly connected, Gi0/0
C  172.16.0.0/30 is directly connected, Se0/0/0

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

Run this command live

Don't just read it — type show ip route 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 ip route" command do?

Routing table. Codes: C=connected, S=static, O=OSPF, R=RIP, D=EIGRP. Default route shown last with *.

More Show & diagnostics commands

← Back to the full command reference

show ip route — network CLI command reference · NetForge-AI