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

CLI-based Configuration Guide - Network Management and Monitoring

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the network management feature supported by the device.
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 the TWAMP Light Service in On-Demand Mode

Example for Configuring the TWAMP Light Service in On-Demand Mode

Networking Requirements

On an IP network shown in Figure 14-5, router A is the controller and router B is the responder. Router A sends and receives measurement session packets, collects performance statistics, and sends measurement results to the NMS. Router B only responds to the measurement session packets.

The network administrator wants to view network performance between router A and router B. The TWAMP Light performance measurement can be configured.

Figure 14-5  TWAMP Light network diagram

Configuration Roadmap

The configuration roadmap is as follows:
  1. Configure router B (TWAMP Light responder).

  2. Configure router A (TWAMP Light controller).

    1. Create a measurement session.

    2. Enable on-demand measurement.

NOTE:

Before performing continual or on-demand measurement, you must create a measurement session in the TWAMP Light service. It is recommended that you configure router B, and then router A.

Procedure

  1. Configure the TWAMP Light Responder.

    <huawei> system-view
    [huawei] sysname RouterB
    [RouterB] nqa twamp-light
    [RouterB-twamp-light] responder
    [RouterB-twamp-light-responder] test-session 1 local-ip 192.168.1.1 remote-ip 192.168.1.2 local-port 2001 remote-port 2002

  2. Configure the TWAMP Light Controller.

    1. Create a measurement session.

      <huawei> system-view
      [huawei] sysname RouterA
      [RouterA] nqa twamp-light
      [RouterA-twamp-light] client
      [RouterA-twamp-light-client] test-session 1 sender-ip 192.168.1.2 reflector-ip 192.168.1.1 sender-port 2002 reflector-port 2001
    2. Start on-demand measurement.

      [RouterA-twamp-light-client] sender
      [RouterA-twamp-light-sender] test start test-session 1 packet-count 30000

  3. Verify the configuration.

    # Verify the responder.

    [RouterB-twamp-light-responder] display twamp-light responder test-session 1
    Session ID                       : 1                                            
    Local IP                         : 192.168.1.1                                  
    Local Port                       : 2001                                         
    Remote IP                        : 192.168.1.2                                  
    Remote Port                      : 2002                                         
    Mode                             : unauthenticated                              
    VPN Instance                     :                                              
    Description                      : -   

    # Verify the controller.

    [RouterA-twamp-light-sender] display twamp-light test-session 1
    Session ID                       : 1                                            
    State                            : active                                       
    Type                             : on-demand                                    
    Sender IP                        : 192.168.1.2                                  
    Sender Port                      : 2002                                         
    Reflector IP                     : 192.168.1.1                                  
    Reflector Port                   : 2001                                         
    Mode                             : unauthenticated                              
    DSCP                             : 0                                            
    Padding Length                   : 128                                          
    VPN Instance                     :                                              
    Last Start Time                  : 2015-02-16 13:09:05     00:00                
    Last Stop Time                   : never                                        
    Period Time(in millisecond)      : 100                                          
    Time Out(in second)              : 5                                            
    Duration Time(in second)         : 0                                            
    Packet Count                     : 30000                                        
    Sequence Number                  : 0                                            
    Test Tx Number                   : 0                                            
    Test Rx Number                   : 0                                            
    Test Discard Number              : 0 

Configuration Files

  • RouterB configuration file

    #
     sysname RouterB
    #
    nqa twamp-light
     responder
      test-session 1 local-ip 192.168.1.1 remote-ip 192.168.1.2 local-port 2001 remote-port 2002
    #
  • RouterA configuration file

    #
     sysname RouterA
    #
    nqa twamp-light
     client
      test-session 1 sender-ip 192.168.1.2 reflector-ip 192.168.1.1 sender-port 2002 reflector-port 2001
     sender
      test start test-session 1 packet-count 30000
    #
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069336

Views: 33292

Downloads: 189

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