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 a Y.1564 Ethernet Service Activation Test

Configuring a Y.1564 Ethernet Service Activation Test

This section describes how to configure an Ethernet service activation test. This test is conducted before network services are activated and verifies whether the configurations are correct and network performance satisfies SLA requirements.

Usage Scenario

An Ethernet service activation test is a method defined in Y.1564. This test helps carriers rapidly and accurately verify whether network performance meets SLA performance indexes before service rollouts.

Pre-configuration Tasks

Before configuring an Ethernet service activation test, complete the following tasks:

  • Layer 2 scenarios:
    • In a native Ethernet scenario, configure reachable Layer 2 links between the initiator and reflector.
    • In an L2VPN scenario, configure reachable links between CEs on both ends of an L2VPN connection.
  • Layer 3 scenarios:
    • In a native IP scenario, configure reachable IP links between the initiator and reflector.
    • In an L3VPN scenario, configure reachable links between CEs on both ends of an L3VPN connection.
  • In an L2VPN accessing L3VPN scenario, configure reachable links between the L2VPN and L3VPN.

Configuration Procedures

Figure 4-5  Flowchart for configuring basic functions for an Ethernet service activation test

Configuring the Reflector

This section describes how to configure a reflector, which loops traffic to an initiator. Parameters configured on the reflector vary according to a specific scenario.

Context

Devices performing an Ethernet service activation test play two roles: initiator and reflector. An initiator sends simulated service traffic to a reflector, and the reflector reflects the service traffic.

The reflector must be specified before a test is started.

A reflector can loop traffic based on either an interface or a flow.

  • Interface-based mode: A reflector loops all traffic that its interface receives.
  • Flow-based mode: A reflector loops only traffic meeting specified conditions. In flow-based mode, a test flow must have been configured.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    nqa test-flow flow-id

    A test flow is configured, and the test flow view is displayed.

  3. Configure service flow characteristics.

    1. Run:
      • traffic-type mac { destination destination-mac [ end-destination-mac ] | source source-mac [ end-source-mac ] }
      • traffic-type ipv4 { destination destination-ip [ end-destination-ip ] | source source-ip [ end-source-ip ] }

      A traffic type is configured, and the MAC or IP address of test packets is specified. An address range can be specified here.

      A traffic type is configured, and the MAC or IP address of test packets is specified. An address range can be specified here.

      NOTE:

      MAC, IP, or both MAC and IP addresses are specified based on traffic types:

      • For Ethernet Layer 2 switching and L2VPN services, a MAC address must be specified, and an IP address is optional.
      • For IP routing and L3VPN services, an IP address and a MAC address must be specified. If no IP address or MAC address is specified, the reflector will reflect all the traffic, which affects other service functions.
      • For L2VPN accessing L3VPN, both MAC and IP addresses must be specified.
    2. Configure the following parameters as needed:
      • Run:
        vlan vlan-id [ end-vlan-id ]

        A single VPN ID is specified for Ethernet packets in the NQA test flow view.

      • Run:
        pe-vid pe-vid ce-vid ce-vid [ ce-vid-end ]

        Double VPN IDs are specified for Ethernet packets in the NQA test flow view.

      • Run:
        udp destination-port destination-port [ end-destination-port ]

        A destination UDP port number or range is specified.

      • Run:
        udp source-port source-port [ end-source-port ]

        A source UDP port number or range is specified.

        NOTE:
        • For the same test flow, a range can be specified only in one of the traffic-type, vlan, pe-vid, udp destination-port, and udp source-port commands. In addition, the difference between the start and end values can not be more than 127, and the end value must be greater than the start value.

        • In the traffic-type command, the start MAC or IP address has only one different octet from the end MAC or IP address. For example, the start IP address is set to 1.1.1.1, and the end IP address can only be set to an IP address in the network segment 1.1.1.0.

  4. Run:

    nqa reflector reflector-id interface interface-type interface-number [ [ [ test-flow flow-id &<1-16> ] [ mac mac-address | ipv4 ip-address ] [ pe-vid pe-vid ce-vid ce-vid | vlan vlan-id ] [ source-port source-port ] [ destination-port destination-port ] | [ exclusive ] ] ] [ exchange-port ] [ agetime agetime | endtime { endtime | enddate endtime } ]

    The reflector is specified.

    The test-flow flow-id & <1-16> command configures the reflector to reflect based on a specified flow. If the flow ID is not specified, the reflector performs interface-based reflection. The agetime age-time parameter is optional, and the default value is 14400s.

  5. Run:

    commit

    The configuration is committed.

Configuring an Initiator

This section describes how to configure an initiator that sends simulated service traffic. You can set initiator parameters based on usage scenarios and test counter types.

Context

Devices performing an Ethernet service activation test play two roles: initiator and reflector. An initiator sends simulated service traffic to a reflector, and the reflector reflects the service traffic.

The process of configuring the initiator is as follows:

  1. Configure a test flow.

  2. Configure a test instance.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    nqa test-flow flow-id

    A test flow is configured, and the test flow view is displayed.

  3. Specify service flow characteristics.

    1. Specify a traffic type, and specify a MAC or IP address or address range.

      • To specify a traffic type and a MAC address or address range, run:
        traffic-type mac { destination destination-mac [ end-destination-mac ] | source source-mac [ end-source-mac ] }
      • To specify a traffic type and an IP address or address range, run:
        traffic-type ipv4 { destination destination-ip [ end-destination-ip ] | source source-ip [ end-source-ip ] }
      NOTE:

      MAC, IP, or both MAC and IP addresses are specified based on traffic types:

      • For Ethernet Layer 2 switching and L2VPN services, a MAC address must be specified, and an IP address is optional.
      • For IP routing and L3VPN services, an IP address and a MAC address must be specified. If no IP address or MAC address is specified, the reflector will reflect all the traffic, which affects other service functions.
      • For L2VPN accessing L3VPN, both MAC and IP addresses must be specified.
    2. Configure the following parameters as needed:
      • Run:
        vlan vlan-id [ vlan-id-end ]

        A single VPN ID is specified for Ethernet packets in the NQA test flow view.

      • Run:
        pe-vid pe-vid ce-vid ce-vid [ ce-vid-end ]

        Double VPN IDs are specified for Ethernet packets in the NQA test flow view.

      • Run:
        udp destination-port destination-port [ end-destination-port ]

        A destination UDP port number or range is specified.

      • Run:
        udp source-port source-port [ end-source-port ]

        A source UDP port number or range is specified.

      NOTE:
      • For the same test flow, a range can be specified only in one of the traffic-type, vlan, pe-vid, udp destination-port, and udp source-port commands. In addition, the difference between the start and end values can not be more than 127, and the end value must be greater than the start value.

      • In the traffic-type command, the start MAC or IP address has only one different octet from the end MAC or IP address. For example, the start IP address is set to 1.1.1.1, and the end IP address can only be set to an IP address in the network segment 1.1.1.0.

  4. Run:

    bandwidth cir cir-value [ eir eir-value ]

    A bandwidth profile, including the CIR, is specified for the NQA test flow.

    The default EIR is 0 kbit/s. If the eir eir-value parameter is not configured, the EIR is not tested.

  5. Run:

    sac flr flr-value ftd ftd-value fdv fdv-value

    The frame loss ratio (FLR) is specified, expressed in 1/100000, the frame transfer delay (FTD) is specified, expressed in us, and the frame delay variation (FDV) is specified, expressed in us.

  6. Enable the simple CIR test, enable traffic policing test, configure the color mode, and configure a test flow description as needed:

    1. Run:
      cir simple-test enable

      The simple CIR test is enabled.

    2. Run:
      traffic-policing test enable

      A traffic policing test is enabled.

    3. Run:

      color-mode { 8021p green begin-8021p-value [ end-8021p-value ] yellow begin-8021p-value [ end-8021p-value ] | dscp green begin-dscp-value [ end-dscp-value ] yellow begin-dscp-value [ end-dscp-value ] } *

      The color mode is enabled, and the mapping between packet priorities and colors is configured.

    4. Run:

      description description-string

      A description is configured for the test flow.

  7. Configure an Ethernet service activation test.
    1. Run:

      nqa test-instance admin-name test-name

      An NQA test instance is created, and the view of the test instance is displayed.

    2. Run:

      test-type ethernet-service

      The test type is set to the Ethernet service activation test.

    3. Run:

      test-flow flow-id & <1-16>

      A test flow is referenced. Multiple test flows can be specified.

    4. Run:

      forwarding-simulation inbound-interface

      A simulated inbound interface is configured.

    5. (Optional) Run:

      packet-size packet-size & <1-10>

      Different packet sizes are configured.

    6. (Optional) Run:

      duration { configuration-test configuration-test-time | performance-test performance-test-time }

      The periods of the configuration and performance tests are set.

    7. Run:

      start now

      The test instance is started.

  8. Run:

    commit

    The configuration is committed.

Checking the Configurations

After configuring an Ethernet service activation test, check test results.

Prerequisites

An Ethernet service activation test has been configured and conducted.
NOTE:
NQA test results cannot be displayed automatically on the terminal. Run the display nqa results command to view test results. By default, the command output shows the results of the last five tests.

Procedure

  • Run the display nqa results [ test-instance admin-name test-name ] command on the initiator to view Ethernet service activation test results.
  • Run the display nqa reflector [ reflector-id ] command on the reflector to check reflector information.

Example

# Run the display nqa results command to view test results.

<HUAWEI> display nqa results test-instance admin ethernet
NQA entry(admin, ethernet) :testflag is inactive ,testtype is ethernet-service
  1 . Test 1 result   The test is finished                                      
   Status           : Pass                                                      
   Test-flow number : 1                                                         
   Mode             : Round-trip                                                
   Last step        : Performance-test                                          
   Estimated total time  :6
   Real test time        :6
   1 . Configuration-test                                                       
    Test-flow 1, CIR simple test                                                
     Begin                    : 2014-06-25 16:22:45.8                           
     End                      : 2014-06-25 16:22:48.8                           
     Status                   : Pass                                            
     Min/Max/Mean IR(kbit/s)    : 9961/10075/10012                                
     Min/Max/Mean FTD(us)     : 99/111/104                                      
     Min/Max/Mean FDV(us)     : 0/7/3                                           
     FL Count/FLR             : 0/0.000%
     Disorder packets         : 0
     Unavail Count/AVAIL      : 0/0.000%                                        
    Test-flow 1, CIR/EIR test, Green                                            
     Begin                    : 2014-06-25 16:23:15.8                           
     End                      : 2014-06-25 16:23:18.8                           
     Status                   : Pass                                            
     Min/Max/Mean IR(kbit/s)    : 9979/10054/10012                                
     Min/Max/Mean FTD(us)     : 101/111/105                                     
     Min/Max/Mean FDV(us)     : 0/10/3                                          
     FL Count/FLR             : 0/0.000%
     Disorder packets         : 0
     Unavail Count/AVAIL      : 0/0.000%                                        
    Test-flow 1, CIR/EIR test, Yellow                                           
     Begin                    : 2014-06-25 16:23:15.8                           
     End                      : 2014-06-25 16:23:18.8                           
     Status                   : --                                              
     Min/Max/Mean IR(kbit/s)    : 9979/10057/10013                                
     Min/Max/Mean FTD(us)     : 98/111/104                                      
     Min/Max/Mean FDV(us)     : 1/11/5                                          
     FL Count/FLR             : 0/0.000%                                        
     Disorder packets         : 0
     Unavail Count/AVAIL      : 0/0.000%
    Test-flow 1, Traffic policing test, Green                                   
     Begin                    : 2014-06-25 16:23:45.8                           
     End                      : 2014-06-25 16:23:48.8                           
     Status                   : Pass                                            
     Min/Max/Mean IR(kbit/s)    : 10039/10054/10045                               
     Min/Max/Mean FTD(us)     : 96/110/104                                      
     Min/Max/Mean FDV(us)     : 1/9/4                                           
     FL Count/FLR             : 0/0.000% 
     Disorder packets         : 0
     Unavail Count/AVAIL      : 0/0.000%                                       
    Test-flow 1, Traffic policing test, Yellow                                  
     Begin                    : 2014-06-25 16:23:45.8                           
     End                      : 2014-06-25 16:23:48.8                           
     Status                   : --                                              
     Min/Max/Mean IR(kbit/s)    : 12544/12566/12554                               
     Min/Max/Mean FTD(us)     : 101/111/105                                     
     Min/Max/Mean FDV(us)     : 1/8/3                                           
     FL Count/FLR             : 0/0.000%
     Disorder packets         : 0
     Unavail Count/AVAIL      : 0/0.000%                                        
   2 . Performance-test                                                         
    Test-flow 1, Performance-test                                               
     Begin                    : 2014-06-25 16:24:15.8                           
     End                      : 2014-06-25 16:39:15.8                           
     Status                   : Pass                                            
     Min/Max/Mean IR(kbit/s)    : 9888/10132/10004                                
     Min/Max/Mean FTD(us)     : 101/111/105                                     
     Min/Max/Mean FDV(us)     : 0/8/2                                           
     FL Count/FLR             : 0/0.000%
     Disorder packets         : 0
     Unavail Count/AVAIL      : 0/0.000%

# Run the display nqa reflector command to view reflector information.

<HUAWEI> display nqa reflector
The total number of reflectors is 1
Reflector 1:
  Interface                     : Eth0/1/1
  IP-address                    : --
  MAC-address                   : --
  Cevid                         : --
  Pevid                         : --
  Simulate IP-address           : --
  Source-port                   : --
  Destination-port              : --
  Exchange-port                 : disable
  AgeTime(s)                    : 14400
  SurvivalTime(s)               : 13307
  Endtime                       : 2014-03-19 08:48:21
  State                         : --
  RecommendedTestMac            : 384d-d111-0011
  TestFlow                      : --
Download
Updated: 2018-07-12

Document ID: EDOC1100028538

Views: 28121

Downloads: 213

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