![Digi IX20 Скачать руководство пользователя страница 434](http://html.mh-extra.com/html/digi/ix20/ix20_user-manual_2496666434.webp)
Applications
Configure applications to run automatically
IX20 User Guide
434
3. Highlight the
scripts
directory and click
to open the directory.
4. Click
(upload).
5. Browse to the location of the script on your local machine. Select the file and click
Open
to
upload the file.
The uploaded file is uploaded to the
/etc/config/scripts
directory.
Command line
1. Log into the IX20 command line as a user with Admin access.
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, use the
command to upload the Python application script to the IX20
device:
> scp host
hostname-or-ip
user
username
remote
remote-path
local
local-path
to local
where:
n
hostname-or-ip
is the hostname or ip address of the remote host.
n
username
is the name of the user on the remote host.
n
remote-path
is the path and filename of the file on the remote host that will be copied to
the IX20 device.
n
local-path
is the location on the IX20 device where the copied file will be placed.
For example:
To upload a Python application from a remote host with an IP address of 192.168.4.1 to the
/etc/config/scripts directory on the IX20 device, issue the following command:
> scp host 192.168.4.1 user admin remote /home/admin/bin/test.py local
/etc/config/scripts/ to local
[email protected]'s password: adminpwd
test.py
100%
36MB
11.1MB/s
00:03
>
3. 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.
Note
You can also create Python applications by using the
vi
command when logged in with shell
access.
Содержание IX20
Страница 1: ...IX20 User Guide ...
Страница 598: ...Monitoring This chapter contains the following topics intelliFlow 599 Configure NetFlow Probe 606 IX20 User Guide 598 ...
Страница 613: ...Central management Configure Digi Remote Manager IX20 User Guide 613 ...
Страница 640: ...Diagnostics View system event logs IX20 User Guide 640 5 Click to download the system log ...
Страница 707: ...Command line interface Command line reference IX20 User Guide 707 more path The file to view Syntax STRING ...
Страница 710: ...Command line interface Command line reference IX20 User Guide 710 reboot Reboot the system Parameters None ...