[Contents] [Prev] [Next] [Index] [Report an Error]


ping vpn-interface

Syntax

ping vpn-interface host <local echo-address> vpn-interface

Description

Check the reachability of a remote vpn-interface node.

The ping vpn-interface command 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-C to interrupt a ping vpn-interface command.

See Also

ping, ping atm, and ping mpls, and

Options

host—IP address or name of remote system to ping.

local echo-address—(Optional) Set the source IP address (the local address) in outgoing ECHO_REQUEST packets.
If default-address-selection is configured, lo0 is the source.
If default-address-selection is 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, lo0 is used.

Sample Output

user@vpnhost> ping vpn-interface fe-1/1/0.1 192.168.197.94 local 

192.168.197.93 count 3 
PING 192.168.197.94 (192.168.197.94): 56 data bytes 
64 bytes from 192.168.197.94: icmp_seq=0 ttl=255 time=0.866 ms 
64 bytes from 192.168.197.94: icmp_seq=1 ttl=255 time=0.728 ms 
64 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 loss 
round-trip min/avg/max/stddev = 0.728/0.782/0.866/0.060 ms

[Contents] [Prev] [Next] [Index] [Report an Error]