What is where
[info]polar_hedgehog



The configurations are here

AWK for log analisys.
[info]polar_hedgehog

How to find top ten occurrences of  patterned strings in a log file, supposing they have no fixed position in a line. Those strings are of the same pattern but they differ. Of course we need to know the pattern. Lets suppose the string we are interested in is IMSI. IMSI starts with fixed known MCC and MNC (e.g. 25020)  and  has 15 digits.


awk '/25020/ {print(substr($0, index($0, "25020"),15))}' logfile.txt | sort | uniq -c | sort -g | tail -10

Tags:

How to enforce Cisco understand non-Cisco SFP
[info]polar_hedgehog
service unsupported-transceiver
no errdisable detect cause gbic-invalid
Tags:

Jeff Doyle on MPLS
[info]polar_hedgehog

Understanding the Role of FECs in MPLS
Understanding MPLS Explicit and Implicit Null Labels
Understanding MPLS Label Stacking
Understanding MPLS VPNs, Part I
Understanding MPLS VPNs, Part II
Understanding MPLS Label Distribution
Understanding Signaling in MPLS Networks
Understanding MPLS CSPF
Tags: ,

How to intercept internet traffic.
[info]polar_hedgehog
www.wired.com/threatlevel/2008/08/revealed-the-in/
www.wired.com/threatlevel/2008/08/how-to-intercep/
www.wired.com/images_blogs/threatlevel/files/edited-iphd-2.ppt
Tags: ,

RIPE NCC and Duke University BGP Experiment
[info]polar_hedgehog
labs.ripe.net/Members/erik/ripe-ncc-and-duke-university-bgp-experiment/
Tags: ,

Рисуем графики по полям заголовков
[info]polar_hedgehog

Считываем файл в переменную:
>>> p2=rdpcap("tcp.pcap")

 

Read more... ) 
Tags:
  • Leave a comment
  • Add to Memories

OSPF ASBR summary
[info]polar_hedgehog

Wendell Odom дает простое объяснение разницы между OSPF external type 1 и external type 2 здесь.

В частности там говорится:
In the example figure, R1 [ASBR in area 0] still floods the Type 5 LSA with cost 10. R2 [ASR in area 0 and area 1] creates a type 4 LSA...

Возник вопрос, на каком основании ASR решает генерировать Type 4 LSA. Сначала возникла простая идея - ASR видит Type 5 LSA с указанием metric type 1, на основании чего и генерируется Type 4 LSA.

Но оказалось, что это не так.
Read more... )

Tags: ,

compact flash
[info]polar_hedgehog

После установки compact flash как устройства ad0,  M7i валилась каждые 4 часа со следующим симптомом:
show chassis routing-engine
<...>
    Last reboot reason             panic:ad_ioctl:1276593423: ad1: Standby not armed but state is invalid: state="ARMED"
<...>


Лечится скрытой командой:
set chassis routing-engine disk no-standby

 


Tags:

community policy AND OR
[info]polar_hedgehog

community both-communities members [ 65010:4321 65010:4444 ];

- значит 65010:4321 AND 65010:4444

НО...

policy-statement two-communities-match {
 term two-communities {
  from community [ just-4321 just-4444 ];
<...>

- значит just-4321 OR just-4444


Tags:

You are viewing [info]polar_hedgehog's journal