beautypg.com

Entering commands in config mode, Guidelines: config commands, Displaying current gateway settings – Motorola 2200 User Manual

Page 146

background image

Administrator’s Handbook

146

Moving from any subnode to any other subnode — You can move from any subnode to any other

subnode by entering a par tial path that star ts 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 for ward 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:

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 exam-
ple, you must specify which vir tual circuit you are configuring when you are setting up a Motorola Neto-
pia® 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 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.

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).