how to configure snmp trap to send only when linkup linkdown
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎12-29-2015 07:38 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎12-29-2015 10:52 AM
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
Good luck
Regards
Zdeněk Pala
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎12-29-2015 10:52 AM
Hi Pala,
Thank you and it is very informative. Really appreciate your help on this.
Thank you and it is very informative. Really appreciate your help on this.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎12-29-2015 10:52 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎12-29-2015 10:52 AM
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
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
