Archive

Posts Tagged ‘IOS’

show running-config – “advanced” options

April 29, 2008 smacak Leave a comment

Today I’ve discovered how to use a very useful IOS command.

If you’re familiar with basic IOS commands, surely you must be very well acquainted with the following command:

Router#show running-config

Now, you must be wondering what one can more possibly get from this command other than complete router/switch configuration? The answer is that you can use advanced options and have more precise results – configuration parts which are of your interest. So, for instance, when you’re troubleshooting something, by seeing only relevant configuration data, you can be much more efficient and faster.

To find out what options are available, just append the “| ?” like this:

Router#show running-config | ?

Here’s the result:

In this example I’m using the “section” option. It filters out a section from router’s configuration file – thus by using sh run | section FastEthernet command, only FastEthernet1/0 section info is shown. You can choose whatever section you like (e.g. Serial0/1/0, router rip, router ospf, etc.).

Play around with other options and see what you can accomplish. Before doing that you must be aware that Packet Tracer 4.11 does not support the mentioned command so you are forced to test these commands on real equipment or you can use Dynamips like a did.

If you’re interested in Dynamips – IOS emulator – you can read more about it in my next post or you can find more info here:

http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator

http://www.internetworkexpert.com/resources/iosonpc.htm

Categories: IOS Tags: