D-Link DFL-260E CLI Guide for DFL-260E - Page 73
Handle CLI scripts.
View all D-Link DFL-260E manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 73 highlights
2.4.5. script Chapter 2. Command Reference 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 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 [[] []] [-name=] Create configuration script from specified object, class or category. script -execute [-verbose] [-force] [-quiet] -name= []... 73