Convering Cisco Show commands into json file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2021 10:09 PM
hi everyone ,
i need to convert cisco cammand outputs into json format for automation
can any one please help me on this please,
- Labels:
-
Other Routers
-
Routing Protocols
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2021 11:44 PM - edited 11-17-2021 11:47 PM
maybe netmiko ?
look at the next link, The print should return as JSON format
json.dump() - converts the Python objects into appropriate json objects
https://layer3life.wordpress.com/2021/02/18/json-with-python-and-netmiko/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2021 03:49 AM
i had tried , netmiko and textfsm wayfor handling cisco config to json but it only supports few cisco commands no ipv6 commands are seen
