Home

Awesome

Parse NXOS Config :white_check_mark:

published

Description

This example script generates an Excel file with the information gathered from running-config file from Cisco NXOS.

The file contains the following pages:

Requirements

Running config file in TXT format.

Clone the repository

git clone https://github.com/ocptech/parse_nxos_config
cd parse_nxos_config

chmod 755 parse_nxos_config

Python environment

Create virtual environment and activate it (optional)

python3 -m venv parse_nxos_config
source parse_nxos_config/bin/activate
Install required modules

Install required modules

pip install -r requirements.txt

Usage & examples

Just run the parse-conf.py script and select the config file. The output will be generated in the same directory.

Use "example.cfg" as test input, the output will be "example.cfg.xls"