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

eSight V300R010C00SPC200, 300, and 500 Operation Guide 09

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).
Typical Configuration Examples

Typical Configuration Examples

This section describes typical configuration examples in typical application scenarios, helping users complete various operations based on the actual scenarios.

Example for Configuring eSight to Periodically Back Up Device Configuration Files

This example illustrates how to configure eSight to periodically back up device configuration files.

Networking Requirements

Some devices on the network of company M have been used for a long time. Faults are prone to occur on these devices, causing configuration loss.

The administrator Tod wants to use eSight to periodically back up configuration files on these devices. When faults occur on them, the backup configuration files can be used to recover services in a timely manner.

Figure 12-49 Networking of company M

Faults frequently occur on Switch003 (Cisco device) and AC001 (Huawei device) on the network of company M. The company's wireless network is unavailable after faults occur, affecting office services.

After the faults are rectified, some configurations are lost. The administrator needs to reconfigure services on the device. As a result, the network cannot be recovered timely.

The administrator Tod wants to periodically back up configuration files of the two devices and use the backup configuration files to quickly recover services, and requires that the files do not occupy large disk space.

Therefore, Tod plans to back up a maximum of five running configuration files and five startup configuration files for each device at 00:00 every day, when no one is using the wireless network.

Tod also wants to obtain the execution status of the backup task and configuration file changes through emails.

Configuration Roadmap

  1. Check whether SFTP parameters are correctly configured on eSight.

    If the SFTP service is disabled, enable it.

  2. Specify users to whom notification emails are sent.

    Create a user group that receives notification emails and add Tod to the group.

  3. Set backup parameters.

    Set the maximum number of backup configuration files.

  4. Configure email notification parameters.

    After the parameters are set, eSight sends emails containing the execution status of the backup task and configuration file changes to Tod at the scheduled time.

  5. Create a backup task.

    After the backup task is created, eSight backs up configuration files of Switch003 and AC001 at 00:00 every day.

Prerequisites

  • SNMP and Telnet parameters have been correctly set for devices Switch003 and AC001 and are the same as those on eSight.
  • Devices Switch003 and AC001 have been added to eSight.
  • An email server has been configured on eSight.
  • The SSH client has been enabled on the device. For example, to enable the SSH client on Huawei S9312, run the ssh client first-time enable command on the device.
  • The firewall of the eSight server permits the SFTP service of port 31922. If a firewall exists between the eSight server and the device, port 31922 is permitted on the firewall.

Procedure

  1. Check whether SFTP parameters are correctly configured on eSight.

    FTP and TFTP may have potential security risks. Exercise caution when you use them. SFTP that is more secure than FTP and TFTP is recommended.

    • In the Windows scenario:
      1. Log in to the eSight server as the Administrator user.
      2. Check whether the value of enable corresponding to the SFTP protocol in the D:\eSight\AppBase\sysagent\etc\sysconf\svcbase\med_node_1_svc.xml file is true.
        NOTE:

        In the file name, D:\eSight must be changed to the actual installation directory.

        <config name="sftp">  
        <param name="enable">true</param> 
        </config>
        • If the parameter value is true, the SFTP server is normal.
        • If the value is false, configure the SFTP server status by referring to Configuring the eSight File Transfer Protocol in the Maintenance Guide.
    • In the Linux scenario:
      1. Log in to the eSight server as the root user.
      2. Check whether the value of enable corresponding to the SFTP protocol in the /opt/eSight/AppBase/sysagent/etc/sysconf/svcbase/med_node_1_svc.xml file is true.
        NOTE:

        In the file name, /opt/eSight must be changed to the actual installation directory.

        <config name="sftp">  
        <param name="enable">true</param> 
        </config>
        • If the parameter value is true, the SFTP server is normal.
        • If the value is false, configure the SFTP server status by referring to Configuring the eSight File Transfer Protocol in the Maintenance Guide.

  2. Specify users to whom notification emails are sent.

    1. Choose System > System Settings > System Interconnection from the main menu. Choose Set Notified User from the navigation tree on the left.

    2. Set notified users.
      1. In the navigation tree, choose User.
      2. Click .
      3. Set user information and click OK.

    3. Create a user group and add notified users to the group.
      1. In the navigation tree, choose User Group.
      2. Click .
      3. Set the group name, select users to be notified, and click OK.

  3. Set backup parameters.

    1. Choose Resource > Network > Configuration > Configuration File Management from the main menu.

    2. In the navigation tree, choose Set System Parameters > Backup Parameters.
    3. Set backup parameters and click Apply.

  4. Configure email notification parameters.

    1. In the navigation tree, choose Set System Parameters > Email Notification.
    2. Set email notification parameters and click Apply.

  5. Create a scheduled backup task.

    1. In the navigation tree, choose Manage Config Files > Backup Tasks.
    2. Click Create.
    3. Set backup parameters and click OK.

Verification

  • Check whether the backup task is executed at the scheduled time and whether a notification email is sent.

    Tod receives an email at 00:00, indicating that the backup task is executed successfully.

  • Modify the configuration file of AC001. Check whether a notification email is sent after the backup task is executed and whether the content in the email attachment is correct.

    Tod receives an email at 00:10, indicating that the configuration file of AC001 changes.

    The change information recorded in the email attachment is the same as the modification.

Configurations on eSight are correct. eSight can periodically execute backup tasks and send emails to inform users of the execution status of the backup task and configuration file changes.

Example for Using eSight to Recover Services on Faulty Devices Through Backup Configuration Files

A device failure may lead to loss of some configurations, affecting services. This example illustrates how to use backup configuration files on eSight to recover services.

Networking Requirements

AC001 on the network of company M fails and goes offline. After AC001 is restarted, the WLAN service becomes unavailable.

Figure 12-50 Networking of company M

The network administrator Tod has created a scheduled backup task for backing up the configuration file of AC001. Tod wants to restore the configuration file of AC001 using the backup configuration file, implementing quick recovery of the wireless network.

Configuration Roadmap

  1. Go to the configuration file management page.

    Select the configuration file with the latest backup date in the normal running status of the device.

  2. Restore the configuration file.

Prerequisites

Procedure

  1. Go to the configuration file management page.

    1. Choose Resource > Network > Configuration > Configuration File Management from the main menu.

    2. Choose Manage Config Files > Backup Tasks in the navigation tree.
    3. Click in the Operation column of the AC001 device. The configuration file management page is displayed.

  2. Restore the configuration file.

    1. Click in the Operation column corresponding to the configuration file to be restored, select To Running.

    2. In the dialog box that is displayed, choose I have understood the consequence of the operation and confirm to perform the operation. and click OK.
    3. In the dialog box that is displayed, click OK. The configuration file is restored.

Verification

  1. Delete some WLAN service configurations from AC001 at 10:00 a.m. on January 21, 2015, and restart AC001.
  2. Execute the backup task immediately. In the navigation tree, choose Manage Config Files > Config Files.
  3. Click the file name in the latest running configuration column of AC001 to view the current configuration file on the device.

    The running configuration file on AC001 is the recovered configuration file. In the configuration file, deleted configuration data has been restored and the wireless network has been recovered.

Configurations on eSight are correct. eSight can use backup configuration files to recover services on faulty devices.

Translation
Download
Updated: 2019-09-12

Document ID: EDOC1100044378

Views: 81762

Downloads: 403

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