Cisco IOS Regex examples
Just like there are road shortcuts, there are IOS display shortcuts too. They are based on Cisco IOS Regex (Regular Expressions) operators.
Here are some basic Regex examples that can be useful in your day-to-day network administration.
- Display the list of interfaces on your device
- Display all IP interfaces on the device.
- Display all IP interfaces that are in the “up…up” state
- Display all IP interfaces that are in the “up…down” state
- Count the interfaces that have “line is up” or “line protocol is up”
- Count the interfaces that are in the “up…down” state
- Count the interfaces that are in the “up…up” state
Comments
Post a Comment