08-01-2019 11:33 AM
Hi.
I have successfully gotten the CSPC to communicate and pull data from routers and switches in our environment up to the portal.
However, I have been unable to get the collector to pull anything from our 5520 wireless lan controller. I have tried snmpv2 and v3 with the same result. I can ping the controller from the CSPC.
The error I get is "Device Unreachable or Incorrect SNMP Credentials."
I know the SNMPv3 user is setup correctly on the WLC because we use Prime with the same credentials and are able to connect just fine
Any ideas?
Thanks
Fred
Solved! Go to Solution.
08-02-2019 08:15 AM
08-01-2019 12:50 PM
Hey antnsgl,
I see in post https://community.cisco.com/t5/smart-net-total-care-portal-and/snmp-walk/m-p/3901675#M11687 that you are trying to access root for snmpwalk command. That will assist with your issue here to troubleshoot polling the WLC 5520.
First, we need to get into root access. Based on the other post "The only account I have for the collector is the initial one I setup when installing the collector.", im guessing you have the 'admin' login for the CLI of the collector correct? If so, we can run 'pwdreset collectorlogin 90' and 'pwdreset root 90' from the admin access. These two commands will generate passwords for the respective logins. Please save these in your records for future use.
Once the passwords are created, then try running the snmpwalk commands seen below.
SNMPv2c:
snmpwalk -v 2c -c ROCommunityString DeviceIPAddress
SNMPv3:
snmpwalk -v 3 -u Username -l SecurityLevel (AuthPriv/AuthNoPriv) -a AuthProtocol (SHA/MD5) -A AuthPasswd -x EncryptionProtocol (DES/AES) -X EncryptionPasswd DeviceIPAddress
Thanks,
Justin
08-01-2019 02:53 PM
Thanks, Justin.
I will give that a try and let you know the results.
08-02-2019 07:52 AM
Hi.
I have run the snmpwalk successfully from the collector to the WLC. I get an error that says "No response from x.x.x.x"
I enabled the debugs on the WLC and I can see the packets from the collector, here is the conversation:
*SNMPTask: Aug 02 07:30:12.158: [SA] SNMPD: Packet from: X.X.X.X:39051, in_packet_len = 42
*SNMPTask: Aug 02 07:30:12.158: [SA] SNMPD: calling srDoSnmp.
*SNMPTask: Aug 02 07:30:12.158: [SA] SNMPD: received get-next pdu
*SNMPTask: Aug 02 07:30:12.158: [SA] SNMPD:calling do_response
*SNMPTask: Aug 02 07:30:12.158: [SA] Searching for next instance of sysDescr
*SNMPTask: Aug 02 07:30:12.158: [SA] SNMPD: Sending SNMP packet to X.X.X.X:39051, out_packet_len = 61
*SNMPTask: Aug 02 07:30:13.159: [SA] SNMPD: Packet from: X.X.X.X:39051, in_packet_len = 42
*SNMPTask: Aug 02 07:30:13.159: [SA] SNMPD: calling srDoSnmp.
*SNMPTask: Aug 02 07:30:13.159: [SA] SNMPD: received get-next pdu
*SNMPTask: Aug 02 07:30:13.159: [SA] SNMPD:calling do_response
*SNMPTask: Aug 02 07:30:13.159: [SA] Searching for next instance of sysDescr
*SNMPTask: Aug 02 07:30:13.159: [SA] SNMPD: Sending SNMP packet to X.X.X.X:39051, out_packet_len = 61
*SNMPTask: Aug 02 07:30:13.630: [SA] SNMPD: Packet from: X.X.X.X:32450, in_packet_len = 234
*SNMPTask: Aug 02 07:30:13.630: [SA] SNMPD: calling srDoSnmp.
*SNMPTask: Aug 02 07:30:13.630: [SA] SNMPD: received get pdu
*SNMPTask: Aug 02 07:30:13.630: [SA] SNMPD:calling do_response
*SNMPTask: Aug 02 07:30:13.630: [SA] Searching for requested instance of bsnRogueAPAirespaceAPWepMode
*SNMPTask: Aug 02 07:30:13.630: [SA] Searching for requested instance of bsnRogueAPAirespaceAPWpaMode
*SNMPTask: Aug 02 07:30:13.630: [SA] Searching for requested instance of cLRogueAPDetectingAPWpa2Mode
*SNMPTask: Aug 02 07:30:14.161: [SA] SNMPD: Packet from: X.X.X.X:39051, in_packet_len = 42
*SNMPTask: Aug 02 07:30:14.161: [SA] SNMPD: calling srDoSnmp.
*SNMPTask: Aug 02 07:30:14.161: [SA] SNMPD: received get-next pdu
*SNMPTask: Aug 02 07:30:14.161: [SA] SNMPD:calling do_response
*SNMPTask: Aug 02 07:30:14.161: [SA] Searching for next instance of sysDescr
*SNMPTask: Aug 02 07:30:14.161: [SA] SNMPD: Sending SNMP packet to X.X.X.X:39051, out_packet_len = 61
08-02-2019 08:15 AM
08-02-2019 12:14 PM
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