SmartWare Software Configuration Guide

4 • Accessing the CLI

 

 

Example: Checking identity and connected users

The following example shows how to report who is logged in or more detailed information about users and process states, depending on the execution mode in which you are working.

Used in administrator execution mode:

node#who

 

 

 

 

 

ID

User name

State

Idle

Location

*

0

administrator

exec

00:00:00

172.16.224.44:1160

 

1

support

exec

00:01:56

172.16.224.44:1165

Note The “*” character identifies the user executing the who command. ID repre- sents the ID of the account. State represents the actual running condition of the user, which can be logout, login, exec, or config.

Used in operator execution mode:

node>who

You are operator support

Command index numbers

A command index number (indicated by the boldface 1, 2, and 3 index numbers in the example below) indi- cates the position of a command in a list of commands (that is, a command with index 1 will appear higher in the configuration file than one with index 3).

192.168.1.1(pf-voip)[default]#showrunning-config

...

profile voip default

codec 1 g711ulaw64k rx-length 20 tx-length 20 codec 2 g711alaw64k rx-length 20 tx-length 20 codec 3 g723-6k3 rx-length 30 tx-length 30 dejitter-max-delay 200

...

commands that make use of index numbers always show the index in the running config. However, the index can be omitted when entering the command. If you enter such a command with an index, it is inserted into list at the position defined by the index. If you enter such a command without an index, it is placed at the bottom of the list. Also, you can change a commands position in a listing (moving it up or down in the list) by chang- ing its index number.

Example 1: Moving the G.723 codec from position 3 in the list to position 1 at the top of the list.

Listing before changing the G.723 codec index number:

profile voip default

codec 1 g711ulaw64k rx-length 20 tx-length 20 codec 2 g711alaw64k rx-length 20 tx-length 20 codec 3 g723-6k3 rx-length 30 tx-length 30 dejitter-max-delay 200

...

Listing after changing index number:

Accessing the SmartWare CLI task list

62

Page 62
Image 62
Patton electronic SmartNode 4110 Series manual Used in operator execution mode, Command index numbers