[j-nsp] Logging interface flaps
Samit
janasamit at wlink.com.np
Sun Mar 15 09:06:37 EDT 2009
Hi,
How do I log the interface flap logs similar to cisco log attached
below, in Juniper M7i?
Dec 3 18:26:04.155 NST: %LINEPROTO-5-UPDOWN: Line protocol on Interface
POS2/0, changed state to down
Dec 3 18:26:04.375 NST: %LINEPROTO-5-UPDOWN: Line protocol on Interface
POS3/0, changed state to down
Dec 3 18:26:05.711 NST: %LINEPROTO-5-UPDOWN: Line protocol on Interface
POS1/0, changed state to down
Dec 3 18:29:04.551 NST: %LINEPROTO-5-UPDOWN: Line protocol on Interface
POS2/0, changed state to up
Dec 3 18:29:04.551 NST: %LINEPROTO-5-UPDOWN: Line protocol on Interface
POS3/0, changed state to up
Dec 3 18:29:05.835 NST: %LINEPROTO-5-UPDOWN: Line protocol on Interface
POS1/0, changed state to up
I tried this but not getting any logs during the link flap.
[edit interfaces]
traceoptions {
file int-log size 1m files 5;
flag change-events;
flag config-states;
}
so-0/1/0 {
description "Link1 ";
traceoptions {
flag all;
}
so-0/1/1 {
description "Link2 ";
traceoptions {
flag all;
}
so-0/1/2 {
description "Link3 ";
traceoptions {
flag all;
}
Regards,
Samit
More information about the juniper-nsp
mailing list