Displaying current gateway settings, Step mode: a cli configuration technique, Step mode: a cli configuration technique – Netopia 6.3 User Manual

Page 119

Advertising
background image

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

Advertising