
Administering TCP/IP
Managing the Internet Protocol (IP)
MAX Administration Guide
7-3
ascend% show ip ?
show ip ? Display help information
show ip stats Display IP Statistics
show ip address Display IP Address Assignments
show ip routes Display IP Routes
Using the Show IP Address command, available in the MAX unit’s terminal-server CLI, you
can display the IP address, destination IP address, netmask, MTU, and status of each of the
unit’s interfaces.
Troubleshooting IP routing
To locate slow routers or diagnose IP routing problems, you can use the Traceroute command.
It traces the route an IP packet follows by launching User Datagram Protocol (UDP) probe
packets with a low Time-To-Live value and then listening for an Internet Control Message
Protocol (ICMP) time exceeded reply from a router.
The Traceroute command uses the following syntax:
traceroute
[
-n
] [
-v
] [
-m
max_ttl
][
-p
port
] [
-q
nqueries
]
[
-w
waittime
]
host
[
datasize
]
All flags are optional. The only required parameter is the destination hostname or IP address.
Table 7-1 describes the syntax elements of the Traceroute command.
Table 7-1. Traceroute command syntax elements
Element
Definition
-n
Print hop addresses numerically rather than symbolically and
numerically (this eliminates a name server address-to-name lookup
for each gateway found on the path).
-v
Verbose output. Lists all received ICMP packets, other than Time
Exceeded and ICMP Port Unreachable, are listed.
-m max_ttl
Sets the maximum time-to-live (maximum number of hops) for out-
going probe packets. The default is 30 hops.
-p port
Sets the base UDP port number used in probes. Traceroute depends
on having nothing listening on any of the UDP ports from the source
to the destination host (so that an ICMP Port Unreachable message
will be returned to terminate the route tracing). If something is lis-
tening on a port in the default range, set the
-p
option to specify an
unused port range. The default is 33434.
-q nqueries
Sets the maximum number of queries for each hop. The default is 3.
-w waittime
Sets the time to wait for a response to a query 3 seconds is the
default.
host
The destination host by name or IP address.