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

NE20E-S2 V800R010C10SPC500 Configuration Guide - System Management 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - System Management
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).
Configuring Performance Management Functions

Configuring Performance Management Functions

This section describes how to configure performance management (PM) functions. The PM functions enable the system to collect performance statistics and generate performance statistics files. These statistics can then be queried by local and network management system (NMS) users.

Usage Scenario

PM collects and monitors performance statistics about the following objects:

  • Interface traffic, such as statistics about sent packets on an Ethernet interface

  • Protocol packets, such as statistics about Y.1731 packets

  • Device operating parameters, such as the CPU usage

To collect service performance statistics, configure PM functions.

Pre-configuration Tasks

Before configuring PM functions, configure reachable routes between the device and PM server.

Configuration Procedures

Figure 21-1 shows how to configure PM functions.

Figure 21-1 Flowchart for configuring PM functions

Configuring a Performance Statistics Task

This section describes how to configure a performance statistics task. After the performance statistics collection interval is set and an instance is bound to a performance statistics task, the system starts collecting the performance statistics.

Context

A performance statistics task enables the system to periodically collect performance statistics for a service. In a performance statistics task, basic performance statistics functions are implemented, and performance statistics files can be generated.

Perform the following steps on the device:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run pm

    The performance management (PM) view is displayed.

  3. Run statistics enable

    The performance statistics function is enabled.

  4. Run statistics-task task-name

    A performance statistics task is created, and the performance statistics task view is displayed.

  5. Run statistics-cycle cycle

    The performance statistics collection interval is set.

  6. Run binding instance-type instance-type { all | instance { instance-name } & <1-8> }

    An instance is bound to the performance statistics task.

    After an instance is bound to a performance statistics task, the system collects the performance statistics about the instance and generates a statistics file.

  7. (Optional) Run measure disable instance-type instance-type measure measure-name

    Measurement is disabled for a statistics counter of the instance bound to the performance statistics task.

    To view statistics counters of the instance bound to a performance statistics task, run the display pm measure-info instance-type instance-type-name command. To deactivate a specific statistics counter of the instance bound to a performance statistics task, run the measure disable instance-type instance-type measure measure-name command to disable the measurement for the statistics counter.

  8. Run either of the following commands:

    • Run the record-file disable command to disable the generation of a performance statistics file.

      Run this command when you do not want the system memory to be occupied by many performance statistics files.

    • If the performance statistics file generation function is left enabled, you can run the record-interval interval command to set the number of intervals at which performance statistics are collected.

      After the command is run, the system generates performance statistics files every cycle x interval minutes and automatically saves the performance statistics in the files.

      Run the file-format { text | xml } command to set the format for performance statistics files.

  9. Run commit

    The configuration is committed.

(Optional) Uploading Performance Statistics Files

The system generates performance statistics files based on the collected performance statistics at a specified interval. To view the performance statistics on a performance management (PM) server, upload performance statistics files to the PM server.

Context

Before uploading performance statistics files to a PM server, configure the File Transfer Protocol (FTP) or Secure File Transfer Protocol (SFTP) server functionality on the PM server, and ensure that the device on which the performance statistics are collected has been connected to the PM server.

Perform the following steps on the device:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run pm

    The PM view is displayed.

  3. Run pm-server server-name

    A process serving the PM server is created, and the PM server view is displayed.

  4. Run the following commands to configure parameters of the PM server to which a performance statistics file will be uploaded.

    • To configure the protocol and IP address to upload a performance statistics file to the PM server, run the protocol { ftp | sftp } ip-address ip-address [ port port-number | { net-manager-vpn | vpn-instance vpn-instance-name } ] * command.

      Using FTP to upload performance statistics files is not secure. Therefore, using SFTP is recommended.

      If the IP address of the PM server is a private address, use net-manager-vpn to specify a network management VPN for performance statistics file uploading or use vpn-instance vpn-instance-name to specify a VPN instance for performance statistics file uploading.

    • To configure a user name and password for logging in to the PM server, run the username user-name password password command.
    • To configure the destination path where a performance statistics file is saved on the PM server, run the path destination-path command.
    • To configure the number of retransmissions for a performance statistics file, run the retry retry-times command.

  5. Run quit

    Return to the PM view.

  6. Run upload-config request-name server server-name

    A request for uploading performance statistics files to a specified PM server is created.

  7. (Optional) Run statistics-task task-name

    The performance statistics task view is displayed.

  8. (Optional) Run upload auto request-name

    The device is enabled to automatically upload performance statistics files to the PM server.

    To enable the device to automatically upload performance statistics files to the PM server at performance statistics file generation intervals, perform this configuration.

  9. Run commit

    The configuration is committed.

Follow-up Procedure

Run the upload request-name file filename &<1-16> command to enable the device to upload performance statistics files to the PM server.

Verifying the Performance Management Configuration

After configuring performance management (PM) functions, verify the configuration.

Prerequisites

PM has been configured.

Procedure

  • Run the display pm brief command to check brief PM information.
  • Run the display pm statistics-task [ task-name ] command to check information about a specific performance statistics task.
  • Run the display pm measure-info [ instance-type instance-type ] command to check information about the statistics counters of a specific type of instances.
  • Run the display pm statistics task-name data-index index [ instance-type instance-type-name [ measure measure-name | instance { instance-name } & <1-8> ] * ] command to check the performance statistics.
  • Run the display pm statistics-file [ task-name ] command to check the list of performance statistics files.

Example

Run the display pm brief command to view brief PM information.

<HUAWEI> display pm brief
Statistics Status                   : enable
Statistics Start Time               : 2012-01-06 07:32:11
Current Statistics Cycles           : 15 minutes
Number of Statistics Tasks          : 1
Number of Statistics Objects        : 0
Number of Configed Pm Servers       : 0
Number of Statistics Files          : 0
Statistics Files Saved Directory    : /pmdata/

Run the display pm statistics-task [ task-name ] command to view information about a performance statistics task.

<HUAWEI> display pm statistics-task a
Task Name                : a
Task State               : running
Record-file Status       : enable
Task Cycle               : 15 minutes
Sample Interval          : 3 minutes
Instance Type            : interface
Record Interval(cycle)   : 3
File Format              : text
File Name Prefix         : a
File Transfer Mode       : passive
Current File Name        : a20111230020001.txt

Run the display pm measure-info [ instance-type instance-type-name ] command to view information about the statistics counters of a specific type of instances.

<HUAWEI> display pm measure-info instance-type interface
Total instance types: 1, total measures: 29
--------------------------------------------------------------------------------
Instance Type: interface, Measures Count: 29
  Measure Name                : in-discards
  Measure Type                : Increase
  Measure Counter Size(bits)  : 32
  Measure MaxValue            : 4294967295
  Measure MinValue            : 0

  Measure Name                : in-errors
  Measure Type                : Increase
  Measure Counter Size(bits)  : 32
  Measure MaxValue            : 4294967295
  Measure MinValue            : 0

  Measure Name                : out-discards
  Measure Type                : Increase
  Measure Counter Size(bits)  : 32
  Measure MaxValue            : 4294967295
  Measure MinValue            : 0
......

Run the display pm statistics task-name data-index index [ instance-type instance-type-name [ measure measure-name | instance { instance-name } & <1-8> ] * ] command to view the performance statistics.

<HUAWEI> display pm statistics a data-index 0
Total measures count: 29
--------------------------------------------------------------------------------
Instance Type        : interface
Instance Name        : GigabitEthernet0/1/3
Measure Name         : in-discards
Measure Data         : 0
Valid Flag           : incredible value
Timestamp            : 2011-12-28 17:03:00-08:00

Instance Type        : interface
Instance Name        : GigabitEthernet0/1/3
Measure Name         : in-errors
Measure Data         : 0
Valid Flag           : incredible value
Timestamp            : 2011-12-28 17:03:00-08:00

......

Run the display pm statistics-file [ task-name ] command to view the list of performance statistics files.

<HUAWEI> display pm statistics-file
Total files count: 4
--------------------------------------------------------------------------------
Task Name: a
  a20111230021501.txt
  a20111230023002.txt
  a20111230024503.txt
  a20111230030004.txt
Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055400

Views: 20565

Downloads: 30

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