Skip to content

Command parser for the Cisco IOS command "show interfaces".

Notifications You must be signed in to change notification settings

joubbi/command_parser_show_interfaces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

command_parser_show_interfaces

This is a command parser for Ansible network-engine.

It issues the Cisco IOS command 'show interfaces' and parses the output.

The file show_interfaces.yml is a playbook using the parser. It can be used as an example and should be self-explanatory.

Inspiration came from this great blog: https://termlen0.github.io/2018/06/26/observations/

Example

Here is an example of how the output might look like:

    "TenGigabitEthernet1/1/7": {
        "config": {
            "bia": "a03d.6f80.0000",
            "description": "server 1",
            "mac": "a03d.6f80.0000",
            "mtu": "1500",
            "name": "TenGigabitEthernet1/1/7",
            "type": "Ten Gigabit Ethernet Port"
        }
    },

Licensed under the Apache License Version 2.0

Written by [email protected]

http://www.joubbi.se/monitoring.html

https://github.com/network-automation/cisco_ios_command_parsers

About

Command parser for the Cisco IOS command "show interfaces".

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published