Example 2.20. Upload certificate data
scp certificate.cer user@sgw-ip:certificate/certificate_name
scp certificate.key user@sgw-ip:certificate/certificate_name
Example 2.21. Upload ssh public key data
scp sshkey.pub user@sgw-ip:sshclientkey/sshclientkey_name
Usage
Options
-long
Enable long listing format.
<File>
File to list.
2.4.5. script
Handle CLI scripts.
Description
Run, create, show, store of delete script files.
Script files are transfered to and from the device by the SCP protocol. On the device they are stored
in the "/script" folder.
Example 2.22. Execute script
"script.sgs":
add IP4Address Name=$1 Address=$2 Comment="$0: \$100".
:/> script -execute -name=script.sgs ip_test 127.0.0.1
is executed as line:
add IP4Address Name=ip_test Address=127.0.0.1 Comment="script.sgs: $100"
Usage
script -create [[<Category>] <Type> [<Identifier>]] [-name=<Name>]
Create configuration script from specified object, class or category.
script -execute [-verbose] [-force] [-quiet] -name=<Name>
[<Parameters>]...
2.4.5. script
Chapter 2. Command Reference
73
Содержание NetDefend DFL-260E
Страница 18: ...1 6 User roles Chapter 1 Introduction 18...
Страница 75: ...2 4 5 script Chapter 2 Command Reference 75...
Страница 139: ...Comments Text describing the current object Optional 3 32 IPsecAlgorithms Chapter 3 Configuration Reference 139...
Страница 195: ...3 55 UserAuthRule Chapter 3 Configuration Reference 195...