Skip to main content

Using Expect and TCL scripts to gather device configurations

From time to time I have to gather device configurations for storing them remotely or parsing using different scripts. Expect and TCL scripts are very handy as you can automate these configuration backups using just a short simple script. TCL and Expect are quite powerful, so you can do much more with these, this is just a little example on how useful these really are.

First you have to install TCL and Expect. Below you can see how to install these on CentOS 6.6 using Yum, which is really straightforward.

Read More

Juniper QFX, IP-Fabric and VXLAN – Part 2

See the first part here: Juniper QFX, IP-Fabric and VXLAN – Part 1

 

At last here is the Part 2 of the “Juniper QFX, IP-Fabric and VXLAN” -post. In this post I will show how to configure VXLAN and verify that VXLAN works by showing Multicast, VTEP and general switching outputs. VXLAN configuration is actually quite a breeze after you get the Multicast and IP-Fabric configurations set up. Remember that (currently, as of May 2015) QFX-series does not support VXLAN routing and you would require either MX or EX9200 for that.

Spine-switches do not require any special configuration as the VXLAN is routed L3 traffic from Spine point of view. Spine-switches just forward the traffic per routing rules, and they do not care whether it’s VXLAN traffic or something else. Also using this configuration you do not need any special configuration on the Host, just match the VLAN ID specified on the trunk. See the topology below:

Read More