ping vpn-interface
Syntax
ping vpn-interfacehost<localecho-address>vpn-interfaceDescription
Check the reachability of a remote
vpn-interfacenode.The
ping vpn-interfacecommand provides the source address of the ICMP packets and refers to the appropriate VPN routing and forwarding (VRF) table to perform a route lookup.Type
Ctrl-Cto interrupt aping vpn-interfacecommand.See Also
ping,ping atm, andping mpls, andOptions
host—IP address or name of remote system to ping.
localecho-address—(Optional) Set the source IP address (the local address) in outgoingECHO_REQUESTpackets.
Ifdefault-address-selectionis configured,lo0is the source.
Ifdefault-address-selectionis not configured, outgoing interface is the source.
vpn-interface—Name of VPN interface from which to ping. Specify address including the logical interface.
If no logical interface is specified,lo0is used.Sample Output
user@vpnhost> ping vpn-interface fe-1/1/0.1 192.168.197.94 local 192.168.197.93 count 3PING 192.168.197.94 (192.168.197.94): 56 data bytes64 bytes from 192.168.197.94: icmp_seq=0 ttl=255 time=0.866 ms64 bytes from 192.168.197.94: icmp_seq=1 ttl=255 time=0.728 ms64 bytes from 192.168.197.94: icmp_seq=2 ttl=255 time=0.753 ms--- 192.168.197.94 ping statistics ---3 packets transmitted, 3 packets received, 0% packet lossround-trip min/avg/max/stddev = 0.728/0.782/0.866/0.060 ms