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.

Context

To configure TWAMP Light, you must configure the Responder and then the Controller. If only the Controller is configured, the Responder sends a large number of TWAMP Light packets received from the Controller to the LDM, and responds to the Controller with a large number of ICMP packets.

Procedure

  1. Configure the Control-Client and create 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. A test session is created on the Session-Sender.

      Create a test session on the Session-Sender:

      • In Eth-Trunk member interface-based test scenarios, run the test-session session-id { sender-ip sender-ip-address reflector-ip reflector-ip-address | sender-ipv6 sender-address-v6 reflector-ipv6 reflector-address-v6 } sender-port sender-port reflector-port reflector-port [ vpn-instance vpn-instance-name ] link-bundle-interface { link-bundle-interface-type link-bundle-interface-number | link-bundle-interface-name } [ dscp dscp-value | padding padding-length | padding-type padding-type | description description ] * command.
      • In other test scenarios, run the test-session session-id { sender-ip sender-ip-address reflector-ip reflector-ip-address | sender-ipv6 sender-address-v6 reflector-ipv6 reflector-address-v6 } 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 ] * command.

      • 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 addresses configured for a test session must be unicast addresses.

      • The UDP port number of a Session-Sender 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 configure a session with multiple DSCP values, you can specify different UDP port numbers for sender. The following are two examples:
        • 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

      When configuring a TWAMP Light client to send IPv6 packets, ensure that the length of the IPv6 packets to be sent is smaller than the smallest MTU configured on interfaces along the path. Otherwise, packets are discarded.

      Before the configuration, perform the ping test. Ensure that the source address, destination address, and packet length of the ping packet are the same as those of the TWAMP Light IPv6 packet. Then run the display ipv6 pathmtu command to check the PMTU value of each interface along the path. For details, see Path MTU Test.

    5. (Optional) Run test-session session-id bind interface { interface-type interface-number | interface-name }

      An interface is bound to the TWAMP Light test session.

      After a TWAMP Light test session is bound to an interface and valid statistics are collected, the statistics are advertised to the bound interface. Other function modules can obtain the statistics from the interface.

  2. 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. (Optional) Run one-way delay-measure enableOne-way delay measurement is enabled in TWAMP light.

      Before performing one-way delay measurement for TWAMP Light, configure 1588v2 to implement clock synchronization.

    4. Run sender

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

    5. Run commit

      The configuration is committed.

    6. Start the TWAMP Light function.

      • 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 ] command.

        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 } command.

      • To perform proactive measurement, run the test start-continual test-session session-id [ period { 10 | 100 | 1000 | 30000 } ] [ time-out time-out ] command.
      • To perform proactive measurement periodically, run the test start-regular test-session session-id [ regular-time timevalue ] [ packet-count packet-count ] [ time-out time-out ] command.

  3. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >