Following 3 links pretty much cover everything we need, to generate network device configurations from a template and variable file.
Interesting read and video about NetNORAD – a tool used by facebook to detect and isolate network latency/packet drop issues.
A BGP notification message is sent when an error condition is detected by the BGP process. The TCP connection with that BGP peer is closed after sending the notification message. Usually, the BGP process will log this notification in syslog, which would help us to identify the reason why the BGP session was brought down.
In this post, BGP notification message format along with error codes and subcodes are discussed. Continue reading
Below is a sample python code that can login to a switch via SSH and gather few command outputs and display it on console. SSH sessions are repeated for ‘x’ number of times.
Paramiko SSH module is used in this script. Paramiko is a native Python implementation of SSH. This module can be installed on a linux system using pip. commands are:
#sudo apt-get install python-pip #sudo pip install paramiko
Code: Continue reading