Page 171 / 351 Scroll up to view Page 166 - 170
171
SHELL Commands
SHELL Commands
Common Commands
arp
nnn.nnn.nnn.nnn
Sends an Address Resolution Protocol (ARP) request to match the
nnn.nnn.nnn.nnn
IP
address to an Ethernet hardware address.
clear [yes]
Clears the configuration settings in a Motorola Netopia® Gateway. If you do not use the
optional
yes
qualifier, you are prompted to confirm the
clear
command.
clear_certificate
Removes an SSL certificate that has been installed.
clear_log
Erases the log information stored in flash if persistent logging is enabled.
configure
Puts the command line interface into Configure mode, which lets you configure your Motor-
ola Netopia® Gateway with Config commands. Config commands are described starting on
page 167
.
diagnose
Runs a diagnostic utility to conduct a series of internal checks and loopback tests to verify
network connectivity over each interface on your Motorola Netopia® Gateway. The console
displays the results of each test as the diagnostic utility runs. If one test is dependent on
another, the diagnostic utility indents its entry in the console window. For example, the
diagnostic utility indents the Check IP connect to Ethernet (LAN) entry, since that test will
not run if the Check Ethernet LAN Connect test fails.
Page 172 / 351
172
Each test generates one of the following result codes:
download [
server_address
] [
filename
] [confirm]
This command installs a file of configuration parameters into the Motorola Netopia® Gate-
way from a TFTP (Trivial File Transfer Protocol) server. The TFTP server must be accessible
on your Ethernet network.
You can include one or more of the following arguments with the download command. If
you omit arguments, the console prompts you for this information.
The
server_address
argument identifies the IP address of the TFTP server from
which you want to copy the Motorola Netopia® Gateway configuration file.
The
filename
argument identifies the path and name of the configuration file on the
TFTP server.
If you include the optional
confirm
keyword, the download begins as soon as all infor-
mation is entered.
You can also download an SSL certificate file from a trusted Certification Authority (CA), on
platforms that support SSL, as follows:
download [-cert] [
server_address
] [
filename
] [confirm]
install [
server_address
] [
filename
] [confirm]
(Not supported on model 3342/3352)
Downloads a new version of the Motorola Netopia® Gateway operating software from a
TFTP (Trivial File Transfer Protocol) server, validates the software image, and programs the
image into the Motorola Netopia® Gateway memory. After you install new operating soft-
ware, you must restart the Motorola Netopia® Gateway.
CODE
Description
PASS
The test was successful.
FAIL
The test was unsuccessful.
SKIPPED
The test was skipped because a test on which it depended failed, or
because the test did not apply to your particular setup or model.
PENDING
The test timed out without producing a result. Try running the test again.
Page 173 / 351
173
SHELL Commands
The
server_address
argument identifies the IP address of the TFTP server on which
your Motorola Netopia® Gateway operating software is stored. The
filename
argument
identifies the path and name of the operating software file on the TFTP server.
If you include the optional keyword
confirm
, you will not be prompted to confirm whether
or not you want to perform the operation.
license [key]
This command installs a software upgrade key. An upgrade key is a purchased item, based
on the serial number of the gateway.
log
message_string
Adds the message in the
message_string
argument to the Motorola Netopia® Gateway
diagnostic log.
loglevel [
level
]
Displays or modifies the types of log messages you want the Motorola Netopia® 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 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.
Page 174 / 351
174
5
or
failure –
Failures; includes messages describing error conditions that may
not be recoverable.
netstat -i
Displays the IP interfaces for your Motorola Netopia® Gateway.
netstat -r
Displays the IP routes stored in your Motorola 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 Motorola 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.
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.
You can use the
ping
command to determine whether a hostname or IP address is
already in use on your network. You cannot use the
ping
command to ping the Motorola
Netopia® Gateway’s own IP address.
Page 175 / 351
175
SHELL Commands
quit
Exits the Motorola Netopia® Gateway command line interface.
reset arp
Clears the Address Resolution Protocol (ARP) cache on your unit.
reset atm
Resets the Asynchronous Transfer Mode (ATM) statistics.
reset cdmode
This command will set up one boot flag so that the next time a 3342
N
/3352
N
restarts or
reboots (power cycle), the Gateway will boot into CD-ROM mode instead of Gateway mode.
This command is only for the 3342
N
/3352
N
. If the Gateway is not a 3342
N
/3352
N
this
command does nothing but returns the message: “CD mode is not supported on this plat-
form.”
reset crash
Clears crash-dump information, which identifies the contents of the Motorola Netopia®
Gateway registers at the point of system malfunction.
reset dhcp server
Clears the DHCP lease table in the Motorola Netopia® Gateway.
reset diffserv
Resets the Differentiated Services (diffserv) statistics.
reset enet [ all ]
Resets Ethernet statistics to zero. Resets individual LAN switch port statistics as well as
wireless and WAN Ethernet statistics (where applicable).

Rate

4 / 5 based on 1 vote.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top