
The configurations are here
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
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... )
После установки 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
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
You are viewing
polar_hedgehog's journal