Some random python scripts that I’ve created during my learning trail. These scripts focuses primarily on use-cases for Network Engineers. All examples are available on the python script examples GitHub repository.
Parse Cisco IOS configurations using ciscoconfparse
In my last post, I took a look on how to parse information from a Cisco IOS configuration using regular expressions. This post focuses on the same use case as the last one, but this time I use the ciscoconfparse library. The use of the library doesn't mean that you can ignore regular expressions at all. You need at least a basic understanding of it. Before continuing, I highly recommend to read my last post about Parse Cisco IOS configurations using RegEx. I will reuse some of the RegEx and skip the detailed explanation in this post.