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

NE40E V800R010C00 Configuration Guide - System Monitor 01

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 TWAMP Light Functions

Configuring TWAMP Light Functions

This section describes how to configure TWAMP Light functions, including configuring the Controller and the Responder.

Usage Scenario

As TWAMP Light simplifies deployment and supports plug-and-play, you can use TWAMP Light to rapidly and flexibly measure the round-trip performance of an IP network, such as the two-way packet loss rate, jitter, and delay.

Pre-configuration Tasks

Before configuring TWAMP Light functions, complete the following tasks:

  • Ensure that devices on the live network support TWAMP Light and comply with standard protocols.

  • Ensure that the Controller and Responder are routable and IP links between them work properly.

Configuring the TWAMP Light Responder

The TWAMP Light Responder responds to TWAMP test packets sent by the TWAMP Light Controller.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    nqa twamp-light

    The TWAMP Light view is displayed.

  3. Run:

    responder

    The TWAMP Light Responder is enabled, and the TWAMP Light Responder view is displayed.

  4. Run:

    test-session session-id local-ip local-ip-address remote-ip remote-ip-address local-port local-port remote-port remote-port [ vpn-instance vpn-instance-name ] [ anti-loop-on ] [ description description ]

    A TWAMP Light test session is created.

    • After a test session is configured, its parameters cannot be modified. To modify parameters of a test session, delete the session and reconfigure it.

    • The IP address configured for a test session must be a unicast address.

    • The UDP port number of a Responder must be an unused port number.

    • The VPN instance configured for a test session must be existent. When you attempt to delete the VPN instance, the system prompts that the VPN instance cannot be deleted because it has been bound to a TWAMP test session.

Configuring the TWAMP Light Controller

The TWAMP Light Controller integrates the Control-Client and Session-Sender. The Control-Client establishes, starts, and stops a test session and collects statistics. The Session-Sender starts or stops a test session and sends probes to the Responder for performance statistics.

Procedure

  • Configure the Control-Client and creates a test session.
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      nqa twamp-light

      The TWAMP Light view is displayed.

    3. Run:

      client

      The TWAMP Light Control-Client is enabled, and the TWAMP Light Control-Client view is displayed.

    4. Run:

      test-session session-id  sender-ip sender-ip-address reflector-ip reflector-ip-address sender-port sender-port reflector-port reflector-port [ vpn-instance vpn-instance-name ] [ dscp dscp-value | padding padding-length | padding-type padding-type | description description ] *

      A TWAMP Light test session is created.

      • After a test session is configured, its parameters cannot be modified. To modify parameters of a test session, delete the session and reconfigure it.

      • The IP address configured for a test session must be a unicast address.

      • The UDP port number of a Controller must be an unused port number.

      • The VPN instance configured for a test session must be existent. When you attempt to delete the VPN instance, the system prompts that the VPN instance cannot be deleted because it has been bound to a TWAMP test session.

      • To test packets with different DSCP values, you can specify different UDP port numbers for test sessions. For example:
        • Session 1: test-session 1 sender-ip 1.1.1.1 reflector-ip 2.2.2.2 sender-port 1025 reflector-port 1025 dscp 3
        • Session 2: test-session 2 sender-ip 1.1.1.1 reflector-ip 2.2.2.2 sender-port 1026 reflector-port 1025 dscp 6

  • Configure the TWAMP Light Session-Sender and start the TWAMP Light test session.
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      nqa twamp-light

      The TWAMP Light view is displayed.

    3. Run:

      sender

      The TWAMP Light Session-Sender is enabled, and the TWAMP Light Session-Sender view is displayed.

    4. Start the TWAMP Light function.

      TWAMP Light consists of on-demand measurement and proactive measurement. On-demand measurement works in a specified period after being started. It can be performed once in the specified period. Proactive measurement works continuously to collect statistics.

      • To perform on-demand measurement, run the test start test-session session-id { duration duration | packet-count packet-count } [ period { 10 | 100 | 1000 | 30000 } ] [ time-out time-out ]. On-demand statistics collection automatically stops after the specified period elapses or the number of sent packets reaches the specified threshold. To manually stop on-demand session statistics collection, run the test stop { all | test-session session-id }
      • To perform proactive measurement, run the test start-continual test-session session-id [ period { 10 | 100 | 1000 | 30000 } ] [ time-out time-out ] command.

Checking the Configurations

After configuring the TWAMP Light statistics collection function, check the configurations.

Prerequisites

The TWAMP Light statistics collection function has been configured.

Procedure

  • Run the display twamp-light test-session [ verbose | session-id ] command to check real-time statistics about a specified TWAMP Light test session.
  • Run the display twamp-light statistic-type { twoway-delay | twoway-loss } test-session session-id command to check statistics about the two-way packet delay or loss of a specified TWAMP Light test session.

Example

Run the display twamp-light test-session command. The command output shows real-time statistics about a TWAMP Light test session.
<HUAWEI> display twamp-light test-session 1
Session ID                       : 1
State                            : inactive(not startup)
Type                             : -
Sender IP                        : 10.1.1.1
Sender Port                      : 10000
Reflector IP                     : 20.1.1.1
Reflector Port                   : 10000
Mode                             : unauthenticated
DSCP                             : 0
Padding Length                   : 1450
Padding Type                     : 00
VPN Instance                     : -
Last Start Time                  : never
Last Stop Time                   : never
Period Time(in millisecond)      : -
Time Out(in second)              : -
Duration Time(in second)         : -
Packet Count                     : -   
Run the display twamp-light statistic-type twoway-delay command. The command output shows statistics about the two-way packet delay of a TWAMP Light test session.
<HUAWEI> display twamp-light statistic-type twoway-delay test-session 1
Latest two-way delay statistics(usec):
--------------------------------------------------------------------------------
     Index                     Delay(Avg)                     Jitter(Avg)
--------------------------------------------------------------------------------
         1                            156                               3
         2                            156                               3
         3                            156                               2
         4                            156                               2
         5                            156                               3
         6                            156                               3
         7                            156                               3
         8                            156                               3
         9                            156                               2
        10                            156                               2
        11                            156                               3
        12                            156                               3
        13                            156                               3
        14                            156                               3
        15                            156                               3
        16                            156                               3
        17                            156                               3
        18                            156                               3
        19                            156                               3
        20                            156                               2
        21                            156                               3
        22                            157                               2
        23                            156                               3
        24                            156                               3
        25                            156                               2
        26                            156                               3
        27                            156                               3
        28                            156                               3
        29                            156                               2
        30                            156                               3
--------------------------------------------------------------------------------
Average Delay    :        156    Average Jitter   :          3
Maximum Delay    :        163    Maximum Jitter   :          9
Minimum Delay    :        151    Minimum Jitter   :          0 
Run the display twamp-light statistic-type twoway-loss command. The command output shows statistics about the two-way packet loss of a TWAMP Light test session.
<HUAWEI> display twamp-light statistic-type twoway-loss  test-session 1
Latest two-way loss statistics:
--------------------------------------------------------------------------------
     Index                       Loss count                       Loss ratio
--------------------------------------------------------------------------------
         1                                0                          0.0000%
         2                                0                          0.0000%
         3                                0                          0.0000%
         4                                0                          0.0000%
         5                                0                          0.0000%
         6                                0                          0.0000%
         7                                0                          0.0000%
         8                                0                          0.0000%
         9                                0                          0.0000%
        10                                0                          0.0000%
        11                                0                          0.0000%
        12                                0                          0.0000%
        13                                0                          0.0000%
        14                                0                          0.0000%
        15                                0                          0.0000%
        16                                0                          0.0000%
        17                                0                          0.0000%
        18                                0                          0.0000%
        19                                0                          0.0000%
        20                                0                          0.0000%
        21                                0                          0.0000%
        22                                0                          0.0000%
        23                                0                          0.0000%
        24                                0                          0.0000%
        25                                0                          0.0000%
        26                                0                          0.0000%
        27                                0                          0.0000%
        28                                0                          0.0000%
        29                                0                          0.0000%
        30                                0                          0.0000%
--------------------------------------------------------------------------------
Average Loss Count   :          0    Average Loss Ratio   :   0.0000%
Maximum Loss Count   :          0    Maximum Loss Ratio   :   0.0000%
Minimum Loss Count   :          0    Minimum Loss Ratio   :   0.0000%
Download
Updated: 2018-07-12

Document ID: EDOC1100028538

Views: 29136

Downloads: 220

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