229
SHELL Commands
•1 or low – Low-level informational messages or greater; includes trivial status mes-
sages.
•2 or medium – Medium-level informational messages or greater; includes status mes-
sages that can help monitor network traffic.
•3 or high – High-level informational messages or greater; includes status messages
that may be significant but do not constitute errors.
•4 or warning – Warnings or greater; includes recoverable error conditions and useful
operator information.
•5 or failure – Failures; includes messages describing error conditions that may
not be recoverable.

netstat -i

Displays the IP interfaces for your Netopia Gateway.

netstat -r

Displays the IP routes stored in your Netopia Gateway.

nslookup {

hostname

|

ip_address

}

Performs a domain name system lookup for a specified host.
The
hostname
argument is the name of the host for which you want DNS information;
for example,

nslookup klaatu

.
The
ip_address
argument is the IP address, in dotted decimal notation, of the device
for which you want DNS information.

ping [-s

size

] [-c

count

]{

hostname

|

ip_address

}

Causes the Netopia Gateway to issue a series of ICMP Echo requests for the device with
the specified name or IP address.
The
hostname
argument is the name of the device you want to ping; for example,

ping

ftp.netopia.com

.
The
ip_address
argument is the IP address, in dotted decimal notation, of the device
you want to locate. If a host using the specified name or IP address is active, it returns
one or more ICMP Echo replies, confirming that it is accessible from your network.
The

-s

size
argument lets you specify the size of the ICMP packet.