User's Manual 88 Document #: LTRT-10532
Mediant 500L Gateway & E-SBC
Command Description
display
Displays the configuration of current configuration set.
help
Displays a short help how-to string.
history
Displays a list of previously run commands.
list
Displays the available command list of the current command-set.
| <filter>
Applied to a command output. The filter should be
typed after the command with
a pipe mark (|).
Supported filters:
include <word> – filter (print) lines which contain <word>
exclude <word> – filter lines which does not contain <word>
grep <options> - filter lines according to grep common Unix utility options
egrep <options> - filter lines according to egrep common Unix utility options
begin <word> – filter (print) lines which begins with <word>
between <word1> <word2> – filter (print) lines which are placed between
<word1> and <word2>
count – show the output’s line count
Example:
# show system version | grep Number
;Serial Number: 2239835;Slot Number: 1
7.1.4 Configuring Tables through CLI
Throughout the CLI, many configuration elements are in table format where each table row
is represented by an index number. When you add a new row to a table, the device
automatically assigns it the next consecutive, available index number. However, you can
specify a different index number.
Table rows are added using the new command after the table command:
# <the table's CLI command name> new
When you add a new table row, the device accesses the row's configuration mode. For
example, if three rows are configured in the Accounts table (account-0, account-1, and
account-2) and you then add a new row, account-3 is automatically created and its'
configuration mode is accessed:
(config-voip)# sip-definition account new
(account-3)#
You can also add a new table row to any specific index number, even if a row has already
been configured for that index number. The row that was previously assigned that index
number is incremented to the next consecutive index number, as well as all the index rows
listed below it in the table. To add a new table row to a specific index number, use the
insert command:
# <table name> <index> insert
For example, if three rows are configured in the Accounts table (account-0, account-1, and
account-2) and you then add a new row with index 1, the previous account-1 becomes
account-2 and the previous account-2 becomes account-3, and so on. The following
command is run for this example:
(config-voip)# sip-definition account 1 insert