Chapter 4: Getting Started with Command Line Interface (CLI)

Configuration Mode

The Configuration mode enables you to configure attributes in the system. There are two command types available when using the Configuration mode: menu-specific and global.

Menu-specific commands

Menu-specific commands are those commands associated only with the option in which you are configuring. Detailed information about menu-specific commands is available by typing help from the desired menu level.

Global commands

Global commands are those commands available from anywhere in the configuration mode. Each global com- mand is described below.

New

The new command adds an entry for a CLI option in the system. For example, you can add signaling groups, hop off numbers, profiles, DN routing information, interface parameters, etc.

NOTE: The New command is available only to those menu options eligible to have more than one entry. See What is the Command Line Interface?, in the beginning of this chapter, for more information.

The new command must be used within the level to which you are adding an option. To use, type new fol- lowed by an option name.

Example:

new CASSignalingGroup 2. Creates a new CASSignalingGroup with ID of 2.

new ISDNSignalingGroup 3. Creates ISDNSignalingGroup with an ID of 3.

new channelgroup SL4DV1DI3. Creates a new channel group with id of SL4DV1D13.

Set

The set command, along with a specific CLI option name, is used to set or remove attributes for a specific option, as well as associate a selected CLI option to another option or between two CLI options. When you associate two CLI options, it indicates that one option uses information from the attached options.

You must set any attributes from that option’s menu level. To use the set command, you must first select the menu option. A pair of double quotes (“”) or single quotes (‘ ‘) can be used for entering a string of words sep- arated by spaces. Before creating an association between any options, make sure both CLI options for the association exist; the association can be made from either end.

Example:

Set an attribute as follows:

config-DialPlan-1# set internationalprefix[2] 3. Assigns 2nd element of InternationalPrefix (part of Dial Plan option) to 3.

4-14

P/N 480-0005-00-15

Page 101
Image 101
HP 480-0005-00-15 manual Configuration Mode, Menu-specific commands, Set