08-31-2006 10:09 AM
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,
08-31-2006 10:59 AM
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
08-31-2006 12:12 PM
awesome info, thanks alot.. I was just researching this exact thing
08-31-2006 11:15 AM
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.
08-31-2006 01:08 PM
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.
09-04-2006 03:40 AM
This same question was made by hadbihas in TAC case 604291095 at the same time it was posted here.
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: