cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
301
Views
0
Helpful
0
Replies

What? Did my router reboot?

saalvare
Cisco Employee
Cisco Employee

Ok, we all know that routers don't reboot, right?  Specially with the enhanced infrastructure in XR 6.0.0 which runs all control plane as a container on top of a Linux kernel.  However, stuff happens.  Operator error or some catastrophic event takes place and the worst happens.  How to find out the reboot history?  There's a simple model that provides that info: Cisco-IOS-XR-linux-os-reboot-history-oper. Equally simple, see an sample app to read the reboot history and produce human readable output similar to the "show reboot history" command.  Give it a try! (but don't reboot your box to test it :-) )

https://git.io/voLmy

As usual, take a look at the README file for basic apps.  It explains how apps are named and how to run them.

https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic

Happy coding!

0 Replies 0