Python Modules - Digi IX20W-PR User Manual

Table of Contents

Advertisement

Applications
6. Click Apply to save the configuration and apply the change.
Command line
1. Select the device in Remote Manager and click Actions > Open Console, or log into the IX20
local command line as a user with full Admin access rights.
Depending on your device configuration, you may be presented with an Access selection
menu. Type admin to access the Admin CLI.
2. At the command line, type config to enter configuration mode:
> config
(config)>
3. Enable custom firewall rules:
(config)> firewall custom enable true(config)>
4. Set the shell command that will execute the custom firewall rules script:
(config)> firewall custom rules "iptables -I INPUT -p tcp --dport 9999 -j
ACCEPT"
(config)>
5. Save the configuration and apply the change
(config)> save
Configuration saved.
>
6. Type exit to exit the Admin CLI.
Depending on your device configuration, you may be presented with an Access selection
menu. Type quit to disconnect from the device.

Python modules

The IX20 supports Python 3.6 and provides you with the ability to run Python applications on the
device interactively or from a file. It also offers extensions to manage your IX20:
The digidevice module provides platform-specific extensions that allow you to interact with
n
the device's configuration and interfaces.
The following submodules are included with the digidevice module:
IX20 User Guide
Develop Python applications
802

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ix20Ix20wIx20-pr

Table of Contents