MG-IP TDM Over IP Gateway Reference Manual
56
\a\dlf <IP> cfg <file path>
- (download CLI script). This CLI is forbidden in the script. It is
treated as an error command (failure is returned).
\a\dlf <IP> img <file path>
(download software image).This CLI command with an "img"
parameter is relevant only in “safe” download mode (also referred to as UDL mode), the only
mode in which a software image can be downloaded. In non-UDL mode, this parameter is
treated as invalid.
In “safe” download (UDL) mode, when the command appears in a CLI script, a download request
is sent to the TFTP server and the remaining commands in the script are ignored.
However, if a software image with this filename has already been downloaded, no download
request is sent and the script continues to run.
Image files are customer specific and are included in a dedicated ZIP file provided
by Olencom. This ZIP file’s name must not be changed.
Progress messages following success/failure: unsolicited messages are sent to all CLI users
(connected through UART/Telnet)
If a command succeeds:
Command completed. Line: <line number>, Command: <command name>
If the command fails:
CLI script file processing failed.. Line: <line number>, Command: <command name>
Description:
<Description returned from CLI>
The script stops and the system restarts.
An identical failure message is sent to the Syslog server.
Guidelines to Writing CLI Script File
CLI scripts used in DHCP mode have a very specific format and comply with specific guidelines, as
follows:
Boot with the default configuration, which has NO associated sessions
The CLI script should be composed in the following format:
User name and password
dlf command for image file (if required)
Disable TDM ports
Configure TDM ports and, if required, TDM hardware profiles
Enable TDM ports
Add all sessions
Configure all sessions
Enable all sessions
The order of the commands bears significance. Olencom recommends it not be changed.