SNMP problem with IOS XR

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
miguel
Posts: 10
Joined: Wed Apr 01, 2009 9:49 pm
Location: Rio de Janeiro, Brazil

SNMP problem with IOS XR

Post by miguel »

I have Cacti on Fedora 10 and its working fine with cisco routers on my network, but I have some cisco routers running IOS XR and when I add one of theese routers I get :
SNMP Information
SNMP error

and if I change junt for ping I get :
Ping Results
UDP Ping Success (4.98 ms)


What can I do ?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Enable snmp on the router and manually verify it's reachable with snmpwalk.
miguel
Posts: 10
Joined: Wed Apr 01, 2009 9:49 pm
Location: Rio de Janeiro, Brazil

Post by miguel »

BSOD2600 wrote:Enable snmp on the router and manually verify it's reachable with snmpwalk.

Sorry i´ve never used snmpwalk, how can I use it ?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Install net-snmp, then run snmpwalk -h to get a list of commands... Or use whatever SNMP verification tool you're comfortable with.
miguel
Posts: 10
Joined: Wed Apr 01, 2009 9:49 pm
Location: Rio de Janeiro, Brazil

Post by miguel »

Im getting :

Timeout: No Response from 10.108.1.32

I don't know what to do, because in my network I have other software getting snmp from this router without problem.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Well time to start some diagnostics to find out why the Cacti server is unable to get SNMP.
Firewalls?
ACLs?
wrong community?
miguel
Posts: 10
Joined: Wed Apr 01, 2009 9:49 pm
Location: Rio de Janeiro, Brazil

Post by miguel »

I have no firewall between CACTI and router, the acl is the same for all other routers and the other I can get snmp, and the coomunity is correct, I think the problem is with IOS XR, other IOS is working fine.

Anyone have configured CACTI with IOS XR yet ?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

snmpwalk .1.3.6.1.2.1.1.1 from your cacti server. It the device does not spit out any data, thats why cacti is having issues.
miguel
Posts: 10
Joined: Wed Apr 01, 2009 9:49 pm
Location: Rio de Janeiro, Brazil

Post by miguel »

I just get timeout
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Well there you go. You need to troubleshoot that snmp timeout issue from your cacti server to the Cisco router.
miguel
Posts: 10
Joined: Wed Apr 01, 2009 9:49 pm
Location: Rio de Janeiro, Brazil

Post by miguel »

I have no idea, because in my CACTI server every other routers is working fine, only with my router with IOS XR I have this problem, and CACTI have connectivity with this IOS XR router and we have other program who can get snmp from this IOS XR router. Anybody have configured CACTI with IOS XR yet ?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

The fact a snmpwalk fails from the cacti server proves its not a Cacti specific failure or issue.
miguel
Posts: 10
Joined: Wed Apr 01, 2009 9:49 pm
Location: Rio de Janeiro, Brazil

Post by miguel »

Yes, I know thats CACTI is working fine, my question is How can I make IOS XR work with CACTI, because CACTI is working fine with routers with IOS, and routers with IOS XR are working fine with others snmp programs.
meralias
Posts: 46
Joined: Tue Nov 14, 2006 7:07 am

Post by meralias »

Things to verify: you're using the right version for the SNMP request and you have the right community string (for v1 or v2c) or user/pass credentials (v3). Also check whether the SNMP settings on the remote device have an ACL applied so that only certain hosts are allowed to query.

Typically, when using net-snmp, i'll use the following command to see if it is working:

Code: Select all

snmpwalk -v 1 -c community host .1.3.6.1.2.1.1.5

replacing 'community' with the community string and 'host' with the remote host name. If you want to see if V2c is working, replace the '1' with '2c'. I don't have the v3 options at hand but have them in a notes file somewhere if you'd need help with testing v3.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests