cancel
Showing results for 
Search instead for 
Did you mean: 

how to configure snmp trap to send only when linkup linkdown

how to configure snmp trap to send only when linkup linkdown

Paul11
Contributor
how to configure snmp trap to send only when linkup linkdown.
i don't want other alarm. only for linkup and linkdown.
the switch will only send traps for linkUp and linkDown?

System Type: X250e-24t

Secondary ver: 12.1.3.14
6 REPLIES 6

Zdeněk_Pala
Extreme Employee
I would try to define snmpview with corresponding OIDs only. Then you can use this view for notification. When you configure access rights you define readview, writeview and notifyview. I believe this is the righr way...

Good luck
Regards Zdeněk Pala

Hi Pala,

Thank you and it is very informative. Really appreciate your help on this.

the USM (snmpv3) does have following construction:

Configure snmp-user credentials:
#configure snmpv3 add user snmpuser authentication md5 authcred privacy privcred

Add snmp-user to the group:
#configure snmpv3 add group RW user snmpuser sec-model usm

define what the group can do:
#configure snmpv3 ad access RW sec-model usm sec-level priv read-view ViewAll write-view ViewAll notify-view ViewAll

the "ViewAll" can be defined:
#configure snmpv3 add mib-view ViewAll subtree 1.0.0.0/0

in your case:
#configure snmpv3 ad access RW sec-model usm sec-level priv notify-view ViewPortUpDown
#configure snmpv3 add mib-view ViewAll subtree xxxxxx

check what is the OID for the port-up/port-down and replace the xxxxx with your OIDs

the next step will be to configure the snmptrap / inform to be sent with these credentials

Regards Zdeněk Pala

Hi Pala,

thank you for the advice. could you explain more about configuration on it. how to configure snmp trap to send only when linkup linkdown

thanks
GTM-P2G8KFN