User`s guide
354
Configuration – Security > Command Filters
When this feature is enabled, commands will not reach the router’s command interpreter
unless they are defined in the Command Filters table. Terminal devices may send
commands that the router will not necessarily understand but that require a basic “OK” or
“ERROR” response.
With command filtering turned on, any command entered will be responded to with a
MODEM-like “OK” or “ERROR” response (depending on settings below) unless the command
is found in the Command Filters table. The command filter uses wild-character matching so
that command filters such as “cmd*” are permitted which would allow all “cmd 0 ...”
commands to be executed. Note that the command mapping table is checked first and the
command filter table is only checked if there was not a match in the command matching
table.
For more information on command filtering there is an application note “Command Line
Response Manipulation” which is available on the Digi web site (www.digi.com).
The table is generated by typing the desired command into the text box and clicking the
“Add” button. Once a command has been entered into the table, it can be removed by
clicking the “Delete” button that appears on the right hand side.
Command
This text box contains the command to filter.
Related CLI Commands
Entity
Instance
Parameter
Values
Equivalent Web Parameter
cfilter n cmd
Valid command
line command
Command
cmd n cfilton
0,1
0 = Off
1 = On
n/a
cmd n cfilterr
0,1
0 = Off – OK
1 = On – ERROR
n/a
Command filtering is enabled from the command line for any particular instance of the
command interpreter with the following command
cmd <n> cfilton 1
The default action is to respond with the “OK” response. If the response needed is “ERROR”,
use the parameter
cmd <n> cfilterr 1
Where n is the instance number.
Note:
If the command string contains blank characters, it must be enclosed by double quotation
marks. When substituting a command, upper case characters are considered the same as
the corresponding lower case characters.