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, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

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 Continual Mode

Example for Configuring the TWAMP Light Service in Continual Mode

Networking Requirements

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

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

Figure 14-4  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 continual 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 2 local-ip 192.168.1.4 remote-ip 192.168.1.3 local-port 2004 remote-port 2003

  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 2 sender-ip 192.168.1.3 reflector-ip 192.168.1.4 sender-port 2003 reflector-port 2004
    2. Enable continual measurement.

      [RouterA-twamp-light-client] sender
      [RouterA-twamp-light-sender] test start-continual test-session 2

  3. Verify the configuration.

    # Verify the responder.

    [RouterB-twamp-light-responder] display twamp-light responder test-session 2
    Session ID                       : 2                                            
    Local IP                         : 192.168.1.4                                  
    Local Port                       : 2004                                         
    Remote IP                        : 192.168.1.3                                  
    Remote Port                      : 2003                                         
    Mode                             : unauthenticated                              
    VPN Instance                     :                                              
    Description                      : -  

    # Verify the controller.

    [RouterA-twamp-light-sender] display twamp-light test-session 2
    Session ID                       : 2                                            
    State                            : active                                       
    Type                             : continual                                    
    Sender IP                        : 192.168.1.3                                  
    Sender Port                      : 2003                                         
    Reflector IP                     : 192.168.1.4                                  
    Reflector Port                   : 2004                                         
    Mode                             : unauthenticated                              
    DSCP                             : 0                                            
    Padding Length                   : 128                                          
    VPN Instance                     :                                              
    Last Start Time                  : 2015-02-16 13:28:27     00:00                
    Last Stop Time                   : never                                        
    Period Time(in millisecond)      : 100                                          
    Time Out(in second)              : 5                                            
    Duration Time(in second)         : -                                            
    Packet Count                     : -                                            
    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 2 local-ip 192.168.1.4 remote-ip 192.168.1.3 local-port 2004 remote-port 2003
    #
  • RouterA configuration file

    #
     sysname RouterA
    #
    nqa twamp-light
     client
      test-session 2 sender-ip 192.168.1.3 reflector-ip 192.168.1.4 sender-port 2003 reflector-port 2004
     sender
      test start-continual test-session 2
    #
Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174072

Views: 103753

Downloads: 343

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