Chapter 3 System Management
Parameter
Description
flash
The type of storage device from
which version file is booted is
flash.
sd
The type of storage device from
which version file is booted is SD
card.
network
Image file is on a network.
<
filename
>
File name, within 80 characters
The following characters are available in version file name:
0123456789abcdefghijklmnopqrstuvwxyz_ABCDEFGHI-
JKLMNOPQRSTUVWXYZ/.;,-=+$#~@% !&[]{}
If version file is configured to boot from network, file name can
contain path in designated FTP directory. For example, the des-
ignated FTP directory is sysm, a user has entered nets in sysm
directory, the version file name can contain path in nets directory.
The command to configure version load selection function can be
used together with
nvram boot-password
,
nvram boot-serv
er
,
nvram boot-username
and
nvram default-gateway
com-
mands.
Example
This example shows how to configure booting from local device
ZXR10(config)#nvram imgfile-location local
This example shows how to configure booting from network.
ZXR10(config)#nvram imgfile-location network sys.img
Saving Command Log File
A switch can save some log files. However, after a switch is re-
booted, the log files before rebooting will be lost. If log files are
saved to flash or SD card, they will not be lost after switch is
rebooted. The switch provides the function that log files can be
saved and synchronized to flash and SD card. Storage path, file
name and size can be configured. The size of file ranges from 64K
bytes to 1024K bytes. By default, it is 256K bytes. When the size
exceeds the maximum size, the earliest parts of logs are deleted.
Note:
By default, the file is saved in flash/data directory, and file name
is logfile.txt.
To save command log file, use the following command.
Confidential and Proprietary Information of ZTE CORPORATION
31