No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Basic Configuration

S1720, S2700, S5700, and S6720 V200R011C10

This document describes methods to use command line interface and to log in to the device, file operations, and system startup configurations.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Upgrading the System Software Using the BootROM Menu

Example for Upgrading the System Software Using the BootROM Menu

Networking Requirements

As shown in Figure 10-1, the serial port on a PC connects to the console port on a switch, and the network adapter on the PC connects to the management interface on the switch. The terminal emulation software is used for logging in to the switch.

If the system software on a switch is faulty, you cannot log in. To address this issue, use the Ethernet submenu under the BootROM menu to upload system software and specify it as the next startup system software. This enables the switch to load the system software and start an upgrade.

Figure 10-1  Networking diagram of connecting a PC to the console port on a switch
NOTE:

In this example, HyperTerminal is used as terminal emulation software. If other third-party terminal emulation software is used, see the corresponding software user guide or online help.

Configuration Roadmap

  1. Deploy an FTP server and upload the target system software to the FTP working directory. In this example, configure the PC as the FTP server, and connect the network adapter on the PC to the management interface on the switch for setting up subsequent FTP connections.
  2. Restart the switch and access the BootROM main menu.
  3. Set FTP parameters on the switch so that the switch can communicate with the FTP server. Use FTP to upload the target system software to the storage device on the switch.
  4. In the startup configuration submenu, configure the uploaded system software as the next startup system software.

Procedure

  1. Configure the PC as the FTP server and copy the system software of the switch to the FTP working directory.
    1. Configure the IP address, user name, password, and working directory for the FTP server.

      Run an FTP server program on the PC, for example, wftpd32. Choose Security > Users/rights.... In the dialog box that is displayed as shown in Figure 10-2, click New User.... In the dialog box that is displayed, set the user name to user and password to huawei. Set Home Directory: to D:\BootROM. Click Done to close the dialog box. Set the IP address of the PC to 192.168.1.6 and mask to 255.255.255.0.

      Figure 10-2  Configuring the FTP server

    2. Upload the system software, such as S5700LI-V200R011C10.cc to the working directory (D:\BootROM) of the FTP server. The upload process is not mentioned here.
  2. Restart the switch. When the following information is displayed, press Ctrl+B or Ctrl+E, and then enter the password to access the BootROM main menu. The default BootROM password is Admin@huawei.com.

    BIOS loading ...
    Copyright (c) 2011-2013 HUAWEI TECH CO., LTD.
    Basic BootROM version : 160 Compiled at May 14 2013, 21:19:01
    
    Press Ctrl+B or Ctrl+E to enter BootROM menu ... 2
    password:      //Enter the BootROM password.
              BootROM  MENU
    
        1. Boot with default mode
        2. Enter serial submenu
        3. Enter startup submenu
        4. Enter ethernet submenu
        5. Enter filesystem submenu
        6. Enter password submenu
        7. Clear password for console user
        8. Reboot
        (Press Ctrl+E to enter diag menu) 
    
    Enter your choice(1-8): 

  3. Set FTP parameters on the switch to set up an FTP connection with the PC.
    1. In the BootROM main menu, select 4 to access the Ethernet submenu.

                BootROM  MENU
      
          1. Boot with default mode
          2. Enter serial submenu
          3. Enter startup submenu
          4. Enter ethernet submenu
          5. Enter filesystem submenu
          6. Enter password submenu
          7. Clear password for console user
          8. Reboot
          (Press Ctrl+E to enter diag menu) 
      
      Enter your choice(1-8): 4

    2. In the Ethernet submenu, select 4 to modify parameters on the Ethernet port.

                ETHERNET  SUBMENU
      
          1. Update BootROM system
          2. Download file to Flash through ethernet interface
          3. Upload Configuration file to Ftp through ethernet interface
          4. Modify ethernet interface boot parameter
          5. Return to main menu
      
      Enter your choice(1-5): 4
      
                BOOTLINE  SUBMENU
      
          1. Set TFTP protocol parameters
          2. Set FTP protocol parameters
          3. Return to ethernet menu
      
      Enter your choice(1-3): 

    3. Select 2 to set FTP parameters on the switch.

                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;  'Ctrl+D' = quit
      Load File name      : S5700LI.CC S5700LI-V200R011C10.cc //Enter the name of the system software to be loaded.
      Switch IP address   : 192.168.1.15:ffffff00 192.168.1.3     //Enter the IP address of the management interface on the switch.
      Server IP address   : 192.168.1.1 192.168.1.6   //Enter the IP address of the FTP server.
      FTP User Name       : huawei user               //Enter the user name "user" for logging in to the FTP server.
      FTP User Password   :                           //Enter the password "huawei" for logging in to the FTP server.
      
      Starting to write BOOTLINE into flash ... done

  4. In the Ethernet submenu, select 2 to load the system software to the flash memory.

              ETHERNET  SUBMENU
    
        1. Update BootROM system
        2. Download file to Flash through ethernet interface
        3. Upload Configuration file to Ftp through ethernet interface
        4. Modify ethernet interface boot parameter
        5. Return to main menu
    
    Be sure to select 4 to modify boot parameter before downloading!
    Enter your choice(1-5): 2
    Attached TCP/IP interface to mottsec0.
    Warning: no netmask specified.
    Attaching network interface lo0... done.
    
    Read file to sdram ...............Done
    Writing Flash...................................................................
    ................................................................................
    ..................................................................done
    File length: 13955100 bytes
    Time taken : 118s 

  5. Exit from the Ethernet submenu. In the BootROM main menu, select 3 to specify the loaded system software for the next startup.

              BootROM  MENU
    
        1. Boot with default mode
        2. Enter serial submenu
        3. Enter startup submenu
        4. Enter ethernet submenu
        5. Enter filesystem submenu
        6. Enter password submenu
        7. Clear password for console user
        8. Reboot
        (Press Ctrl+E to enter diag menu) 
    
    Enter your choice(1-8): 3
    
           Startup Configuration Submenu
    
        1. Display startup configuration
        2. Modify startup configuration
        3. Return to main menu
    
    Enter your choice(1-3): 2
    Note: startup file field can not be cleared
    '.'=clear field; 'Ctrl+D'=quit; Enter=use current configuration
    
    startup type(1: Flash)
      current: 1
      new    :       //No setting is required. Press "Enter".
    Flash startup file (can not be cleared)
      current: S5700LI.cc
      new    : S5700LI-V200R011C10.cc       //Enter the name of the system software to be loaded.
    saved-configuration file
      current: vrpcfg.zip
      new    :       //No setting is required. Press "Enter".
    patch package
      current:
      new    :      //No setting is required. Press "Enter".

  6. Exit from the startup configuration submenu. In the BootROM main menu, select 1 to start the switch.

              BootROM  MENU
    
        1. Boot with default mode
        2. Enter serial submenu
        3. Enter startup submenu
        4. Enter ethernet submenu
        5. Enter filesystem submenu
        6. Enter password submenu
        7. Clear password for console user
        8. Reboot
        (Press Ctrl+E to enter diag menu) 
    
    Enter your choice(1-8): 1

  7. Verify the configuration.

    # After the switch starts, run the display version command in the CLI to check whether the switch version is the target version.

    <HUAWEI> display version
    Huawei Versatile Routing Platform Software
    VRP (R) software, Version 5.160 (S5700 V200R011C10)
    Copyright (C) 2000-2014 HUAWEI TECH CO., LTD
    HUAWEI S5700-28P-LI-AC Routing Switch uptime is 0 week, 0 day, 0 hours, 7 minutes
    
    ......

Translation
Download
Updated: 2019-10-21

Document ID: EDOC1000178166

Views: 252088

Downloads: 1929

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next