Skip to main content

cfgrep is Cisco-like Config Context-aware Check grep

Project description


cfgrep(c4grep, ccccgrep) is Cisco-like Config Context-aware Check grep

Downloads Downloads Downloads published


pip from PyPI

pip install cfgrep

, or pip from github

pip install wheel git+

, or running

git clone
cd cfgrep
python install


Regular expressions can be used as PATTERN similar to grep.

 > cfgrep -h
    cfgrep(c4grep, ccccgrep) is Cisco Config Context-aware Check grep

    cfgrep <PATTERN> <FILE> [-i | --interface] [-b | --bgp] [-d | --description]
    cfgrep -h | --help

    -i, --interface    interface mode
    -b, --bgp          bgp mode
    -d, --description  to specify PATTERN by description
    -h, --help         display help


See and for details of options

option description
-i Interface mode. To display a config related to ipv4 and ipv6 address of the interfaces.
-b BGP mode. To display a config related to route-policy(route-map) and bgp-group of the neighbors.
-d Description mode. To use a parent indent of description as PATTERN.


  • Toshiki Hayashi - Initial work


This project is licensed under the Apache License - see the LICENSE file for details

Project details

Download files

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

Files for cfgrep, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size cfgrep-1.0.5-py3-none-any.whl (9.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cfgrep-1.0.5.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page