Reachability Commands
Use the
ping
and
traceroute
commands to determine reachability of destinations in
the network.
■
Use the
ping
command to send an ICMP or ICMPv6 echo request packet. In the
following example, the request packet is sent to IP address 192.35.42.1, with a
packet count of 10 and a timeout value of 10 seconds:
host1#
ping 192.35.42.1 10 timeout 10
■
Use the
traceroute
command to discover routes that router packets follow when
traveling to their destination. In the following example, the trace destination IP
address is 192.56.20.1, the maximum number of hops of the trace is 20, and
the timeout value is 10 seconds:
host1#
traceroute 192.56.20.1 20 timeout 10
ping
■
Use to send an ICMP or ICMPv6 echo request packet to the IP address that you
specify.
■
You can specify a VRF context.
■
Use the
source interface
keywords to specify a source interface other than the
one from which the probe originates.
■
Use the
source address
keywords to specify a source IP address other than the
one from which the probe originates.
■
You can specify the following options:
■
packetCount
—Number of packets to send to the destination IP address. If
you specify a zero (0), echo requests packets are sent indefinitely.
■
data-pattern
—Sets the type of bits contained in the packet to all ones, all
zeros, a random mixture of ones and zeros, or a specific hexadecimal data
pattern that can range from 0x0–0xFFFFFFFF. The default is all zeros.
■
data-size
—Sets the number of bytes comprising the IP packet and reflected
in the IP header in the range 0–64000; the default is 100 bytes.
■
extended
header attributes—Set the following:
■
A value to be set in the type of service (ToS) byte, in the range 0–255,
to support quality of service (QoS) offerings
■
Don’t-fragment bit to prevent IP from fragmenting the packet if it is too
long for the MTU of a given link; if the nonfragmented packet cannot
be delivered, it is discarded.
■
Strict-source or loose-source routing, including the IP address of the hops
the packets must traverse. For loose-source-route, you specify some or
all of the hops, but they do not have to be adjacent. For
strict-source-route, you must specify every adjacent hop through which
the packet must traverse.
62
■
Reachability Commands
JUNOSe 11.0.x IP, IPv6, and IGP Configuration Guide
Содержание IGP - CONFIGURATION GUIDE V11.1.X
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 18: ...xviii List of Figures JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 20: ...xx List of Tables JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 26: ...2 Internet Protocol JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 148: ...Set clauses set local pref 400 See show route map 124 Monitoring IP JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 228: ...204 Internet Protocol Routing JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 264: ...240 Monitoring RIP JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 438: ...414 Monitoring IS IS JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 439: ...Part 3 Index Index on page 417 Index 415...
Страница 440: ...416 Index JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Страница 454: ...430 Index JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...