Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 

Check specific part of config with show run command

Naveed Khan, Cybernet, Lahore, Punjab, Pakistan.

Check Specific Part of Config with "show run" Command.

If you are getting information from your running configuration by entering the command "show run" and if you want to check the specific part of configuration during the running configuration output, just enter the forward slash "/" and enter the matching word. IOS will search forward the matching word in the output. Then you can find out the exact match of your required output into the running configurations.

This also works in all multi-page show commands ("show crypto map", "show ip nat translation", etc.) On a side note, there are other powerful tools to inspect a running-config. We more often use:

  • "show run interface ..." to check a particular interface
  • "show run | begin <word>" to start displaying the config at a specific line containing <word>
  • "show run | include <word>" to display all the lines containing the given <word>
  • "show run | section <word>" is a good one, too

To receive the latest information on Cisco online tools, certifications, support documentation, insights from Cisco experts and peers, and upcoming events, check out the Cisco Technical Services Newsletter today.

72771
Views
15
Helpful
0
Comments