traceroute
–
IPv4
The
traceroute
command has the following syntax:
traceroute { host_name | host_ipv4_address } [ count packets ] [ df ] [ maxttl max_ttl ] [ minttl min_ttl
] [ port port_number ] [ size octet_count ] [ src { src_host_name | src_host_ipv4_address } ] [ timeout
seconds ] [ vrf vrf_nam ]
For complete information on the above command, see the
Exec Mode Commands
chapter of the
Command
Line Interface Reference
.
The following displays a sample output.
traceroute to 192.168.250.1 (192.168.250.1), 30 hops max, 40 byte packets
1
192.168.250.1 (192.168.250.1)
0.446 ms
0.235 ms
0.178 ms
traceroute6
–
IPv6
The
traceroute6
command has the following syntax:
traceroute6 { host_name | host_ipv6_address } [ count packets ] [ maxttl max_ttl ] [ port port_number
] [ size octet_count ] [ src { src_host_name | src_host_ipv6_address } ] [ timeout seconds ] [ vrf
vrf_nam ]
For complete information on the above commands, see the
Exec Mode Commands
chapter of the
Command
Line Interface Reference
.
The following displays a sample output.
traceroute6 to 2001:4A2B::1f3F (2001:4A2B::1f3F), 30 hops max, 40 byte packets
1
2001:4A2B::1f3F (2001:4A2B::1f3F)
0.446 ms
0.235 ms 0.178 ms
Viewing IP Routes
The system provides a mechanism for viewing route information to a specific node or for an entire context.
This information can be used to verify network connectivity and to ensure the efficiency of the network
connection. The command has the following syntax:
show ip route [ route_ip_address ]
show ipv6 route [ route_ipv6_address ] ]
For complete information on the above commands, see the
Exec Mode show Commands
chapter of the
Command Line Interface Reference
.
If no keywords are specified, all IP routes within the context's routing table are displayed.
The following displays a sample of this command's output showing a context IPv4 routing table.
"*" indicates the Best or Used route.
Destination
Nexthop
Protocol
Prec
Cost
Interface
*0.0.0.0/0
10.0.4.1
static
0
0
SPIO1
*10.0.4.0/24
0.0.0.0
kernel
0
0
SPIO1
*10.0.4.0/32
0.0.0.0
kernel
0
0
SPIO1
*10.0.4.3/32
0.0.0.0
kernel
0
0
SPIO1
*10.0.4.255/32
0.0.0.0
kernel
0
0
SPIO1
ASR 5500 System Administration Guide, StarOS Release 21.5
161
Troubleshooting
Viewing IP Routes