Author Archives: Robert

Multiple patterns with expect. Handling a SSH login dialog.

When automating network tasks, you a can hit a node which you have not logged on earlier. Using SSH you will end up in a dialog where the ssh client wants to add ssh-key to the known key list. You … Continue reading

Posted in TCL/Expect | Comments Off on Multiple patterns with expect. Handling a SSH login dialog.

Custom logfile on Juniper

Recently I placed a switch for a project. And now I want to see how often the switch is used by wired users. Lets for argument sake asume interface bounce is not handled by the standard log files. Juniper provides … Continue reading

Posted in Commands, Juniper | 2 Comments

Pre-shared key on Cisco ASA55x0

Cisco devices store password crypted when “service password-encryption” is turned on. You should enable this on your network equipment. You want to give imposters a hard time, so this is behavior you want. Last week I found out a astonishing … Continue reading

Posted in security | Comments Off on Pre-shared key on Cisco ASA55x0

Cisco TCL – ping script.

In an earlier blog I wrote about a tiny hello world script.  Now I want to raise the bar a little bit, by creating a ping script. After a quick search on the internet I found a several kinds of … Continue reading

Posted in cisco | Tagged , , , , | Comments Off on Cisco TCL – ping script.

Cisco TCL – first steps… Hello world

For some time Cisco offers TCL shell on their equipment. This is awesome, because sometimes you need a single command to retrieve information whereas IOS demands you to enter one or more commands. But before we get lots in possibilities … Continue reading

Posted in cisco | Tagged , | Comments Off on Cisco TCL – first steps… Hello world

Anki – Spaced Repetition

While studying, I am seeking for ways to study more efficient. In the beginning I stumbled upon a method called ‘spaced repetition’. This method is wildly popular in the U.S. Unfortunately when I attended high school my home country this … Continue reading

Posted in Lifehacking | Comments Off on Anki – Spaced Repetition

First Hop Redundancy Protocol – HSRP

Cisco proprietary HSRP protocol is a protocol for enabling a first hop fault tolerant router. Enabling your default gateway ip address to ‘live’ on more than one router. Back in the old days you had one router to exit a … Continue reading

Posted in CCNP | Comments Off on First Hop Redundancy Protocol – HSRP

Access-list mask or wildcard

G’day all, today I was messing around with access-list.  And after getting my head around the weird subnets of rfc1918. Weird as in an A-class (/8) is reserved in A-space, B-class (/16) in reserved in C-space, and for the B-space … Continue reading

Posted in CCNP | Tagged , , , , | Comments Off on Access-list mask or wildcard

Juniper filters

In the networking world a multitude of vendors are present. And each of them have their magnificent features  but also their quirks. And one of the quirks, for the network vendors in general, is that terminology is not uniform. Where … Continue reading

Posted in Juniper | Comments Off on Juniper filters

Be micro-ambitious

Target setting Continue reading

Posted in Lifehacking | Tagged , , | Comments Off on Be micro-ambitious