Hi,
I have an virtual EX switch running in GNS3 and I have configured SNMPV3:
root@SW1# show snmp | display set | no-more
set snmp v3 usm local-engine user AUTHPRIV authentication-md5 authentication-key "$9$dZsoJjHqfQFwYmfTQ9CX7NVgoDikTQnbsz3/CB1s2gojHmPQCp0GDi.PfzFreKMNd24aZGireGDiHmPRhcyWLX7-VYgRh"
set snmp v3 usm local-engine user AUTHPRIV privacy-des privacy-key "$9$DekfTn/CuBIHqtuOBSyaZGjmf369OBEik1RcyW8k.mfn/tpByevz36Apu1IVws2GD.P5Qz6Vwz36/tpX7NdgoaZUjqmX7"
set snmp v3 vacm security-to-group security-model usm security-name AUTHPRIV group SNMPV3GROUP
set snmp v3 vacm access group SNMPV3GROUP default-context-prefix security-model any security-level privacy read-view SNMPVIEW
set snmp v3 vacm access group SNMPV3GROUP default-context-prefix security-model any security-level privacy write-view SNMPVIEW
set snmp v3 target-address NMS address 192.168.1.2
set snmp v3 target-address NMS port 162
set snmp v3 target-address NMS tag-list MY_TAG
set snmp v3 target-address NMS target-parameters MY_TARGET
set snmp v3 target-parameters MY_TARGET parameters message-processing-model v3
set snmp v3 target-parameters MY_TARGET parameters security-model usm
set snmp v3 target-parameters MY_TARGET parameters security-level privacy
set snmp v3 target-parameters MY_TARGET parameters security-name test
set snmp v3 target-parameters MY_TARGET notify-filter ALL
set snmp v3 notify NOTIFY_ALL type trap
set snmp v3 notify NOTIFY_ALL tag MY_TAG
set snmp v3 notify-filter ALL oid .1 include
set snmp v3 snmp-community INDEX1 security-name EX_NMS
set snmp v3 snmp-community INDEX1 tag NMS
set snmp view SNMPVIEW oid .1 include
set snmp trap-options source-address 192.168.1.3
I am using Zabbix as the NMS agent.
Zabbix can query for SNMPV3 information and this part works perfectly, however, the device is not sending any traps, what i am missing:
[edit]
root@SW1# run show snmp inform-statistics
Inform Request Statistics:
Target name: NMS Address: 192.168.1.2
Sent: 0, Pending: 0
Discarded: 0, Timeouts: 0, Probe failures: 0
------------------------------
ALEXANDRU MINZAT
------------------------------