Hi all,
I'm looking for a config or script to have an EX switch sending an snmp trap in case there are framing errors / fcs erorrs on an interface.
Like something shown in
show interfaces extensive | match "(Framing errors:)" | except "Framing errors: 0"
example:
switch> show interfaces ge-0/0/10 extensive | match "(Framing errors:)|Physical interface:" | except "Framing errors: 0"
Physical interface: ge-0/0/10, Enabled, Physical link is Up
Errors: 26, Drops: 0, Framing errors: 26, Runts: 0, Policed discards: 0, L3 incompletes: 0, L2 channel errors: 0, L2 mismatch timeouts: 0, FIFO errors: 0,
{master:1}
switch>
Can someone point me to an easy way to implement this via either event-options, event script or similar?
Many thanks in advance,
Stefan