I can not use
ping 'target' source 'interface'
ping 192.168.0.2 source lo0 % Invalid input detected at '^' marker.
It's possible if I use "ping"
R2#ping Protocol [ip]: ip Target IP address: 192.168.0.2 Repeat count : Datagram size : Timeout in seconds : Extended commands [n]: y Source address or interface: loopback0 Type of service : Set DF bit in IP header? [no]: Validate reply data? [no]: Data pattern [0xABCD]: Loose, Strict, Record, Timestamp, Verbose[none]: Sweep range of sizes [n]: Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.0.2, timeout is 2 seconds: Packet sent with a source address of 192.168.1.1 !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 2/25/59 ms
That's time consuming! I'd like to use the "shortcut command" but I can't! Any suggestion?
I'm trying ping 192.168.0.2 (R2) source 192.168.1.1 (Loopback0)