Page 116 / 161 Scroll up to view Page 111 - 115
116
Appendix A
SHELL Commands
Opens a PPP link on the specified virtual circuit.
Displays the current status of a Cayman Gateway, the device's hardware and soft-
ware revision levels, a summary of errors encountered, and the length of time the
Cayman Gateway has been running since it was last restarted. Identical to the
show status
command.
Lets you open a telnet connection to the specified host through your Cayman
Gateway.
The
hostname
argument is the name of the device to which you want to
connect; for example,
telnet ftp.cayman.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.
Traces the route between the Cayman Gateway and the specified host.
The
hostname
argument is the name of the device you want to trace; for
example,
traceroute ftp.cayman.com
.
The
ip_address
argument is the IP address, in dotted decimal notation, of
the device you want to trace.
Copies the current configuration settings of the Cayman Gateway to a TFTP (Triv-
ial File Transfer Protocol) server. The TFTP server must be accessible on your Ether-
net network. The
server_address
argument identifies the IP address of the
TFTP server on which you want to store the Cayman Gateway settings. The
filename
argument identifies the path and name of the configuration file on
the TFTP server. If you include the optional
confirm
keyword, you will not be
prompted to identify a TFTP server or file name.
Displays the names of the current shell users.
DSL
start ppp vccn
BOTH
status
BOTH
telnet {
hostname
|
ip_address
} [
port
]
BOTH
traceroute {
hostname
|
ip_address
}
BOTH
upload [
server_address
] [
filename
] [confirm]
BOTH
who
Downloaded from
www.Manualslib.com
manuals search engine
Page 117 / 161
117
Appendix A
About CONFIG Commands
About CONFIG Commands
You reach the configuration mode of the command line interface by typing
con-
figure
(or any truncation of
configure
, such as
c
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 Cay-
man 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
Coconut (top)
>>
prompt reminds you that you are at
the top of the CONFIG hierarchy. If you move to the
ip
node in the CONFIG hier-
archy (by typing
ip
at the CONFIG prompt), the prompt changes to
Coconut
(ip)>>
to identify your current location.
Some CLI commands are not available until certain conditions are met. For exam-
ple, 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
.
Dogzilla (top)>>
quit
Dogzilla >
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
.
Dogzilla (top)>>
ip
Dogzilla (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 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 CONFIG hierarchy by entering the
top
command.
Downloaded from
www.Manualslib.com
manuals search engine
Page 118 / 161
118
Appendix A
About CONFIG Commands
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
consists of three keywords (
ip
,
ethernet
, and
address
) 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:
Guidelines: CONFIG Commands
The following table provides guidelines for entering and formatting CONFIG
commands.
BOTH
set ip ethernet address
ip_address
BOTH
set ip ethernet address 192.31.222.57
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
specified.
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.
Downloaded from
www.Manualslib.com
manuals search engine
Page 119 / 161
119
Appendix A
About 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 configur-
ing when you are setting up a Cayman Gateway.
Displaying Current Gateway Settings
You can use the
view
command to display the current CONFIG settings for your
Cayman Gateway. If you enter the
view
command at the top level of the CON-
FIG hierarchy, 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 Cayman Gateway command line interface includes a step mode to automate
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 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 command in paren-
theses. 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 hierarchy. You can enter step mode for a particular service by entering
set
service_name
.
For example:
Numbers
Enter numbers as integers.
IP addresses
Enter IP addresses in dotted decimal notation (0 to 255).
Command
component
Rules for entering CONFIG commands
Downloaded from
www.Manualslib.com
manuals search engine
Page 120 / 161
120
Appendix A
About CONFIG Commands
Dogzilla (top)>>
set system
Stepping set mode (press Control-X <Return/Enter> to
exit)
...
system
name (“Dogzilla”):
Mycroft
Diagnostic Level (High):
medium
Stepping mode ended.
Validating Your Configuration
You can use the
validate
CONFIG command to make sure that your configura-
tion settings have been entered correctly. If you use the
validate
command,
the Cayman Gateway verifies that all required settings for all services are present
and that settings are consistent.
Dogzilla (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 Cayman Gateway automatically validates your configuration any time
you save a modified configuration.
Downloaded from
www.Manualslib.com
manuals search engine

Rate

4 / 5 based on 1 vote.

Bookmark Our Site

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

Share
Top