Page 116 / 216 Scroll up to view Page 111 - 115
Administrator’s Handbook
116
show voip
Displays VoIP call statistics.
show voiplog
Displays VoIP event logs.
telnet [
hostname
|
ip_address
] [
port
]
Lets you open a telnet connection to the specified host through your Motorola Gateway.
The
hostname
argument is the name of the device to which you want to connect; for example,
telnet
ftp.Motorola.com
.
The
ip_address
argument is the IP address, in dotted decimal notation, of the device to which you want to
connect.
The
port
argument is the number of t he port over which you want to open a telnet session.
traceroute (
ip_address
|
hostname
)
Traces the routing path to an IP destination.
upload [
server_address
] [
filename
] [ confirm ]
Copies the current configuration settings of the Gateway to a TFTP (Trivial File Transfer Protocol) server. The
TFTP server must be accessible on your Ethernet network. The
server_address
argument identifies the IP
address of the TFTP server on which you want to store the Motorola Gateway settings. The
filename
argu-
ment identifies the path and name of the configuration file on the TFTP server. If you include the optional
con-
firm
keyword, you will not be prompted to confirm whether or not you want to perform the operation.
view config
Dumps the Motorola Gateway’s configuration just as the
view
command does in config mode.
who
Displays the names of the current shell and PPP users.
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 specified 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 Motorola 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.
Page 117 / 216
117
reset dhcp client renew [
vcc-id
]
Renews the DHCP lease the Motorola 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 Gateway. The optional
all
argument displays a more detailed set of ATM
statistics.
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.
Page 118 / 216
Administrator’s Handbook
118
About CONFIG Commands
You reach the configuration mode of the command line interface by typing
configure
(or any truncation of
con-
figure
, 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 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
Motorola-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
Motorola-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 Return.
Motorola-3000/9437188 (top)>>
quit
Motorola-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
.
Motorola-3000/9437188 (top)>>
ip
Motorola-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 letters 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 CONFIG hierarchy by enter-
ing 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 command.
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
Page 119 / 216
119
set ip ethernet A
ip_address
consists of two keywords (
ip
,
and
ethernet
A
) and one argument (
ip_address
). When you use the com-
mand 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
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 information. For example, you
must specify which virtual circuit you are configuring when you are setting up a Motorola Gateway.
Displaying Current Gateway Settings
You can use the
view
command to display the current CONFIG settings for your Motorola Gateway. If you enter
the
view
command at the top level of the CONFIG hierarchy, the CLI displays the settings for all enabled func-
tions. 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 Gateway command line interface includes a step mode to automate the process of entering configu-
ration settings. When you use the CONFIG step mode, the command 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.
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 com-
mand 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
.
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 key-
words.
Argument Text
Text strings can be as many as 64 characters long, unless otherwise specified. 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 120 / 216
Administrator’s Handbook
120
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 hierarchy. 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:
Motorola-3000/9437188 (top)>>
set system
...
system
name (“Motorola-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 settings have been
entered correctly. If you use the
validate
command, the Motorola Gateway verifies that all required settings
for all services are present and that settings are consistent.
Motorola-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 Gateway
automatically validates your configuration any time you save a modified configuration.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top