Zhone 5100 참조 매뉴얼
CHAPTER 1
System commands
System commands
20
Vpacket 5100/6100 Series Reference Manual
username <user>
(optional) the username to log in to the server; username taken
from the FTP settings if not specified otherwise.
password <password>
(optional) the password to use to log in to the server (uses the
password from the FTP settings if not provided directly).
binary
(optional) tells the FTP server to use binary mode to transfer
the file.
reboot
(optional) tells the system to reboot after the download is
complete.
configuration
(optional) sets up the download main.cfg file into the config
directory from a specified remote system by preparing for the
transfer mode, the destination directory, and uses the FTP
settings for server, etc., unless individual items are over ridden.
image <1 |2>
(optional) uses the filename configured in the set ftp and the
other FTP settings (unless over-ridden). It knows that the
destination directory is maincode, the mode is binary, and that
only one maincode image can be in that directory so it deletes
the one that is there. Placing a 1 or 2 forces the image to be
placed in location 1 or 2. If not specified, the code is placed in
the first open location.
requestactive
(optional) indicates the image downloaded should be marked as
requested for the next reset
Example:
In this example, the old image 1 code is being replaced with a new image file. They are both
MGCP and are compatible code for this 5100/6100 VDR unit. The requestactive option means
that after the file completes the download and you save it, then reset the unit, that new code in the
image 1 location will be the active image.
Executing a script or file
You can execute an ASCII script file of CLI commands by issuing the execute command. Any
commands that create errors will be skipped and the script will continue to execute. Commands
that ask questions will not function in the script.
Syntax: execute <filename> [echo]
Arguments:
Syntax: execute <filename> [echo]
Arguments:
filename
an up to 8-character name with a 3-character extension
echo
(optional) echo parameter displays the commands as they are executed
VPacket# download image s020101.bin requestactive
Delete m020000.bin image file (y|n) [n] :y
download of s020101.bin to s020101.bin
download# .....