Skip to main content

Parse, Audit, Query, Build, and Modify Cisco IOS-style configurations

Project description

Travis CI Status Version License Downloads

Introduction: What is ciscoconfparse?

ciscoconfparse is a Python library, which parses through Cisco IOS-style (and other vendor) configurations. It can:

  • Audit existing router / switch / firewall / wlc configurations

  • Retrieve portions of the configuration

  • Modify existing configurations

  • Build new configurations

The library examines an IOS-style config and breaks it into a set of linked parent / child relationships. You can perform complex queries about these relationships.

CiscoConfParse Parent / Child relationships

Quotes

These are a few selected public mentions about CiscoConfParse; I usually try not to share private emails without asking, thus the quotes aren’t long at this time.

CiscoConfParse Parent / Child relationships Twitter mentions

We don’t use Cisco

Don’t let that stop you. CiscoConfParse parses anything that has a Cisco IOS style of configuration, which includes:

  • Cisco IOS, Cisco Nexus, Cisco IOS-XR, Cisco IOS-XE, Aironet OS, Cisco ASA, Cisco CatOS

  • Arista EOS

  • Brocade

  • HP Switches

  • Force 10 Switches

  • Dell PowerConnect Switches

  • Extreme Networks

  • Enterasys

As of CiscoConfParse 1.2.4, you can parse brace-delimited configurations into a Cisco IOS style (see Github Issue #17), which means that CiscoConfParse understands these configurations too:

  • Juniper Networks Junos, and Screenos

  • F5 Networks configurations

Docs

The latest copy of the docs are archived on the web

Pre-requisites

ciscoconfparse requires Python versions 2.6, 2.7 or 3.2+; the OS should not matter. If you want to run it under a Python virtualenv, it’s been heavily tested in that environment as well.

Bug Tracker and Support

  • Please report any suggestions, bug reports, or annoyances with ciscoconfparse through the github bug tracker.

  • If you’re having problems with general python issues, consider searching for a solution on Stack Overflow. If you can’t find a solution for your problem or need more help, you can ask a question.

  • If you’re having problems with your Cisco devices, you can open a case with Cisco TAC; if you prefer crowd-sourcing, you can ask on the Stack Exchange Network Engineering site.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ciscoconfparse-1.2.7.tar.gz (369.7 kB view details)

Uploaded Source

File details

Details for the file ciscoconfparse-1.2.7.tar.gz.

File metadata

  • Download URL: ciscoconfparse-1.2.7.tar.gz
  • Upload date:
  • Size: 369.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ciscoconfparse-1.2.7.tar.gz
Algorithm Hash digest
SHA256 e13049b0e5e8e29bb9fff7d3ffd6612f728a3e2b521178bc73c0c2a2b0fab1d0
MD5 a6f607a25c27a375eb0f8a1dbc0b4b55
BLAKE2b-256 0ef89cac2569699654027d69466980e95160440fedad1016195ad4d406b0b6b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page