Command Reference Guide

Device Location, System Utility, and Clear Commands
CLI Command Reference
September 2014 Page 192
HP Moonshot Switch Module CLI Command Reference
The following are examples of the CLI command.
Example: traceroute Success:
(Routing) # traceroute 10.240.10.115 initTtl 1 maxTtl 4 maxFail 0 interval 1 count 3 port 33434 size
43
Traceroute to 10.240.10.115 ,4 hops max 43 byte packets:
1 10.240.4.1 708 msec 41 msec 11 msec
2 10.240.10.115 0 msec 0 msec 0 msec
Hop Count = 1 Last TTL = 2 Test attempt = 6 Test Success = 6
Example: traceroute ipv6 Success
(Routing) # traceroute 2001::2 initTtl 1 maxTtl 4 maxFail 0 interval 1 count 3 port 33434 size 43
Traceroute to 2001::2 hops max 43 byte packets:
1 2001::2 708 msec 41 msec 11 msec
The above command can also be execute with the optional ipv6 parameter as follows:
(Routing) # traceroute ipv6 2001::2 initTtl 1 maxTtl 4 maxFail 0 interval 1 count 3 port 33434 size 43
Parameter Description
ipaddress The
ipaddress value should be a valid IP address.
ipv6-address The ipv6-address value should be a valid IPv6 address.
hostname The
hostname value should be a valid hostname.
ipv6 The optional ipv6 keyword can be used before ipv6-address or hostname. Giving the
ipv6 keyword before the hostname tries it to resolve to an IPv6 address.
initTtl Use
initTtl to specify the initial time-to-live (TTL), the maximum number of router
hops between the local and remote system. Range is 0 to 255.
maxTtl Use
maxTtle to specify the maximum TTL. Range is 1 to 255.
maxFail Use
maxFail to terminate the traceroute after failing to receive a response for this
number of consecutive probes. Range is 0 to 255.
interval Use the optional
interval parameter to specify the time between probes, in seconds.
If a response is not received within this interval, then traceroute considers that probe
a failure (printing *) and sends the next probe. If traceroute does receive a response to
a probe within this interval, then it sends the next probe immediately. Range is 1 to 60
seconds.
count Use the optional
count parameter to specify the number of probes to send for each TTL
value. Range is 1 to 10 probes.
port Use the optional
port parameter to specify destination UDP port of the probe. This
should be an unused port on the remote destination system. Range is 1 to 65535.
size Use the optional
size parameter to specify the size, in bytes, of the payload of the Echo
Requests sent. Range is 0 to 65507 bytes.
source Use the optional source parameter to specify the source IP address or interface for the
traceroute.