Running non configuration commands in config mode Cisco IOS using DO
Cisco IOS "do" command
When you are configuring a cisco router you are in config mode. Often you need to check what you are doing and that means leaving config mode and entering into priviledged mode. This can be a pain in the neck. Users of Cisco Pix and Cisco ASAs have don't have to do this. Pix and ASA users can run commands like show run when in config mode.
Well there is some good news - if you run IOS 12(8) or later you will find you have a new command called "do".
This allows you to runs that would normally be available in global config mode in config mode.
For example show interface s0 or debug whatever
can be run in config mode!
Happy days.
Try it
conf term <cr>
show run <cr>Okay that didn't work - now try
conf term<cr>
do show run<cr>That's better!

