cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1502
Views
33
Helpful
5
Replies

OID for extended PING

hadbihas
Level 1
Level 1

I need the OID that can emulate and extended PING from a router.

ex. ping xxx.xxx.xxx source loopback1

Otherwise, how can this be accomplished from an NMS prospective.

Thanks,

5 Replies 5

cagalvez
Level 1
Level 1

Is not possible at this point, the only MIB for ?ping? features is CISCO-PING-MIB and it does not contain any OID allowing an extended ping.

You can check it by yourself at:

http://tools.cisco.com/Support/SNMP/do/BrowseMIB.do?local=en&mibName=CISCO-P

ING-MIB

awesome info, thanks alot.. I was just researching this exact thing

David Stanford
Cisco Employee
Cisco Employee

Have a look at this link:

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

This gives some info on using SNMP to perform pings, and some configurable parameters. The CISCO-PING-MIB cannot do

remote ping using another source, but IT IS possible with another MIB.

You can try to use this CISCO-RTTMON-MIB which is only supported in the newer 12.1 and 12.2 IOS versions (and later):

ftp://ftp.cisco.com/pub/mibs/v2/CISCO-RTTMON-MIB.my

Pay attention to:

RttMonEchoAdminEntry ::= SEQUENCE

{

rttMonEchoAdminProtocol RttMonProtocol,

rttMonEchoAdminTargetAddress RttMonTargetAddress,

rttMonEchoAdminPktDataRequestSize Integer32,

rttMonEchoAdminPktDataResponseSize Integer32,

rttMonEchoAdminTargetPort Integer32,

rttMonEchoAdminSourceAddress RttMonTargetAddress,

rttMonEchoAdminSourcePort Integer32,

rttMonEchoAdminControlEnable TruthValue,

rttMonEchoAdminTOS Integer32,

rttMonEchoAdminLSREnable TruthValue,

rttMonEchoAdminTargetAddressString DisplayString,

rttMonEchoAdminNameServer RttMonTargetAddress,

rttMonEchoAdminOperation RttMonOperation,

rttMonEchoAdminHTTPVersion DisplayString,

rttMonEchoAdminURL DisplayString,

rttMonEchoAdminCache TruthValue,

rttMonEchoAdminInterval Integer32,

rttMonEchoAdminNumPackets Integer32,

rttMonEchoAdminProxy DisplayString,

rttMonEchoAdminString1 DisplayString,

rttMonEchoAdminString2 DisplayString,

rttMonEchoAdminString3 DisplayString,

rttMonEchoAdminString4 DisplayString,

rttMonEchoAdminString5 DisplayString,

rttMonEchoAdminMode RttMonOperation,

rttMonEchoAdminVrfName OCTET STRING,

rttMonEchoAdminCodecType RttMonCodecType,

rttMonEchoAdminCodecInterval Integer32,

rttMonEchoAdminCodecPayload Integer32,

rttMonEchoAdminCodecNumPackets Integer32,

rttMonEchoAdminICPIFAdvFactor Integer32

}

This allows you to specify both source and target IP addresses as you can do via the CLI. However, building this table via SNMP can be a lot of work.

Thanks a lot for your help.... this is excatly what I was looking for! You are Da'MAN!

I know there are a lot of things can't be done (and easy to say as such), but if you take the time to think about it... a lot more things can be done.

This same question was made by hadbihas in TAC case 604291095 at the same time it was posted here.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco