Page 226 / 351 Scroll up to view Page 221 - 225
226
The only commands you cannot truncate are
restart
and
clear
. To prevent accidental
interruption of communications, you must enter the
restart
and
clear
commands in their
entirety.
You can use the Up and Down arrow keys to scroll backward and forward through recent
commands you have entered. Alternatively, you can use the
!!
command to repeat the last
command you entered.
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 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 Neto-
pia Gateway with Config commands. Config commands are described starting on
page
223
.
Page 227 / 351
227
SHELL Commands
diagnose
Runs a diagnostic utility to conduct a series of internal checks and loopback tests to verify
network connectivity over each interface on your 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.
Each test generates one of the following result codes:
download [
server_address
] [
filename
] [confirm]
This command installs a file of configuration parameters into the Netopia Gateway 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 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.
Beginning with Firmware Version 7.5.1, 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]
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 228 / 351
228
install [
server_address
] [
filename
] [confirm]
(Not supported on model 3342/3352)
Downloads a new version of the Netopia Gateway operating software from a TFTP (Trivial
File Transfer Protocol) server, validates the software image, and programs the image into
the Netopia Gateway memory. After you install new operating software, you must restart
the Netopia Gateway.
The
server_address
argument identifies the IP address of the TFTP server on which
your 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 Netopia Gateway diagnostic
log.
loglevel [
level
]
Displays or modifies the types of log messages you want the 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:
Page 229 / 351
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.
Page 230 / 351
230
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 Netopia
Gateway’s own IP address.
quit
Exits the 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 crash
Clears crash-dump information, which identifies the contents of the Netopia Gateway regis-
ters at the point of system malfunction.
reset dhcp server
Clears the DHCP lease table in the Netopia Gateway.
reset diffserv
Resets the Differentiated Services (diffserv) statistics.
reset enet
Resets Ethernet statistics to zero
reset heartbeat
Restarts the heartbeat sequence.

Rate

4.7 / 5 based on 3 votes.

Bookmark Our Site

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

Share
Top