This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

Get-PrefixSet-IOS-XR

published

PrefixSet-IOS-XR is a automation Tool that help you to get prefix-set from Router Cisco IOS XR , as Datatype [JSON | YAML]

  • it’s too fast
  • support ipv4 & ipv6 prefix-set
  • help your to control a prefix-set that’s used in BGP adverting with ISP

Installation

Install the dependencies and devDependencies and start the server.

# git clone https://github.com/AnasProgrammer2/Get-PrefixSet-IOS-XR.git
# cd Get-PrefixSet-IOS-XR/
# pip3 install -r requirements.txt

syntax

For production release:

 # Python3 Get_PrefixSet_XR.py  [Hostname]  [UserName]  [Password]  [TYPE(YAML|JSON)]

Hostname : Router IP address
UserName : Username Router Loign
Password : Password Router Loign
TYPE : Type Data OutPut JSON OR YAML

Exmaple

# Python3 Get_PrefixSet_XR.py  10.10.20.1  cisco  cisco123  JSON

the output result
Prefix_set_get

View code on GitHub

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.