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

ME60 Troubleshooting Guide V1.0 (VRPv8)

This document provides the maintenance guide of the device, including daily maintenance, emergence maintenance, and typical troubleshooting.
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).
Backup and Restoration

Backup and Restoration

How to back up and restore data.

For the router, backup and restoration involves:

Backing Up the Configuration File

Context

A configuration file can be backed up in the following manners:

NOTE:

FTP and TFTP are insecure protocol. SFTP are recommended to transfer files.

Procedure

  • Directly Copying the File
    1. Run the display current-configuration command on the command line interface and copy all command outputs into a .txt file. In this manner, the configuration file is backed up into the hard disk of the maintenance terminal.
  • Backing Up the File Through TFTP
    1. Directly copy the configuration file to the CFcard.
    2. Assign an IP address to the router.

      The router functions as a TFTP client.

      Connect the router and maintenance terminal to set up a Telnet environment. Assign an IP address to the interface on the router. Ensure that this IP address and the IP address of the TFTP server are in the same network segment.

    3. Run the TFTP server application program.

      Run the TFTP server application program on the PC. Configure the path where the downloaded file is to be saved, IP address of the TFTP server, and interface number.

    4. Transfer the configuration file.

      Run the tftp command with parameters specifying the IP address (10.110.24.209 in this example) of the TFTP server, operation, and name of the configuration file on the command line interface.

      <HUAWEI> tftp 10.110.24.209 put backup.cfg
        Transfer file in binary mode.
        Now begin to copy file to remote tftp server, please wait for a while... \
        TFTP:     1503 bytes sent in 1 seconds.
        File uploaded successfully.

  • Backing Up the File Through FTP
    1. Connect the router and maintenance terminal to set up a Telnet environment. Assign an IP address to the interface on the router.
    2. Enable the FTP service.

      The router functions as an FTP server.

      Enable the functions of the FTP server. Create an FTP user with the username as router and password as Hello-13579. The user is authorized to access "cfcard:".

      <HUAWEI> system-view
      Enter system view, return user view with return command.  
      [~HUAWEI] ftp server enable
      [*HUAWEI] aaa
      [*HUAWEI-aaa] local-user router password cipher Hello-13579
      [*HUAWEI-aaa] local-user router level 3  
      [*HUAWEI-aaa] local-user router service-type ftp  
      [*HUAWEI-aaa] local-user router ftp-directory cfcard:
      [*HUAWEI-aaa] commit

    3. On the maintenance terminal, initiate an FTP connection to the router.

      On the PC, set up an FTP connection with the router through the FTP client. Assume that the IP address of the router is 10.110.24.254.

      C:\Documents and Setting\Administrator> ftp 10.110.24.254
      Connected to 10.110.24.254.
      220 FTP service ready.
      User (10.110.24.254:(none)): router
      331 Password required for router.
      Password:
      230 User logged in.

    4. Configure transfer parameters.

      If the FTP user passes the authentication, the FTP client displays the prompt character of "ftp>". Enter binary following the prompt character. Then, specify the path where the uploaded file is to be saved on the FTP client.

      ftp> binary
      200 Type set to I.
      ftp> lcd c:\temp
      Local directory now C:\temp.

    5. Transfer the configuration file.

      On the PC, run the get command to download the configuration file to the specified path and save the file as backup.cfg.

      ftp> get vrpcfg.cfg backup.cfg
      200 Port command okay.
      150 Opening ASCII mode data connection for vrpcfg.cfg.
      226 Transfer complete.
      ftp: 1021 bytes received in 0.06Seconds 60.02Kbytes/sec.
      ftp>

  • Backing Up the File Through SFTP
    1. Connect the router and maintenance terminal to set up a Telnet environment. Assign an IP address to the interface on the router.
    2. Enable the SFTP service.

      The router functions as an SFTP server.

      Enable the functions of the SFTP server. Create a local user with the username as router and password as Hello-13579.

      <HUAWEI> system-view
      Enter system view, return user view with return command.  
      [~HUAWEI] sftp server enable
      [*HUAWEI] aaa
      [*HUAWEI-aaa] local-user router password cipher Hello-13579
      [*HUAWEI-aaa] local-user router level 3  
      [*HUAWEI-aaa] local-user router service-type ssh  
      [*HUAWEI-aaa] quit

    3. Create an SSH user and set the authentication mode to password authentication. The user is authorized to access "cfcard:".

      [*HUAWEI] ssh user router authentication-type password
      [*HUAWEI] ssh user router service-type sftp
      [*HUAWEI] ssh user router sftp-directory cfcard:
      [*HUAWEI] commit

    4. Set up an SFTP connection with the router through the SFTP client.

      You need to install an SFTP client on the PC to set up an SFTP connection with the router through the SFTP client. The following uses PuTTY as an example to describe how to transfer the file. After PuTTY installation is complete, double-click psftp.exe to start the file transfer software.

      Assume that the IP address of the router is 10.1.1.2. On the PC, run the get command to download the configuration file to the specified path and save the file as backup.cfg.

      psftp: no hostname specified; use "open host.name" to connect
      psftp> open 10.1.1.2
      login as: router
      SSH server: User Authentication
      Using keyboard-interactive authentication.
      Enter password:
      Remote working directory is /
      psftp> get vrpcfg.cfg backup.cfg
      remote:/vrpcfg.cfg => local:backup.cfg
      psftp>

Restoring the Configuration Files

The configuration files saved in the PC can be loaded to a router through FTP or TFTP. You can restore the configuration files through the following ways.

NOTE:

After restoring the configuration files, reset the router to make the configuration files take effect.

Recovering the Configuration Files Saved in the CF Card Memory

This action is to restore the configuration files saved in the CF card memory of the router as the configuration files of the current system.

Run the following commands when the router works normally.

<HUAWEI> copy backup.cfg vrpcfg.cfg
100%  complete
Recovering the Configuration Files Saved in the PC Through TFTP

The router works as the TFFP client. The restoration procedure is similar to that for backing up the configuration files through TFTP. Run the tftp get command to download the configuration files saved in the PC to the CF card memory of the router.

Recovering the Configuration Files Saved in the PC Through FTP

The router acts as the FTP server. The restoration procedure is similar to that for backing up the configuration files through FTP. Run the ftp put command to upload the configuration files saved in the PC to the CF card memory of the router.

Translation
Download
Updated: 2019-06-11

Document ID: EDOC1000175918

Views: 11852

Downloads: 240

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