Page 236 / 351 Scroll up to view Page 231 - 235
236
WAN Commands
atmping vccn [
segment
|
end-to-end
]
Lets you check the ATM connection reachability and network connectivity. This command
sends five Operations, Administration, and Maintenance (OAM) loopback calls to the speci-
fied vpi/vci destination. There is a five second total timeout interval.
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 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 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 Netopia Gateway. The optional
all
argument displays a
more detailed set of ATM statistics.
Page 237 / 351
237
About CONFIG Commands
show dsl
Displays DSL port statistics, such as upstream and downstream connection rates and
noise levels.
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 Netopia Gate-
way 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
.
Page 238 / 351
238
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
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 I,
you could enter one letter (“
i
”) to move to the IP 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.
Page 239 / 351
239
About CONFIG Commands
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:
set ip ethernet A 192.31.222.57
Page 240 / 351
240
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 Netopia Gateway.
Displaying Current Gateway Settings
You can use the
view
command to display the current CONFIG settings for your Netopia
Gateway. If you enter the
view
command at the top level of the CONFIG hierarchy, the CLI
displays the settings for all enabled functions. If you enter the
view
command at an inter-
mediate node, you see settings for that node and its subnodes.
Step Mode: A CLI Configuration Technique
The Netopia Gateway command line interface includes a step mode to automate the pro-
cess of entering configuration settings. When you use the CONFIG step mode, the com-
mand line interface prompts you for all required and optional information. You can then
enter the configuration values appropriate for your site without having to enter complete
CLI commands.
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).

Rate

4.7 / 5 based on 3 votes.

Bookmark Our Site

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

Share
Top