Tuesday, November 08, 2011

not installing a bunch of junk in your fib.

you have a route reflector running in a logical system in junos...

the thing has 400k routes but it doesn't really need them, in fact they're just cluttering up the fib.

solution.

routing-options {
...
forwarding-table {
export [ logical-system-fib-compress reject-all ];
}
}

policy-options {

policy-statement logical-system-fib-compress {
from protocol [ direct static isis ];
then accept;
}
policy-statement reject-all {
then reject;
}

}

now you've got some igp routes for local color a sensible default and a rib of essentially arbitrary size.

Tuesday, September 06, 2011

emacs keys

http://www.math.uh.edu/~bgb/emacs_keys.html

Wednesday, August 24, 2011

Magic screen incantion:

caption string "%H %c %w"
bind f eval "caption splitonly"
bind F eval "caption always"

Found here

Coupled with:

alias host="ssh username@host -t screen -RR -D"

Means I'm always in the same screen session on that system.

Tuesday, April 05, 2011

Junos 11.1

Appears to dropped on schedule at the end of q1...

now to put that in the lab.

http://www.juniper.net/support/products/junos/dom/11.1/

see what other bundles of joy have fallen in/out as a result.

SSH keep-alive interval...

Adjustiing the ssh keepalive interval down is an essential part of traversing nat translation and stateful inspection devices that reap stale or idle connections...

There are basically three place this parameter can be tuned.

in the sshd_config (to adjust on the server daemon)

ClientAliveInterval 30

in the ssh_config (to adjust for the client on a system-wide basis)

ServerAliveInterval 30

or in the user's ~/.ssh/config file (to adjust just for yourself)

ServerAliveInterval 30

what's the right interval?

I'm persistently afraid of timers with a 60 second interval so I aimed to get below that. A proper approach would be 3x the number of keep-alives as the theoretical timer (60s) but 30s is still about 86400 packets a month just to keep this session alive so increasing the frequency if this works is somewhat wasteful.


Tuesday, January 18, 2011

spotted in frankfurt...



I think that's actually O2 rather than a nokia store but it adequately delivers on the point.
Posted by Picasa