CLI Guide

Switch Management Commands 2354
toward the destination address. Routers decrement a packet’s TTL value and
discard packets whose TTL equals 0. On discarding a packet, the router
returns an ICMP time exceeded message to the source.
The VRF identified in the parameter must have been previously created or an
error is returned.
Only IPv4 addresses are supported with the vrf parameter. The vrf parameter
is only available on the N3000-ON/N3100 switches.
Loopback interfaces are not supported on the N1100-ON Series switches.
Examples
The following example discovers the routes that packets will actually take
when traveling to the destination specified in the command.
(console)# traceroute 10.240.10.115 init-ttl 1 max-ttl 4 max-fail 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
Command History
Syntax updated in 6.4 release.
traceroute ipv6
Use the traceroute command to discover the routers that packets traverse
when traveling to their destination.
Syntax
traceroute [ipv6] ipv6address|hostname [init-ttl initTtl] [max-ttl maxTtl]
[max-fail maxFail] [interval interval] [count count] [port port] [size
size][source {src-ip-address|vlan vlan-id|loopback loopback-id}]
ipv6address—Valid IPv6 address of the destination host.
hostname—Hostname of the destination host. (Range: 1–158
characters). The command allows spaces in the host name when
specified in double quotes. For example, console(config)#snmp-
server host “host name”