Ping commands in Cisco

pvanvu

Member
Feb 19, 2016
37
0
6
HI guys, I have seen my instructor uses a Ping command in cisco Network devices in order to Ping to an Address without entering to the destination device .

Its something like this :
R2#ping 192.168.1.1 from source 192.168.1.2

but the command above doesn't work because it is missing something , can you guys give me the correct command ?

thanks
 
Last edited:

RadiclDreamer

Diamond Member
Aug 8, 2004
8,622
40
91
ping 1.2.3.4 source 2.3.4.5 size 500 repeat 100

Those are some of the operators you can use, to specify the size of the icmp packet and how many pings you want to send, default is 5. If you are typing the word from, remove it. its just ping x source x you can also specify an interface to source from. Some older versions of code didnt support this feature so that could also bite you.