User`s guide
23
Digi application commands (referred to just as text commands or CLI commands throughout
the remainder of this guide), can be entered in upper or lower case but unlike “AT”
commands, only one command may be entered on a line. After each successful command,
the “OK” result code will be issued. An invalid command will cause the “ERROR” result code
to be issued.
The general syntax for an application commands is:
<entity> <instance> <param_name> <value>
where:
<entity> is the name of the entity
<instance>
is the instance number for the entity that you are configuring.
<param_name> is the name of the parameter that you wish to configure.
<value> is the new value for the specified parameter.
For example, to set the window size to 5 for X.25 PAD instance 1 you would enter:
pad 1 window 5
Even if there is only once instance of particular entity, you should only enter 0 for the
instance number.
Wildcards in the CLI
Wildcards can be used in the field <param_name> when viewing parameters (not setting
them), for example, to view all PPP 1 parameters that start with ‘r’ then command is:
ppp 1 r* ?
The output will show
ppp 1 r* ?
r_mru: 1500
r_acfc: OFF
r_pfc: OFF
r_pap: ON
r_chap: ON
r_accm: 0xffffffff
r_comp: OFF
r_addr: OFF
r_callb: 0
rxtimeout: 23
rdoosdly: 0
restdel: 2000
rebootfails: 0
rip: 0
ripip:
ripauth: 1
ripis: OFF
r_md5: 1
r_ms1: 1
r_ms2: 1
rbcast: OFF
OK