10-27-2021 07:08 AM
I have a WS-C2960X-24PS-L that cannot communicate with a monitoring collector. It's configured to run SNMPv3. I've compared the config to working devices and cannot see an issue. When I enabled term mon I got the following output:
Oct 27 13:55:07.731: SNMP: Packet received via UDP from 10.1.3.31 on Vlan12
Oct 27 13:55:07.731: SNMP: Get-next request, reqid 708278299, errstat 0, erridx 0
Oct 27 13:55:07.731: TAP-MIB OID - cannot display
Oct 27 13:55:07.731: SNMP: Response, reqid 708278299, errstat 0, erridx 0
mcacore1#sh snmp
Chassis: mcacore1
Contact: Dana_Warren
Location: MCA
15340028 SNMP packets input
17 Bad SNMP version errors
4126 Unknown community name
0 Illegal operation for community name supplied
46 Encoding errors
14446716 Number of requested variables
0 Number of altered variables
2993444 Get-request PDUs
1859821 Get-next PDUs
0 Set-request PDUs
0 Input queue packet drops (Maximum queue size 1000)
15322345 SNMP packets output
0 Too big errors (Maximum packet size 1500)
0 No such name errors
0 Bad values errors
0 General errors
2507125 Response PDUs
0 Trap PDUs
Here's the relevant config:
interface Vlan12
ip address 10.120.254.20 255.255.0.0
no ip redirects
!
ip access-list standard SNMP_ACL
permit 10.1.0.0 0.0.255.255
permit 10.8.0.0 0.0.255.255
permit 10.120.0.0 0.0.255.255
snmp-server group network-admin v3 priv write NIBCO_VIEW access SNMP_ACL
snmp-server group network-operator v3 priv read NIBCO_VIEW access SNMP_ACL
snmp-server view NIBCO_VIEW internet included
snmp-server community public RO
snmp-server community N1bc0_R0 RO
snmp-server location MCA
snmp-server contact Dana_Warren
snmp-server chassis-id mcacore1
mcacore1#sh snmp context
vlan-1
vlan-10
vlan-11
vlan-12
vlan-16
vlan-100
vlan-1002
vlan-1003
vlan-1004
vlan-1005
mcacore1#sh snmp user
User name: admin
Engine ID: 8000000903005017FF1B2B01
storage-type: nonvolatile active access-list: SNMP_ACL
Authentication Protocol: SHA
Privacy Protocol: AES128
Group-name: network-admin
User name: marbachg
Engine ID: 8000000903005017FF1B2B01
storage-type: nonvolatile active access-list: SNMP_ACL
Authentication Protocol: SHA
Privacy Protocol: AES128
Group-name: network-admin
User name: operator
Engine ID: 8000000903005017FF1B2B01
storage-type: nonvolatile active access-list: SNMP_ACL
Authentication Protocol: SHA
Privacy Protocol: AES128
Group-name: network-operator
I couldn't find any information anywhere on this output. Might this be a bug?
Thanks
10-27-2021 09:41 AM
- Could be a bug , check current software version on the 2960. Use an advisory release if applicable , check if that can help.
M.
10-27-2021 10:01 AM
Hello,
which monitoring software are you using ?
What if you use SNMPv2 ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide