The backup elabel command backs up electronic labels of the device to the flash memory. The default file name format is elabel-slotslotid.fls, for example, elabel-slot0.fls.
The backup elabel ftp command backs up electronic labels of the device to a specified FTP server.
The backup elabel sftp command backs up electronic labels of the device to a specified SFTP server.
backup elabel [ slot slot-id [ subcard-id ] ]
backup elabel ftp ftp-server-address filename username password [ slot slot-id [ subcard-id ] ]
backup elabel sftp sftp-server-address filename username password [ slot slot-id [ subcard-id ] ]
Parameter | Description | Value |
---|---|---|
ftp-server-address |
Specifies the IP address of the FTP server that stores electronic labels. |
The value is in dotted decimal notation. |
sftp-server-address |
Specifies the IP address of the SFTP server that stores electronic labels. |
The value is in dotted decimal notation. |
filename |
Specifies the name of the file that stores electronic labels. |
The value is a string of 5 to 28 case-sensitive characters without spaces, in the format of elabel-slotslotid.fls, for example, elabel-slot0.fls. |
username |
Specifies the user name used to log in to the FTP or SFTP server. |
The value is a string of 1 to 64 case-sensitive characters without spaces. |
password |
Specifies the password used to log in to the FTP or SFTP server. |
The value is a string of 1 to 16 case-sensitive characters without spaces. |
slot slot-id |
Specifies the slot ID. |
The value must be set according to the device configuration. |
subcard-id |
Specifies the subcard ID. |
The value must be set according to the device configuration. |
When electronic labels are stored on a device, run the backup elabel command to save electronic labels to a file. This file can be saved to the flash memory, to the FTP or SFTP server using FTP or SFTP. FTP cannot ensure secure file transfer. SFTP is recommended on networks that require high security.
# Save electronic labels of the device to the elabel-slot0.fls file in the flash memory.
<HUAWEI> backup elabel slot 0
Info: Output information to file: flash:/elabel-slot0.fls. Please wait for a mom
ent...
Info: Put file to flash successfully.
# Save electronic labels of the device to FTP server 192.168.12.91. Set the FTP user name to user and password to 123. Save electronic labels in the elabel-slot0.fls file.
<HUAWEI> backup elabel ftp 192.168.12.91 elabel-slot0.fls user 123 Warning: FTP is not a secure protocol, and it is recommended to use SFTP. Info: It is executing, please wait... Info: Put file to FTP server successfully.
<HUAWEI> backup elabel sftp 192.168.12.91 elabel-slot0.fls client001 Huawei@1234 Info: It is executing, please wait... Info: Put file to SFTP server successfully.