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 - Device Management

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes the configurations of Device Management, including device status query, hardware management, Information Center Configuration, NTP, Synchronous Ethernet Configuration, Fault Management Configuration, Energy-Saving Management Configuration, Performance Management Configuration, Maintenance Assistant Configuration, and OPS Configuration.
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 Configuring Performance Management Functions

Example for Configuring Performance Management Functions

Networking Requirements

As shown in Figure 8-2, SwitchA connects to an FTP server across a network. There are reachable routes between SwitchA and the FTP server. Network maintenance personnel want to collect traffic statistics on switch interfaces and view the traffic statistics on the FTP server.

Figure 8-2 Networking diagram for performance management configuration

Configuration Roadmap

The configuration roadmap is as follows:

  1. To collect traffic statistics on switch interfaces, enable the performance statistics collection function and create a performance statistics collection task.

  2. To save statistics files to the FTP server, configure SwitchA to automatically upload statistics files to the FTP server.

    NOTE:

    The FTP protocol will bring risk to device security. The SFTP mode is recommended.

Procedure

  1. Enable the performance statistics collection function.

    <HUAWEI> system-view
    [~HUAWEI] sysname SwitchA
    [*HUAWEI] commit
    [~SwitchA] pm
    [~SwitchA-pm] statistics enable
    [*SwitchA-pm] commit
    

  2. Configure basic performance statistics collection parameters.

    # Create a performance statistics collection task to collect traffic statistics on 10GE1/0/1, and set the statistics collection cycle to 5 minutes.

    [~SwitchA-pm] statistics-task stream
    [*SwitchA-pm-statistics-stream] binding instance-type interface instance 10ge1/0/1
    [*SwitchA-pm-statistics-stream] statistics-cycle 5
    Warning: All data of the statistics task will be deleted. Continue? [Y/N]: y
    [*SwitchA-pm-statistics-stream] commit
    

    # Configure SwitchA to save statistics to statistics files every two statistics collection cycles (10 minutes).

    [~SwitchA-pm-statistics-stream] record-interval 2
    Warning: This operation will cause some data to be lost. Continue? [Y/N]: y
    [*SwitchA-pm-statistics-stream] quit
    [*SwitchA-pm] commit
    

  3. Configure SwitchA to upload statistics files to the FTP server.

    # Create a PM server process and configure required parameters.

    [~SwitchA-pm] pm-server ftpserver
    [*SwitchA-pm-server-ftpserver] protocol ftp ip-address 10.1.1.1
    [*SwitchA-pm-server-ftpserver] username user1 password pwd123
    [*SwitchA-pm-server-ftpserver] path d:/pmdata
    [*SwitchA-pm-server-ftpserver] quit
    [*SwitchA-pm] commit
    

    # Configure SwitchA to automatically upload statistics files to the FTP server.

    [~SwitchA-pm] upload-config req1 server ftpserver
    [*SwitchA-pm] statistics-task stream
    [*SwitchA-pm-statistics-stream] upload auto req1
    [*SwitchA-pm-statistics-stream] commit
    [~SwitchA-pm-statistics-stream] return
    

  4. Verify the configuration.

    # Verify the configuration of the performance statistics collection task.

    <SwitchA> display pm statistics-task stream
    Task Name                : stream
    Task State               : running
    Record-file Status       : enable
    Task Cycle               : 5 minutes
    Sample Interval          : 1 minute
    Instance Type            : interface
    Record Interval(cycle)   : 2
    File Format              : text
    File Name Prefix         : stream
    File Transfer Mode       : active
    Current File Name        : stream20130702195001.txt
    

    # View statistics files in d:/pmdata on the FTP server. The operation procedure is not provided here.

Configuration Files

#
sysname SwitchA
#
pm
 statistics enable
 pm-server ftpserver
  protocol ftp ip-address 10.1.1.1
  username user1 password %^%#Avd-)b;Q78z9;TEgVi=N(_HI3@mR})^T=mF}!O"3%^%#
  path d:/pmdata
 upload-config req1 server ftpserver
 statistics-task stream
  statistics-cycle 5
  record-interval 2
  upload auto req1
  binding instance-type interface instance 10GE1/0/1
#
return
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166632

Views: 81362

Downloads: 312

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