User manual
set accesscontrol
68 Chapter 2 Command Descriptions
set accesscontrol
Devices
supported
This command is supported in Digi Cellular Family products only.
Purpose Used to specify information that limits network access to this device, or
display current access-control settings. For the Digi Connect WAN, the
access-control settings also limit routing of packets through the device.
Required
permissions
For Digi Connect products with two or more users, to use this command,
permissions must be set to one of the following:
• For a user to display the access control settings:
“set permissions s-accesscontrol=read”
• For a user to display and set access control settings:
“set permissions s-accesscontrol=rw”
Syntax Configure access control settings
set accesscontrol [enabled={on|off}] [autoaddsubnets={on|off}]
[addrip[1-64]=ipaddress] [subnip[1-32]=ipaddress]
[subnmask[1-32]=mask]
Display current access-control settings
set accesscontrol
Options enabled={on|off}
Used to enable access control. Care must be used with this command
because improper settings can render this device inaccessible from the
network. Specifically, setting this option to “on” with no “addrip” option
values specified will disable all access.
on
Enables access control.
off
Disables access control.
autoaddsubnets={on|off}
Used to enable the automatic adding of subnets and subnet masks to this
table. The IP subnets for the device server's network interfaces (Ethernet
and PPP), may be automatically added to the table. This permits access
by all IP sources on the device server's networks, without having to
explicitly identify either the subnet IP addresses (and netmasks) or
individual IP addresses.
on
Enables automatic adding of subnets and subnet masks.
off
Disables automatic adding of subnets and subnet masks.
addrip[1-64]=ipaddress
Used to specify up to 64 individual IP addresses that are allowed to
access this device.