Tag Archives: Cisco IOS

Output Filtering IOS Commands with Regular Expressions

Want to navigate Cisco IOS, IOS-XR, and IOS-XE routers faster?  Don’t search though tons of text visually to find specific information.  View just the relevant information by expanding your | include usage to include regex (regular expressions).

Cisco IOS and IOS-XR support filtering output using regular expressions.  Cisco’s documentation on their regular expression format is available here, but we’ll go through some of the fundamentals and some useful tricks.  Regex can be used to find just the specific information you’re looking for from usually long output.

Continue reading