{"repo":"mpenning/ciscoconfparse2","free":true,"listed":false,"github":"https://github.com/mpenning/ciscoconfparse2","clone":"git clone https://github.com/mpenning/ciscoconfparse2.git","description":"Parse, Audit, Query, Build, and Modify Arista / Cisco / Juniper / Palo Alto / F5 configurations.","language":"Python","stars":116,"topics":["automation","cisco","configuration-parser","f5networks","firewall","juniper","network","network-management","palo-alto-networks","parse"],"license":"GPL-3.0","category":"workflow-automation","readme_excerpt":"[![logo][66]][66] ciscoconfparse2 [![git commits][41]][42] [![Version][2]][3] [![Downloads][6]][72] [![License][8]][9] [![Hatch project][68]][69] [![SonarCloud][51]][52] [![SonarCloud Maintainability Rating][53]][54] [![SonarCloud Lines of Code][55]][56] [![SonarCloud Bugs][59]][60] [![SonarCloud Code Smells][57]][58] [![SonarCloud Tech Debt][61]][62] Introduction: What is ciscoconfparse2? Summary [ciscoconfparse2][17] is the next generation of [ciscoconfparse][64], which was the primary development package from 2007 until 2023. [ciscoconfparse2][17] is similar to an advanced grep and diff that handles multi-vendor network configuration files (such as those from Arista, Cisco, F5, Juniper, Palo Alto, etc). - Use [ciscoconfparse2][17] to find configuration values without needing to ssh and use show commands. - Use [ciscoconfparse2][17] to build new configuration files. Example - Find shutdown interfaces Assume you have a bunch of interfaces in a configuration. How do you find which ones are shutdown? One way is manually reading the whole Cisco IOS-XE configuration. Another option is [ciscoconfparse2][17] Example - Find EBGP peer addresses and AS Numbers Assume you have this IOS-XR bgp configuration: You can generate the list of EBGP peers pretty quickly with this script: When you run that, you'll see: Tutorial Many things are possible; see the tutorial. CLI Tool [ciscoconfparse2][17] distributes a [CLI tool][67] that will diff and grep various network configuration or text fil","default_branch":null,"files":null,"tree":[],"storefront":"/r/mpenning","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mpenning/ciscoconfparse2/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}