Cli Contexts; Cli Help - Avaya G250 Administration Manual

Media gateways
Hide thumbs Also See for G250:
Table of Contents

Advertisement

Accessing the Avaya G250/G350 Media Gateway
Note:
Disconnect a telnet session by typing <Ctrl>+]. This is particularly useful if the
Note:
normal telnet logout does not work.

CLI contexts

The CLI is divided into various contexts from which sets of related commands can be entered.
Contexts are nested in a hierarchy, with each context accessible from another context, called
the parent context. The top level of the CLI tree is called the general context. Each command
has a context in which the command must be used. You can only use a command in its proper
context.
For example, in order to configure the Loopback interface, you must first enter the Loopback
interface context from general context. You can enter the Loopback interface context using the
interface loopback 1 command. Once you are in the Loopback interface context, you
can enter Loopback interface commands.
You can use the tree command to view the available commands in each context.

CLI help

You can display a list of commands for the context you are in by typing help or ?. The help
command displays a list of all CLI commands that you can use within the current context, with a
short explanation of each command.
If you type help or ? before or after the first word or words of a command, the CLI displays a
list of all commands in the current context that begin with this word or words. For example, to
display a list of IP commands available in general context, enter help ip, ip help, ? ip, or
ip ?.
If you type help or ? before or after a full command, the CLI displays the command's syntax
and parameters, and an example of the command. You must be in the command's context in
order to use the help command to display information about the command.
In the following example, the user enters the vlan 1 interface context and displays help for the
bandwidth command.
G350-001(super)# interface vlan 1
G350-001(super-if:VLAN 1)# bandwidth ?
Bandwidth commands:
----------------------------------------------------------------------
Syntax: bandwidth <kilobytes size>
Example: bandwidth 1000
40 Administration for the Avaya G250 and Avaya G350 Media Gateways
<kilobytes size> : integer (1-10000000)

Advertisement

Table of Contents
loading

This manual is also suitable for:

G350

Table of Contents