Executing "show" Commands in Global Configuration Mode – EXEC Commands in Configuration Mode

In Cisco IOS, EXEC mode commands cannot be run from the Global Configuration mode or in any other configuration mode. This means, everytime an admin makes a change from the configuration mode (Global Config) then you have to “end” or “Ctrl+Z” back to the EXEC mode and run the EXEC commands like “show”, “clear” and “debug” commands.With the “do” command thats a thing of the past. The “do” command can be used to run any EXEC commands from within Global Configuration mode or any other Configuration mode without having to end the config mode.

For example:
Router(config)#do show running-config

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>