Navigation

do <command>

Run a privileged-exec command from inside config mode without exiting.

Works on: Router, SwitchMode: config, iface, router, vlan, line, dhcp

Example

R1(config)# do show ip int brief
Run this command live

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

Run a privileged-exec command from inside config mode without exiting.

Example of "do <command>"

R1(config)# do show ip int brief

More Navigation commands

← Back to the full command reference

do <command> — network CLI command reference · NetForge-AI