Monitoring, Management & Location Tracking

Cisco Switch Is Not Populating Connected Device Table When We Use SNMP Version 3

MVP Expert
MVP Expert
Problem:


Below, we can see the Connected devices table empty for Cisco Switch on Airwave when using snmpv3



Diagnostics:


This will work when we are using snmpv2.

In the PCAP below, we can see the error "error-status:authorizationError (16)" in the get-response.

 


 



Solution


We can add the below configuration to the Cisco switch to get this issue addressed.

******Log in to switch *******

# configure terminal

 

Cisco3850Switch(config)# snmp-server view WD_SNMPv3 iso included                                                                                               

---- the above command is creating WD_SNMPv3 view

 

Cisco3850Switch(config)# snmp-server group WD_SNMPv3_Group v3 priv context vlan- match prefix read v1default    

---- the above command : 'v1default' is a default view

 

Cisco3850Switch(config)#snmp-server group WD_SNMPv3_Group v3 priv read WD_SNMPv3       

---- the above command,  'WD_SNMPv3' is manually created view

 

# exit

#write memory

 

Verification

 

Cisco3850Switch# show run | include snmp

snmp-server group WD_SNMPv3_Group v3 priv read WD_SNMPv3

snmp-server group WD_SNMPv3_Group v3 priv context vlan- match prefix

snmp-server view WD_SNMPv3 iso included

 

Cisco3850Switch# show snmp view

WD_SNMPv3 iso - included nonvolatile active

v1default iso - included permanent active

v1default internet - included permanent active

v1default snmpUsmMIB - excluded permanent active

v1default snmpVacmMIB - excluded permanent active

v1default snmpCommunityMIB - excluded permanent active

v1default ciscoMgmt.252 - excluded permanent active

 

Cisco3850Switch# show snmp group

groupname: WD_SNMPv3_Group                  security model:v3 priv

contextname: <no context specified>         storage-type: nonvolatile

readview : WD_SNMPv3                        writeview: <no writeview specified>

notifyview: <no notifyview specified>

row status: active

 

groupname: WD_SNMPv3_Group                  security model:v3 priv

contextname: vlan-                          storage-type: nonvolatile

readview : v1default                        writeview: <no writeview specified>

notifyview: <no notifyview specified>

row status: active

 

***** Create user "WD_SNMPv3_SHAAES128" with sha1 and aes

***** We created user from UI and assign group "WD_SNMPv3_Group" to that user

Version history
Revision #:
2 of 2
Last update:
3 weeks ago
Updated by:
 
Labels (1)
Contributors
Tags (2)
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: