cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
11329
Views
15
Helpful
6
Replies

snmpwalk gives timeout error - ciscoworks

secureIT
Level 4
Level 4

Hi Vinod,

I used the below syntax to check the snmpwalk to an interface of a cisco 7606-s router from an LMS 4.0 version cli.

NMSROOT/Objects/jt/bin>snmpwalk -v 2c -c <snmp-string> <ip-addr> 1.3.6.1.2.1.31.1.1.1.6

Timeout  no response from <ip_address>

This is the error im getting in cli prompt. But i could see that reports are generating.

If i try with the loopback ip address, i get proper snmpwalk outputs.

Any idea what could be the reason. I have increased the timeout and retry options..

6 Replies 6

Vinod Arya
Cisco Employee
Cisco Employee

Seems the LMS cannot reach the IP you are trying, but the Loopback is reachable. Also, you may have some security policy, per your ASA/FW which may restrict port 161 to other interface IP of the device and allows for loopback IP.

Please check if ping works for this failing IP?

If above is not the case, you may want to check if the packets reach the device or not. You can check this by looking show snmp ouput and chekcing the input packet count.

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **

The reports are coming properly after I delete and add it in Common Services and then to HUM pollers.. But still the snmpwalk to these ip address are failing. These ports are part of VRF configuration. Is there anything related to Vrf and snmp ?

Only the loopback ip addresses would be reachable via snmpwalk command and other interfaces wont be able to reach.

The command to execute the snmp walk would be as given below for an HCInOctects.

NMSROOT/Objects/jt/bin>snmpwalk -v 2c -c
ifDescr MIB is 1.3.6.1.2.1.2.2.1.2
ifHCInOctets 1.3.6.1.2.1.31.1.1.1.6
ifHCOutOctets 1.3.6.1.2.1.31.1.1.1.10


Example :- to check the ifHCInOctects

NMSROOT/Objects/jt/bin>snmpwalk -v 2c -c public 10.1.1.100 1.3.6.1.2.1.31.1.1.1.6.1
where .1 in the end stands for Gi1/1 from the output of beow ifDescr snmpwalk
NMSROOT/Objects/jt/bin>snmpwalk -v 2c -c public 10.1.1.100 1.3.6.1.2.1.2.2.1.2

where 10.1.1.100 stands for the loopback ip address of router or the ip address as configured in CommonServices for the device.

The same is applicable for ifHCInOctects.

If you want to know more about ifHCInOctects/ifHCOutOctects, please go thru the below link

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_q_and_a_item09186a00800b69ac.shtml

regards

Rajesh

                   
NMSROOT/Objects/jt/bin>snmpwalk   -v 2c -c
ifDescr MIB is   1.3.6.1.2.1.2.2.1.2
ifHCInOctets   1.3.6.1.2.1.31.1.1.1.6
ifHCOutOctets   1.3.6.1.2.1.31.1.1.1.10
NMSROOT/Objects/jt/bin>snmpwalk   -v 2c -c public 172.16.65.165 1.3.6.1.2.1.31.1.1.1.6.1
where .1 stands for Gi1/1   from ifDescr
NMSROOT/Objects/jt/bin>snmpwalk   -v 2c -c public 172.16.65.165 1.3.6.1.2.1.2.2.1.2

Mlex1
Spotlight
Spotlight

i have this problem also, this one my errors

Спрашивай все что хочешь

Привет,

 

попробуйте синтаксис ниже:

 

snmpwalk -t 10 -v 2c -c NfRcBrJvV 10.228.0.254

не получилось, это из мой ПК убунту 18,04

parvin@parvin-system:~$ snmpwalk -t 10 -v 2c -c NfRcBrJvV 10.228.0.254

Timeout: No Response from 10.228.0.254

R01#show run | s snmp
match protocol snmp
snmp-server community NfRcBrJvV RO SNMP_RO
snmp-server community yu0agooC RW SNMP_RW
snmp-server ifindex persist
snmp-server source-interface informs GigabitEthernet0/1.11
snmp-server tftp-server-list TFTP
snmp-server file-transfer access-group TFTP protocol tftp

Спрашивай все что хочешь