probe (ICMP Router Discovery)
Syntax
probe <proxy-ip-address-or-hostname> <by-address> <by-index> <by-name> <by-remote-address> <count> <detail> <inet> <inet6> <interface> <interval> <logical-system> <routing-instance> <source> <tos> <ttl> <wait>
Description
Query the status of the probed interface.
Options
by-address | (Optional) Probe a local interface by address. |
by-index | (Optional) Probe a local interface by index. |
by-name | (Optional) Probe a local interface by name. |
by-remote-address | (Optional) Probe a remote interface by remote address. |
count | (Optional) Specify the number of probe requests or packets sent out.
|
detail | (Optional) Display details of the incoming interface of the received packet. |
inet | (Optional) Force probe to IPv4 network family destination. |
inet6 | (Optional) Force probe to IPv6 network family destination. |
interface interface-name | (Optional) Specify the source interface to send the probe requests. |
interval seconds | (Optional) Specify the time interval between the probe requests.
|
logical-system logical-system-name | (Optional) Specify the name of the logical system used to send the probe requests. |
routing-instance routing-instance-name | (Optional) Specify the routing instance for the probe attempt. |
source source-address | (Optional) Specify the source IP address of the probing interface. |
tos type-of-service | (Optional) Specify the type-of-service (ToS) field in the IP header of the probe packets.
|
ttl value | (Optional) Specify the time-to-live (TTL) value for IPv4 packets and hop-limit value for IPv6 packets for the number of hops/devices to cross.
|
wait seconds | (Optional) Specify the maximum wait time in seconds after the final packet is sent. If this option is not specified, the default delay is 10 seconds.
|
Required Privilege Level
system-To view this statement in the configuration.
Output Fields
Table 1 lists the output fields for the probe
command. The output fields are listed in the appropriate
order in which they appear.
Field Name |
Field Description |
Level of Output |
---|---|---|
|
ICMP sequence number of the proxy IP address. |
All levels |
|
Time to live value (maximum IPv6 hop-limit-value) of the packets sent—0 to 255. |
none |
|
ICMP code values where—0 indicates No Error, 1 indicates Malformed Query, 2 indicates No Such Interface, 3 indicates No Such Table Entry, and 4 indicates Multiple Interfaces Satisfy Query. |
All levels |
|
State values are—0 indicates Reserved, 1 indicates Incomplete, 2 indicates Reachable, 3 indicates Stale, 4 indicates Delay, 5 indicates Probe, and 6 indicates Failed. |
All levels |
|
Inactive/active state (0 indicates inactive state and 1 indicates active state) of the IPv4 or IPv6 address configured. |
All levels |
|
Unconfigured/configured state (0 indicates unconfigured and 1 indicates configured state) of IPv4 address. |
All levels |
|
Unconfigured/configured state (0 indicates unconfigured and 1 indicates configured state) of IPv6 address. |
All levels |
|
Time taken time taken to receive the reply after the request is transmitted in milliseconds (ms). |
All levels |
|
Hop limit to the destination. |
detail |
Sample Output
- Probing Proxy IP Address Using Interface Names of the Probed Interface that Resides in the Proxy Node
- Probing Proxy IP Address Using Interface-index of the Probed Interface that Resides in the Proxy Node
- Probing Proxy IP Address Using IPv4 or IPv6 Address Configured in the Probed Interface on the Proxy Node
- Probing the Proxy IP Address Configured on the Proxy Node for Information About the Probed IP Address Configured on the Probed Node
- Probing the Proxy IP Address for Information About the Probed Interface
- Probing the Proxy IP Address for Information About the Probed Interface Details Using the Probed Interface Name That Resides on the Proxy Node
Probing Proxy IP Address Using Interface Names of the Probed Interface that Resides in the Proxy Node
user@host> probe 2001:db8:1::10 by-name ge-0/0/1.0 count 1 PROBE6(74=40+8+26 bytes) 2001:db8:1::10 --> 2001:db8:1::11 34 bytes from 2001:db8:1::11, icmp_seq=0 hlim=255 code=0 state=0 active=1 IPv4=1 IPv6=1 time=4.750 ms --- 2001:db8:1::10 probe6 statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/std-dev = 0.231/0.231/0.231/0.000 ms
Probing Proxy IP Address Using Interface-index of the Probed Interface that Resides in the Proxy Node
user@host> probe 10.0.1.10 by-index 333 count 2 PROBE 10.0.1.10 (10.0.1.10): 28 bytes from 10.0.1.10: icmp_seq=0 ttl=255 code=0 state=0 active=1 IPv4=1 IPv6=1 time=6.767 ms 28 bytes from 10.0.1.10: icmp_seq=1 ttl=255 code=0 state=0 active=1 IPv4=1 IPv6=1 time=3.796 ms --- 10.0.1.10 probe statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 3.796/5.282/6.767/1.485 ms
Probing Proxy IP Address Using IPv4 or IPv6 Address Configured in the Probed Interface on the Proxy Node
user@host> probe 2001:db8:1::11 by-address 10.0.12.1 count 1 PROBE6(72=40+8+24 bytes) 2001:db8:1::10 --> 2001:db8:1::11 32 bytes from 2001:db8:1::11, icmp_seq=0 hlim=255 code=0 state=0 active=1 IPv4=1 IPv6=1 time=6.443 ms --- 2001:db8:1::11 probe6 statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/std-dev = 6.443/6.443/6.443/0.000 ms
Probing the Proxy IP Address Configured on the Proxy Node for Information About the Probed IP Address Configured on the Probed Node
user@host> probe 10.0.1.10 by-remote-address 10.0.12.22 count 1 PROBE 10.0.1.10 (10.0.1.10): 32 bytes from 10.0.1.10: icmp_seq=0 ttl=255 code=3 state=0 active=0 IPv4=0 IPv6=0 time=5.054 ms --- 10.0.1.10 probe statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 5.054/5.054/5.054/0.000 ms
Probing the Proxy IP Address for Information About the Probed Interface
user@host> probe 10.0.1.10 by-address 10.0.12.21 count 1 PROBE 10.0.1.10 (10.0.1.10): 32 bytes from 10.0.1.10: icmp_seq=0 ttl=255 code=2 state=0 active=0 IPv4=0 IPv6=0 time=4.569 ms --- 10.0.1.10 probe statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 4.569/4.569/4.569/0.000 ms
Probing the Proxy IP Address for Information About the Probed Interface Details Using the Probed Interface Name That Resides on the Proxy Node
user@host> probe 2001:db8:1::11 by-name ge-0/0/1.0 detail PROBE6(74=40+8+26 bytes) 2001:db8:1::10 --> 2001:db8:1::11 34 bytes from 2001:db8:1::11 via ge-0/0/0.0: icmp_seq=0 hlim=255 code=0 state=0 active=1 IPv4=1 IPv6=1 time=10.021 ms 34 bytes from 2001:db8:1::11 via ge-0/0/0.0: icmp_seq=1 hlim=255 code=0 state=0 active=1 IPv4=1 IPv6=1 time=37.991 ms 34 bytes from 2001:db8:1::11 via ge-0/0/0.0: icmp_seq=2 hlim=255 code=0 state=0 active=1 IPv4=1 IPv6=1 time=3.705 ms 34 bytes from 2001:db8:1::11 via ge-0/0/0.0: icmp_seq=3 hlim=255 code=0 state=0 active=1 IPv4=1 IPv6=1 time=7.961 ms 34 bytes from 2001:db8:1::11 via ge-0/0/0.0: icmp_seq=4 hlim=255 code=0 state=0 active=1 IPv4=1 IPv6=1 time=5.936 ms ^C --- 2001:db8:1::11 probe6 statistics --- 5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max/std-dev = 3.705/13.123/37.991/12.610 ms
Release Information
Command introduced in Junos OS Release 20.3R1.