Cisco – Check specific part of config with show run command

Often when running “show run” command the output is very long and I am usually looking for a specific bit of the config that I want to check/modify – useful commands to to filter the output:

to start displaying the config at a specific line containing <string> :
show run | begin <string>

to display all the lines containing the given <string>
show run | include <string>

Leave a Reply

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

nine − two =

This site uses Akismet to reduce spam. Learn how your comment data is processed.