How to upload files using the BootROM of S series switches

7

On S series switches (except S1700 switches), the BootROM allows you to establish connections between the device and other devices or PCs to implement fast transfer of the system software, configuration files, and patch files.
Files can be transmitted through serial and Ethernet interfaces. You need to modify the transmission rate during the file transfer using the serial interface. This transmission mode is simple to configure, but has a low transmission rate. File transfer using the Ethernet interface is mainly described here, and the configuration process is as follows:
1. On the BootROM main menu, select Enter ethernet submenu to enter the Ethernet submenu.
2. In the Ethernet submenu, select Modify ethernet interface boot parameter to enter the menu for setting Ethernet parameters.
BOOTLINE SUBMENU

1. Set TFTP protocol parameters
2. Set FTP protocol parameters
3. Return to ethernet menu

Enter your choice(1-3):
3. Select the file transfer mode as required. The following takes FTP parameter settings as an example:
BOOTLINE SUBMENU

1. Set TFTP protocol parameters
2. Set FTP protocol parameters
3. Return to ethernet menu

Enter your choice(1-3): 2

'.' = clear field; '-' = go to previous field; ^D = quit
Load File name : devicesoftware.cc //Enter the name of the file to be uploaded.
Switch IP address : 192.168.1.15:ffffff00 //Enter the management IP address of the device, and ensure that the management IP address is on the same network segment as the IP address of the FTP server.
Server IP address : 192.168.1.40 //Enter the IP address of the FTP server.
FTP User Name : huawei //Enter the user name for logging in to the FTP server.
FTP User Password : //Enter the password in cipher text for logging in to the FTP server.
After the configuration is complete, the device automatically displays the Ethernet parameter setting menu.
4. Select Return to ethernet menu to return to the Ethernet submenu.
5. In the Ethernet submenu, you can select Download file to Flash through ethernet interface to download files in the FTP server, or select Upload Configuration file to Ftp through ethernet interface to upload the configuration file to the FTP server.
The setting for the TFTP server is similar to that for the FTP server, but you do not need to configure the user name and password.
Note that the interface of the BootROM menu differs slightly on different devices. Perform configurations according to the actual displayed information on the device.

More information about how to upload files through BootROM is as follows:

Other related questions:
Configuring an S series switch as an FTP server
Perform the following operations to configure an S series switch (except the S1700) as an FTP server: 1. Configure an IP address for the switch. 2. Configure the switch as an FTP server. system-view [HUAWEI] ftp server enable //Enable the FTP service. [HUAWEI] aaa [HUAWEI-aaa] local-user u1 password irreversible-cipher ftppwd@6789 //Set the FTP user name to u1 and password to ftppwd@6789. [HUAWEI-aaa] local-user u1 service-type ftp //Set the access type of the user to FTP. [HUAWEI-aaa] local-user u1 privilege level 15 //Set the user priority. [HUAWEI-aaa] local-user u1 ftp-directory flash:/ //Specify the directory that the user can access, which may be cfcard:/ for some S series modular switches. [HUAWEI-aaa] return

How to upload a license file to an S series switches
oad a license file to an S series (except the S1700) switch using one of the following methods:

Method 1: Using a TFTP server Use a PC as an TFTP server, run the TFTP server program on the PC, and configure the PC. Note: To use a TFTP server to upload a license file, you need to purchase the TFTP server software.s The operation procedure is as follows: 1. Configure a TFTP server. Click Browse to set Current Directory for storing the system software to be loaded. The TFTP server address in Server interfaces is automatically set by the system. 2. Run the tftp [ -a source-ip-address | -i interface-type interface-number ] tftp-server [ public-net | vpn-instance vpn-instance-name ] put source-filename [ destination-filename ] command to upload a license file to the TFTP server.

Method 2: Uploading a license file from an FTP server to a switch that functions as an FTP client Note: To use an FTP server to upload a license file, you need to purchase the FTP server software. The operation procedure is as follows: 1. Configure an FTP server, set the user name and password, and set the FTP directory. 2. Run the ftp [ -a source-ip-address | -i interface-type interface-number ] host-ipv4 [ port-number ] [ public-net | vpn-instance vpn-instance-name ] command to log in to the FTP server. Enter the user name and password as prompted. 3. Run the get remote-filename [ local-filename ] command to download a license file to the FTP client.

Method 3: Using a switch as an FTP server and uploading a license file to the switch from an FTP client The operation procedure is as follows: 1. Run the system-view command to enter the system view. 2. Run the ftp [ ipv6 ] server enable command to enable the FTP server. 3. Run the aaa command to enter the AAA view. 4. Run the local-user user-name password cipher password command to set the local user name and password. 5. Run the local-user user-name privilege level level command to set the local user level. Note: The user level must be set to 3 or higher. Otherwise, the FTP connection cannot be established. 6. Run the local-user user-name service-type ftp command to configure the FTP service type. 7. Run the local-user user-name ftp-directory directory command to configure an authorized directory for the FTP user. 8. Access the CLI of a PC and run the ftp server-ip-address command. Enter the user name and password as prompted to log in to the FTP server. 9. Run the put license-file command to upload a license file to the FTP server. After being successfully uploaded, the license file will be stored in the default directory of the FTP server.


How to format a device using the BootROM of S series switches
On S series switches (except S1700 switches), perform the following operations to format a device through the BootROM: On the BootROM main menu, select Enter filesystem submenu. 2. In the file system submenu, select Format flash. For S7700&S9700 series switches, you also need to select Format CFcard. Note that all the files in the flash memory, including the system software, will be deleted after formatting. Re-upload the system software to the device, otherwise the device will not start.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top