01-19-2022 02:27 AM
How to ping destination IP address by using source IP in Cisco ACI Cli mode
Solved! Go to Solution.
01-19-2022 04:19 AM - edited 01-20-2022 08:23 AM
Leaf1201# iping -V <TN-name:VRF-name> -S <SRC-IP> <DST-IP> Leaf1201# iping -help usage: iping [ -d set the SO_DEBUG option] [ -D enable debug information ] [ -F enable do not fragment bit in IP header ] [ -L receive packets on supplied interface ] [ -n enable printing host IP address than resolved name ] [ -q quiet output ] [ -r disable routing of the packets, send only to directly connected hosts ] [ -v output in verbose format ] [ -V <vrf-name> name of the VRF through which destination is reachable ] [ -c <count> no of packets to send ] [ -i <wait> no of seconds to wait before sending next packet ] [ -p <pattern> packet payload pattern ] [ -s <packetsize> size of packets to send ] [ -t <timeout> wait for seconds to receive reply ] [ -S <source ip/interface> send packet with given source-ip or IP of given interface and send packet out of that interface ] <host> destination host-name or ip address
01-19-2022 04:19 AM - edited 01-20-2022 08:23 AM
Leaf1201# iping -V <TN-name:VRF-name> -S <SRC-IP> <DST-IP> Leaf1201# iping -help usage: iping [ -d set the SO_DEBUG option] [ -D enable debug information ] [ -F enable do not fragment bit in IP header ] [ -L receive packets on supplied interface ] [ -n enable printing host IP address than resolved name ] [ -q quiet output ] [ -r disable routing of the packets, send only to directly connected hosts ] [ -v output in verbose format ] [ -V <vrf-name> name of the VRF through which destination is reachable ] [ -c <count> no of packets to send ] [ -i <wait> no of seconds to wait before sending next packet ] [ -p <pattern> packet payload pattern ] [ -s <packetsize> size of packets to send ] [ -t <timeout> wait for seconds to receive reply ] [ -S <source ip/interface> send packet with given source-ip or IP of given interface and send packet out of that interface ] <host> destination host-name or ip address
01-20-2022 07:26 AM - edited 01-20-2022 07:26 AM
Before issuing the iping command do a "show vrf" to grab the VRF listing, (for copy and paste). Make it easier to get the VRF syntax correct which is a combination of the Tenant & VRF name as shared above.
Robert
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: