cisco ping repeat - Справочные материалы - Системное администрирование - Каталог статей - Архив документации и мануалов для админов

Воскресенье, 11.12.2016, 13:53
Приветствую Вас Гость | RSS
Мой сайт
Главная
Регистрация
Вход
Форма входа

Меню сайта

Категории раздела
Об ОС Windows [137]
В категории размещаются статьи, касающщиеся операционных систем от Microsoft.
Об ОС *Nix [198]
В данной категории собраны статьи об ОС семейства Unix/Linux/FreeBSD/...
Справочные материалы [351]
Справка по всему разделу.
Виртуализация и Облака [46]
Networks & Routing [86]
DataBases [22]

Наш опрос
Оцените мой сайт
Всего ответов: 193

Статистика

Онлайн всего: 1
Гостей: 1
Пользователей: 0

Главная » Статьи » Системное администрирование » Справочные материалы

cisco ping repeat

ping x.x.x.x repeat x

Filed under: Cool Commands — cciepursuit @ 9:59 pm

Ah, the mighty ping.  I use this command every damned day, so you would think that I would know this command very well.  If you did so, you would be completely underestimating how incredibly lame I am.

I know how to send a simple, 5 packet ping a la "ping 10.1.1.1″.  I also know how to send an "extended ping” by simply typing  "ping” + ‘enter’ and filling in the information at the prompts.  The most frustrating thing about the extended ping is that a lot of the time I type the IP address at the "Protocol [ip]” prompt instead of hitting ‘enter’:

Simple Ping:
router#ping 10.1.1.1 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/7/8 ms

Extended Ping:
router#ping
Protocol [ip]:
Target IP address: 10.1.1.1
Repeat count [5]: 100
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 100, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (100/100), round-trip min/avg/max = 4/7/8 ms
What I Usually Do:
router#ping
Protocol [ip]: 10.1.1.1
% Unknown protocol - "10.1.1.1", type "ping ?" for help

FUCK!!!!

A couple of months ago I was troubleshooting with a collegue over my shoulder.  I did an extended ping and of course put the IP address in the "Protocol [ip]” prompt.  Argh!!!!  My co-worker then showed me a cool variation of the ping command.  Simply type "ping ip” and then ‘enter’.  This will start the extended ping prompt, but safely bypass the stupid "Protocol [ip]” prompt.

Danger Averted:
router#ping ip
Target IP address: 10.1.1.1
Repeat count [5]: 100
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 100, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (100/100), round-trip min/avg/max = 4/7/8 ms

Up until this week, that was the coolest ping tip I had ever received.

95% of the time I use an extended ping simply to send more than the standard 5 packets.  "ping ip” + ‘enter’ + IP Address + Number of pings + ‘enter’ + ‘enter’+ ‘enter’ + ‘enter’.  I am no longer a slave to the extended ping prompts now that I have tapped the power of the "ping x.x.x.x repeat x” command.

Sweet:
router#ping 10.1.1.1 repeat 100
Type escape sequence to abort.
Sending 100, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (100/100), round-trip min/avg/max = 4/7/8 ms
If I want to get fancy, I can throw in the datagram size by simply tacking on "size x":

Changing the Datagram Size and Conserving Keystrokes:
router#ping 10.1.1.1 re 100 si 1500
Type escape sequence to abort.
Sending 100, 1500-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (100/100), round-trip min/avg/max = 8/8/12 ms

Now I only need to use the extended ping prompts in those rare occasions that I need to use extended commands or sweeps.

Command Reference:
ping ip
To test network connectivity on IP networks, use the ping ip command in privileged EXEC mode.

ping ip {host-name | ip-address} [data [hex-data-pattern] | df-bit | repeat [repeat-count] | size [datagram-size] [timeout seconds] [validate] [verbose]

1 Comment »



Источник: http://cciepursuit.wordpress.com/2007/04/04/ping-xxxx-repeat-x/
Категория: Справочные материалы | Добавил: admin (17.07.2012)
Просмотров: 1969 | Комментарии: 6 | Теги: CISCO, ping, wan | Рейтинг: 0.0/0
Всего комментариев: 5
5  
509585 http://happyloansbc.co.uk/#991815 my payday loan phone number http://happyloansbc.co.uk/#420200 - happyloansbc.co.uk payday america in bloomington mn

4  
With advanced programming techniques utilizing AI (Artificial Intelligence) .... EMR practices access encouraged doctors a better to in cash decision other patient ... п»ї985864 http://pay-day-loanscom.pro/#572245 payday loan avengers http://pay-day-loanscom.pro/#26382 - Pay day loans payday loan madison wi AUSTRALIAN EDUCATION TRUST (AEU:AU) stock price & investing information. ... Stock Quote · AEU:AU Advanced Stock Chart ... Price/Cash Flow, 12.4x ...

3  
cf63 http://kamagrapharm.co.uk/#rb04 buy cheap kamagra http://kamagrapharm.co.uk/#el72 - buy kamagra buy generic kamagra

2  
g44j http://clomid-ph.net/#uv93 purchasing generic clomid http://clomid-ph.net/#yj27 - www.clomid-ph.net purchase clomid online ovulation

1  
bb42 http://tadalafilph.pro/#xj66 Tadalafil http://tadalafilph.pro/#wh95 - www.tadalafilph.pro discount tadalafil

Имя *:
Email *:
Код *:
Поиск

Друзья сайта
  • Официальный блог
  • Сообщество uCoz
  • FAQ по системе
  • Инструкции для uCoz


  • Copyright MyCorp © 2016