Please can someone tell me if this is even possible with a TCL script on IOS?
Open a TCP / SSL control channel from the router to an external monitoring server to do the following:
- Reliably replicate the global routing table and VRF routing tables with all information, such as protocol, metrics, next hop, prefix, mask, VRF, etc.
- Poll the global routing table and VRF routing tables for changes and send real time updates when there are changes
- Encapsulate the information into XML so it can be decoded by the monitoring server
I don’t want to scrape show commands as I don’t believe it would scale or be accurate enough. I’m not even sure if it’s possible to direclty access the forwarding databases (MPLS, routing tables, etc)? Does TCL only work with CLI output?