Page 186 / 351 Scroll up to view Page 181 - 185
186
Use the
segment
argument to ping a neighbor switch.
Use the
end-to-end
argument to ping a remote end node.
reset dhcp client release [
vcc-id
]
Releases the DHCP lease the Motorola Netopia® Gateway is currently using to acquire the
IP settings for the specified DSL port. The
vcc-id
identifier is an “index” letter in the
range B-I, and does not directly map to the VCC in use. Enter the
reset dhcp client
release
command without the variable to see the letter assigned to each virtual circuit.
reset dhcp client renew [
vcc-id
]
Releases the DHCP lease the Motorola Netopia® Gateway is currently using to acquire the
IP settings for the specified DSL port. The
vcc-id
identifier is an “index” letter in the
range B-I, and does not directly map to the VCC in use. Enter the
reset dhcp client
release
without the variable to see the letter assigned to each virtual circuit.
reset dsl
Resets any open DSL connection.
reset ppp
vccn
Resets the point-to-point connection over the specified virtual circuit. This command only
applies to virtual circuits that use PPP framing.
show atm [all]
Displays ATM statistics for the Motorola Netopia® Gateway. The optional
all
argument
displays a more detailed set of ATM statistics.
show dsl [ all ]
Displays DSL port statistics, such as upstream and downstream connection rates and
noise levels.
Page 187 / 351
187
About CONFIG Commands
show ppp [{ stats | lcp | ipcp }]
Displays information about open PPP links. You can display a subset of the PPP statistics
by including an optional
stats
,
lcp
, or
ipcp
argument for the
show ppp
command.
start ppp vccn
Opens a PPP link on the specified virtual circuit.
About CONFIG Commands
You reach the configuration mode of the command line interface by typing
configure
(or
any truncation of
configure
, such as
con
or
config
) at the CLI SHELL prompt.
CONFIG Mode Prompt
When you are in CONFIG mode, the CLI prompt consists of the name of the Motorola Neto-
pia® Gateway followed by your current
node
in the hierarchy and two right angle brackets
(>>). For example, when you enter CONFIG mode (by typing
config
at the SHELL prompt),
the
Netopia-3000/9437188 (top)>>
prompt reminds you that you are at the top
of the CONFIG hierarchy. If you move to the
ip
node in the CONFIG hierarchy (by typing
ip
at the CONFIG prompt), the prompt changes to
Netopia-3000/9437188 (ip)>>
to
identify your current location.
Some CLI commands are not available until certain conditions are met. For example, you
must enable IP for an interface before you can enter IP settings for that interface.
Navigating the CONFIG Hierarchy
Moving from CONFIG to SHELL
— You can navigate from anywhere in the CONFIG
hierarchy back to the SHELL level by entering
quit
at the CONFIG prompt and pressing
R
ETURN
.
Netopia-3000/9437188 (top)>>
quit
Netopia-3000/9437188 >
Moving from
top
to a subnode
— You can navigate from the top node to a subnode
by entering the node name (or the significant letters of the node name) at the CONFIG
Page 188 / 351
188
prompt and pressing R
ETURN
. For example, you move to the IP subnode by entering
ip
and pressing R
ETURN
.
Netopia-3000/9437188 (top)>>
ip
Netopia-3000/9437188 (ip)>>
As a shortcut, you can enter the significant letters of the node name in place of the full
node name at the CONFIG prompt. The significant characters of a node name are the let-
ters that uniquely identify the node. For example, since no other CONFIG node starts with
b, you could enter one letter (“
b
”) to move to the bridge node.
Jumping down several nodes at once
— You can jump down several levels in the
CONFIG hierarchy by entering the complete path to a node.
Moving up one node
— You can move up through the CONFIG hierarchy one node at a
time by entering the
up
command.
Jumping to the top node
— You can jump to the top level from anywhere in the CON-
FIG hierarchy by entering the
top
command.
Moving from one subnode to another
— You can move from one subnode to another
by entering a partial path that identifies how far back to climb.
Moving from any subnode to any other subnode
— You can move from any subnode
to any other subnode by entering a partial path that starts with a top-level CONFIG com-
mand.
Scrolling backward and forward through recent commands
— You can use the Up
and Down arrow keys to scroll backward and forward through recent commands you
have entered. When the command you want appears, press Enter to execute it.
Entering Commands in CONFIG Mode
CONFIG commands consist of keywords and arguments. Keywords in a CONFIG command
specify the action you want to take or the entity on which you want to act. Arguments in a
CONFIG command specify the values appropriate to your site. For example, the CONFIG
command
set ip ethernet A
ip_address
consists of two keywords (
ip
,
and
ethernet
A
) and one argument (
ip_address
).
When you use the command to configure your Gateway, you would replace the argument
with a value appropriate to your site.
For example:
Page 189 / 351
189
About CONFIG Commands
set ip ethernet A 192.31.222.57
Guidelines: CONFIG Commands
The following table provides guidelines for entering and formatting CONFIG commands.
If a command is ambiguous or miskeyed, the CLI prompts you to enter additional informa-
tion. For example, you must specify which virtual circuit you are configuring when you are
setting up a Motorola Netopia® Gateway.
Displaying Current Gateway Settings
You can use the
view
command to display the current CONFIG settings for your Motorola
Netopia® Gateway. If you enter the
view
command at the top level of the CONFIG hierar-
chy, the CLI displays the settings for all enabled functions. If you enter the
view
command
at an intermediate node, you see settings for that node and its subnodes.
Step Mode: A CLI Configuration Technique
The Motorola Netopia® Gateway command line interface includes a step mode to auto-
mate the process of entering configuration settings. When you use the CONFIG step mode,
the command line interface prompts you for all required and optional information. You can
Command
component
Rules for entering CONFIG commands
Command verbs
CONFIG commands must start with a command verb (set, view, delete).
You can truncate CONFIG verbs to three characters (set, vie, del).
CONFIG verbs are case-insensitive. You can enter “SET,” “Set,” or “set.”
Keywords
Keywords are case-insensitive. You can enter “Ethernet,” “ETHERNET,” or
“ethernet” as a keyword without changing its meaning.
Keywords can be abbreviated to the length that they are differentiated from
other keywords.
Argument Text
Text strings can be as many as 64 characters long, unless otherwise speci-
fied. In some cases they may be as long as 255 bytes.
Special characters are represented using backslash notation.
Text strings may be enclosed in double (“) or single (‘) quote marks. If the
text string includes an embedded space, it must be enclosed in quotes.
Special characters are represented using backslash notation.
Numbers
Enter numbers as integers, or in hexadecimal, where so noted.
IP addresses
Enter IP addresses in dotted decimal notation (0 to 255).
Page 190 / 351
190
then enter the configuration values appropriate for your site without having to enter com-
plete CLI commands.
When you are in step mode, the command line interface prompts you to enter required and
optional settings. If a setting has a default value or a current setting, the command line
interface displays the default value for the command in parentheses. If a command has a
limited number of acceptable values, those values are presented in brackets, with each
value separated by a vertical line. For example, the following CLI step command indicates
that the default value is
off
and that valid entries are limited to
on
and
off
.
option (off) [on | off]:
on
You can accept the default value for a field by pressing the Return key. To use a different
value, enter it and press Return.
You can enter the CONFIG step mode by entering
set
from the top node of the CONFIG hier-
archy. You can enter step mode for a particular service by entering
set
service_name
.
In stepping set mode (press Control-X <Return/Enter> to exit. For example:
Netopia-3000/9437188 (top)>>
set system
...
system
name (“Netopia-3000/9437188”):
Mycroft
Diagnostic Level (High):
medium
Stepping mode ended.
Validating Your Configuration
You can use the
validate
CONFIG command to make sure that your configuration set-
tings have been entered correctly. If you use the
validate
command, the Motorola
Netopia® Gateway verifies that all required settings for all services are present and that
settings are consistent.
Netopia-3000/9437188 (top)>>
validate
Error: Subnet mask is incorrect
Global Validation did not pass inspection!
You can use the
validate
command to verify your configuration settings at any time.
Your Motorola Netopia® Gateway automatically validates your configuration any time you
save a modified configuration.

Rate

4 / 5 based on 1 vote.

Bookmark Our Site

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

Share
Top