Header Only - DO NOT REMOVE - Extreme Networks

how to configure snmp trap to send only when linkup linkdown


Userlevel 3
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

Userlevel 1
enable snmp traps port-up-down ports
Userlevel 3
Bernhard Gruenwald wrote:

enable snmp traps port-up-down ports

thanks Bernhard,

Understand that command will send trap about linkup linkdown.
enable snmp traps port-up-down ports all

so how to disable other snmp traps not to send.

thanks.
Userlevel 6
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
Userlevel 3
Pala, Zdenek wrote:

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

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
Userlevel 6
Pala, Zdenek wrote:

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

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
Userlevel 3
Pala, Zdenek wrote:

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

Hi Pala,

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

Reply