python3 -m pip install -r requirements.txt
This lab uses a shared resource. If others are using it at the same you may experience errors (lock denied...) and failures due to timeouts. When this happens you will need to wait until the resource is freed up before trying again.
Pip install the dependencies and git clone the repository. Change into the IOS-XR-NETCONF-LAB
directory.
To change the configurations simply enter the host_vars
directory and modify the values in the R1.yaml
file.
python3 xr-demo.py
ssh admin@sbx-iosxr-mgmt.cisco.com -p 8181
Then enter the password:
C1sco12345
You can also retrieve the configuration information directly over NETCONF using the scripts in this repo.
python3 get-acl.py
python3 get-bgp.py
python3 get-ospf.py
python3 get-ntp.py
You can find a video walkthrough of this lab on my youtube channel!
My name's John McGovern, I maintain a Youtube channel called IPvZero and I am trainer for CBT Nuggets.
I create instructional videos on Python Network Automation.