I hereby claim:
- I am supertylerc on github.
- I am supertylerc_ (https://keybase.io/supertylerc_) on keybase.
- I have a public key whose fingerprint is 780E 66C5 A961 8F44 9835 D0BE 3DC7 494D C286 184B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
$ ./get_bgp.py | |
1.2.3.4: | |
+-----------------+----------+-------------+--------------+-------------+-------------------+-----------------+------------------+ | |
| Peer | Peer ASN | State | Elapsed Time | Rx Prefixes | Accepted Prefixes | Active Prefixes | Ignored Prefixes | | |
+-----------------+----------+-------------+--------------+-------------+-------------------+-----------------+------------------+ | |
| 1.2.3.5 | 12345 | Established | 2w2d16h | 1785 | 1785 | 1774 | 0 | | |
| 10.10.100.10 | 12346 | Established | 98w3d20h | 584132 | 583818 | 32266 | 8 | | |
| 10.100.100.100 | 1234 | Established | 12w0d16h | 580179 | 580149 | 401583 | 30 | | |
| 100.100.100.200 | 1235 | Established | 13w3d2h | 580912 | 580632 | 293613 | 280 | | |
| 100.100.10.10 | 12347 | Established | 81w2d9h | 571793 | 571 |
$ ./find_mac.py 01:23:45:67:89:ab | |
Found MAC 01:23:45:67:89:ab on switch 1.1.1.1 via interface ge-0/0/0.0 | |
$ ./find_mac.py cd:ef:01:23:45:67 | |
Found MAC cd:ef:01:23:45:67 on switch 2.2.2.2 via interface Eth105/1/1 |
#!/bin/sh | |
kill -9 $(ps aux | grep [c]li | awk '{print $2}') |
#!/bin/sh | |
SSH_USER=$1 | |
kill -9 $(ps aux | egrep [s]shd.*$SSH_USER) |
#!/usr/bin/env python2.7 | |
from pprint import pprint | |
from multiprocessing.dummy import Pool | |
from functools import partial | |
from jnpr.junos import Device | |
from jnpr.junos.op.arp import ArpTable | |
user_name = 'tyler' |