Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Continuous Ping?

1 view
Skip to first unread message

Mike

unread,
Jul 24, 2001, 9:27:43 AM7/24/01
to
Everyone,

Sorry for the newbie question, but is there any command within Cisco's IOS
to perform a continuous ping? For example, if I wanted to test connectivity
from a windows 2k machine's command line, I would type [ping x.x.x.x -t] and
it would keep pinging until I did the break sequence. Anything like is in
the IOS? I'm using 12.1 on a Cisco 2612 router.

Thanks,

>Mike

Tassos Chatzithomaoglou

unread,
Jul 24, 2001, 9:55:02 AM7/24/01
to Mike
You can use the extended ping command through the enable mode:

router#ping
Protocol [ip]:
Target IP address: 10.200.100.65
Repeat count [5]: 10000 <- enter here as much as you like
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 10000, 100-byte ICMP Echos to 10.200.100.65, timeout is 2 seconds:

Leave everything to default and change only the "Repeat count" number...

--
***************************
Chatzithomaoglou Anastasios
Network Operations Center
FORTHnet S.A.
<ach...@forthnet.gr>
***************************

John Hardman

unread,
Jul 24, 2001, 10:04:31 AM7/24/01
to
Hi

No not really continous, but you can use the exec version of ping and
specify a very large number for the count. The syntax is...

Router# ping
Protocol [IP]:
Target IP address: x.x.x.x
Repeat count [5]: very large number here


Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:

HTH
--
John Hardman CCNP MCSE


"Mike" <dontt...@all.com> wrote in message
news:jJe77.66699$Lc3.12...@typhoon.jacksonville.mediaone.net...

Vincent C Jones

unread,
Jul 26, 2001, 11:41:31 PM7/26/01
to
Depending upon why you want to do it, you may find it easier to
generate the traffic by turning on a routing protocol and configuring
explicit peer neighbors. Not as easy or generic, but something that
will come back after a router reload (unlike a ping, which requires
terminal input).

Good luck and have fun!

Vincent C Jones

In article <Pff77.39711$Cy.48...@news1.rdc1.az.home.com>,

--
VCJ...@NetworkingUnlimited.com Author of the Addison-Wesley book
Computer Network Consultant High Availability Networking with
http://www.networkingunlimited.com Cisco, see the web link for info.

CommsBloke

unread,
Jul 27, 2001, 6:27:06 PM7/27/01
to
Mike

Also have a look if you have the rtr command available you may need IP-Plus
but later IOS versions have it as standard. With rtr you can set up up to
500 constant pings. The router will keep track of response times. The router
will also send you a trap when connectivity is lost or respone time goes
over threshold. In addition min and average response times are held in thr
router and are available to the command line and snmp polling.

Hope this helps
Commsbloke

"Mike" <dontt...@all.com> wrote in message
news:jJe77.66699$Lc3.12...@typhoon.jacksonville.mediaone.net...

0 new messages