Download BATCHFILE(DLD BATCHFILE)

Function

An OM command that uploads output files of batch configuration commands from NEs to servers. During the uploading, a progress bar is displayed to indicate the upload progress

Note

1. Ensure that the specified session ID exists.

2. Ensure that the batch configuration command session is started before the command is run.

The file name (case sensitive) set must be the same as the name of the file to be downloaded.

4. The OM commands in the batch configuration command files will not be executed.

5. The number of commands in the batch configuration command file cannot exceed 100,000. The batch configuration command file size cannot exceed 20 MB.

If you terminate the batch configuration command file downloading during the process, the latter resumption of the downloading process may fail. Then wait for about three minutes to resume the downloading.

7. Explanation of the MML script files:

a) Note on script file: line starting with "^, [ ], *, /, /", or with spaces and double-backslash.

b) Comments on MML command: /*xxx*/ format is added before an MML command, for example, /* M2000 comment */ is added before MOD BSCBASIC: Name="BSC6000".

c) Batch configuration command file is a text file that contains a series of valid MML commands, comments, and break spaces. The batch configuration command file name is in "*.txt" format, for example, BATCHFILE.txt.

d) Each MML command or comment must be in one line and each line contains only one MML command or comment. The MML command and its comment must be in different lines.

e) MML commands or comments are displayed in sequence. Break spaces are allowed.

Parameters

ID Name Description
SID SessionID

Meaning: session ID

Value range: 0-268435455

Explanation: Session ID identifies a session.

Default value: None

SRCF Full directory file name

Meaning: file name with full directory

Value range: 1-100 characters

Explanation:

1. The path is in relative path mode and mapped to the correct local directory by the FTP server.Do not modify the file name after the file is downloaded to the NE.

2. The MML files of the batch command files must be in .txt format, and the XML files of the batch comamnd files must be in the .xml format.

3. The file name contains a maximum number of 31 characters.

Default value: None

IP FTPServer IP

Meaning: IP address of the FTP server

Value range: 0.0.0.0-255.255.255.255

Explanation: the IP address of the FTP Server on the MML Client.

Default value: None

USR FTPServer user

Meaning: user name of the FTP server

Value range: 1-16 characters

Explanation: This parameter specifies the user name of the FTP server.

Default value: None

PWD User password

Meaning: user password

Value range: 1-64 characters

Explanation: This parameter specifies the user password of the FTP server.

Default value: None

Example

Download the batch configuration command file from the server (xxx.xxx.xxx.xxx) to the NE (the path on the server is d:\download\batchfile.txt):
DLD BATCHFILE:SID=111111,USR=test,PWD=test,IP="xxx.xxx.xxx.xxx",SRCF="d:\download\batchfile.txt";
Related reference
Start BATCHFILE Session(STR BATCHFILESN)
Activate BATCHFILE(ACT BATCHFILE)
Upload BATCHFILE Result(ULD BATCHFILERST)
End BATCHFILE Session(END BATCHFILESN)
List BATCHFILE Session(LST BATCHFILESN)
Force End BATCHFILE Session(FOE BATCHFILESN)
Cancel BATCHFILE Session Operation(CNL BATCHFILESN)

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.