Administrator’s Handbook
110
log
message_string
Adds the message in the
message_string
argument to the Motorola Gateway diagnostic log.
loglevel [
level
]
Displays or modifies the types of log messages you want the Motorola Gateway to record. If you enter the
loglevel
command without the optional
level
argument, the command line interface displays the current
log level setting.
You can enter the
loglevel
command with the
level
argument to specify the types of diagnostic messages
you want to record. All messages with a level number equal to or greater than the level you specify are recorded.
For example, if you specify loglevel 3, the diagnostic log will retain high-level informational messages (level 3),
warnings (level 4), and failure messages (level 5).
Use the following values for the
level
argument:
◆
1
or
low
– Low-level informational messages or greater; includes trivial status messages.
◆
2
or
medium
– Medium-level informational messages or greater; includes status messages 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 informa-
tion.
◆
5
or
failure –
Failures; includes messages describing error conditions that may not be recoverable.
netstat -i
Displays the IP interfaces for your Motorola Gateway.
netstat -r
Displays the IP routes stored in your Motorola 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 Motorola 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.motorola.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.
◆
The
-c
count
argument lets you specify the number of ICMP packets generated for the ping request. Values
greater than 250 are truncated to 250.