Entering commands in config mode, Guidelines: config commands, Displaying current gateway settings – ARRIS 2247-N8-10NA (v9.1.x) Admin Handbook User Manual

Page 24: Step mode: a cli configuration technique

Advertising
background image

Administrator’s Handbook

24

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 dns domain-name domain_name_value

consists of three keywords (

ip

,

dns

and

domain-name

) and one argument (domain_name_value).

When you use the command to configure your 2247-N8, you would replace the argument with a value appro-
priate to your site.

For example:

set ip dns domain-name motorola.com

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 2247-N8.

Displaying Current Gateway Settings

You can use the

view

command to display the current CONFIG settings for your 2247-N8. 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 subn-

odes.

Step Mode: A CLI Configuration Technique

The 2247-N8 DSL Wi-Fi 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.

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

Advertising