Faied to receive SNMPv3 trap from S5720HI switch

Publication Date:  2015-07-02 Views:  232 Downloads:  0
Issue Description

The task was to config sending traps from S5720HI  switch V200R007C00SPC500  to NMS host   via SNMPv3.

According product documentation the following  config was done:

info-center enable

snmp-agent
snmp-agent local-engineid 800007DB0394049CC80030
snmp-agent sys-info version v3
snmp-agent target-host trap address udp-domain 10.10.10.14 params securityname <username> v3 privacy
snmp-agent usm-user v3 <username>
snmp-agent usm-user v3 <username> group <groupname>
snmp-agent usm-user v3 <username> authentication-mode sha cipher <password>
snmp-agent usm-user v3 <username> privacy-mode aes128 cipher      <password>
snmp-agent trap source Vlanif10
snmp-agent trap enable

We used privacy: bout authentication and encryption.   At host 10.10.10.14 capturing via WireShark was running.

At switch some traps were emulated (like shutdowning interface).  But at capture there was no reaction.

Alarm Information
No special alarms appeared.
Handling Process

Checked

1. Authentication and encryption password

2. username and params securityname must be the same

3. Switch and NMS host network connection

4. Check once documentation and examples

Root Cause

Two extra command must be added to snmp section config

 

snmp-agent group v3 grhuawei privacy read-view isoview write-view isoview notify-view isoview

snmp-agent mib-view included isoview iso

Solution
Add additional commands. Even you don't need to restrict by   excluded | included mib you need to config  notify-view  to receive traps.
Suggestions
Study product documentation more carefully, study configuration examples.

END