Include, exclude and begin
How often are you trying to find something you added in the configuration? Or you are searching for something specific and you don’t want to get right to it.
Use include or exclude.
Here’s a few examples:
[Router1(config)# do show running-config | include password]
This will include all occurrence of ‘password’ in the configuration file, the
underscore works for spaces, so you can do this as well:
[Router1(config)# do show running-config | exclude ip address]
It will exclude every line that has ‘ip address’ in it.
Simple. Super helpful.