• Home
  • About Me
  • Contact Me
837 3750 ADS aix backup catalyst cisco cisco ios ftp hmc ibm ios juniper LDAP linux nas network nfs p-series password prestashop radius router sfu ssh steel belted tftp unix vpn windows
more tags
Home

Running non configuration commands in config mode Cisco IOS using DO

Submitted by guvnor on Thu, 12/03/2009 - 12:49
  • cisco
  • cisco ios
  • config mode
  • config term
  • do
  • privledged mode

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!

  • Add new comment
Tiaras Dog Harnesses