Command usage
25
Models 2211 & 2232 Getting Started Guide
2 • Getting started
Command usage
The device server provides several simple commands for configuration and control of the device server.
Table 3
summarizes command set which the device server supports.
Table 3. Device server command set summary
Command
Description
Result
set group par1 [par2 ...] + <CR>
Set configuration parameters:
• group = 'ip', 'host', 'serial' or
'admin'
• par1 ... = configuration parame-
ters. Use * to keep a parame-
ter's value
If success,
“OK” + <CR> + <LF>
If error
“ERROR” + <CR> + <LF>
get [group] + <CR>
Get configuration parameter values
• group = 'ip', 'host', 'serial',
'admin' or 'status'
• If group is specified, shows set-
tings of the group.
• If group is omitted, shows set-
tings of all groups.
Parameter value display
help [group] + <CR>
Shows command usage screen.
• If group is omitted, shows
help screen.
• If group is specified, shows 'set'
command usage of the group.
Help message display
factorydefault [option] + <CR>
Restore factory default values
• If option is omitted, all parame-
ters are set with factory default
values.
• If option='-ip', all parameters
except IP settings are set with
factory default values.
If success,
“OK” + <CR> + <LF>
If error
“ERROR” + <CR> + <LF>
save + <CR>
Save changes
If success,
“OK” + <CR> + <LF>
If error
“ERROR” + <CR> + <LF>
exit + <CR>
Exit without rebooting the device
(changes are not applied)
If success,
“OK” + <CR> + <LF>
If error
“ERROR” + <CR> + <LF>
<CR>
Exit and reboot the device
None