Home » Archive by categoryUncategorized

Juniper MX series scaling (RIB and FIB)

Latest scaling figures for MX chassis with Trio-based MPCs, RE-1800 running Junos 13.3R4 (64-bit rpd):   CONTROL PLANE Parameter RE-S-1800×4-8/16/32G RIB capacity (IPv4) 16M (w/o NSR) 12M (w/ NSR) RIB capacity (IPv4) – 64bit RPD 50M (w/ NSR) RIB capacity (IPv6) 16M (w/o NSR) 12M (w/ NSR) RIB...
Continue reading »

PuTTY: Double-click select IPv6 addresses

PuTTY supports selecting words with a double-click, eg: an IPv4 address. By default this doesn’t work with IPv6 addresses because the “:” character is treated as a delimiter. You can fix this though! Documentation: http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter4.html#config-charclasses In a nutshell: 1. Goto the Session’s settings -> Selection. 2. Scroll down to ‘:’...
Continue reading »

JunOS: haikus to CSV

#!/bin/bash COMMAND_STRING="show version and haiku" # Fetch 60 iterations of "show version and haiku" # Sort and Uniq to generate a masterlist of them for ((i = 0; i < 60; i++)) do ssh -q -o StrictHostKeyChecking=no "user@router" "${COMMAND_STRING}" > haiku${i} count=$(cat haiku${i} | wc -l) ((count--)) ((count--))...
Continue reading »

JunOS Firewall Counter OIDs

In this MIB the index is based on SnmpAdminString where each word is prefixed with its length, and each word is in ASCII decimal format. You can try walking these OIDs: jnxFWCounterPacketCount = '.1.3.6.1.4.1.2636.3.5.2.1.4' jnxFWCounterByteCount = '.1.3.6.1.4.1.2636.3.5.2.1.5' jnxDCUCounterPacketCount = '.1.3.6.1.4.1.2636.3.6.2.1.4' jnxDCUCounterByteCount = '.1.3.6.1.4.1.2636.3.6.2.1.5' jnxSCUCounterPacketCount = '.1.3.6.1.4.1.2636.3.16.1.1.1.4' jnxSCUCounterByteCount =...
Continue reading »

X11 forwarding

# Ensure /etc/ssh/sshd_config has the following options set: X11Forwarding yes X11DisplayOffset 10 # Install Xauth RedHat: $ sudo yum install xauth Debian: $ sudo apt-get install xauth # Restart sshd RedHat: $ sudo service sshd restart Debian: $ sudo /etc/init.d/ssh restart # Login to the remote host: #...
Continue reading »

VMware ESXi 5.1 Free License How-To

When you logged into VMware’s website to download ESXi 5.x hypervisor you were given a license key along with the download link.  Here is how you apply that license key to your ESXi server.  This is a story told in pictures, and we begin with navigating to http://<server...
Continue reading »