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

OSN 500 550 580 V100R008C50 Commissioning and Configuration Guide 02

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).
Testing Packet Ethernet Services

Testing Packet Ethernet Services

After configuring a packet Ethernet service on a packet switched network (PSN), you need to test the connectivity and performance of the packet Ethernet service.

Testing Availability of Packet Ethernet Services Using LB in ETH OAM

The LB function provided by ETH OAM is used to test whether Ethernet services are available.

Prerequisites

  • You are an NM user with Administrators rights or higher.
  • Ethernet services have been configured. For details on how to configure Ethernet services, see Configuring ETH PWE3 Services in the Configuration Guide (Packet Transport Domain).
Application Scenario

The LB function in ETH OAM can be used to test the following services (PW-carried E-Line services, for example):

  • Native ETH-carried E-Line and E-LAN services
  • PW-carried E-Line (based on VLAN) and E-LAN services
Precautions

For details on the feature dependencies and limitationshow to configure ETH OAM services, Please see Feature Dependencies and Limitations in the Feature Description.

Tools, Equipment, and Materials

U2000

Background Information

For details about the boards that support the ETH OAM function, see Availability of the ETH OAM function in the Feature Description.

Huawei's Ethernet service processing boards can achieve ETH OAM in compliance with IEEE 802.1ag and IEEE 802.3ah. IEEE 802.1ag define the OAM standards for Ethernet services; IEEE 802.3ah defines the OAM standards for Ethernet ports. As shown in Figure 1-8, the two recommendations are applied to provide a complete ETH OAM solution.

Figure 1-8  Application of IEEE 802.1ag and IEEE 802.3ah

NOTE:

The OptiX OSN is usually applied to the access layer of networks.

  • Ethernet service OAM achieves end-to-end maintenance for Ethernet links. It functions based on "maintenance domains" which segment the trail that an Ethernet service travels along.
  • Ethernet port OAM achieves point-to-point maintenance for Ethernet links. It functions based on the two directly-connected devices of Ethernet in the First Mile (EFM). Ethernet port OAM can be performed by means of auto-discovery, link performance monitoring, fault detection, remote loopback, and self-loop detection.

Procedure

  1. Optional: Convert the Ethernet services that are created in per-NE mode to end-to-end PWE3 services.
    1. Choose Service > Search for IP Service from the main menu.
    2. In the dialog box that is displayed, set the auto-discovery policies.
    3. Click Start.
    4. After the auto-discovery is finished, click Close.
  2. Choose Service > PWE3 Service > Manage PWE3 Service from the Main Menu.
  3. In the dialog box that is displayed, set the filter conditions. For example, set Protocol Type to PW APS. Then click Filter.
  4. Right-click the required PW-carried E-Line service and choose Ethernet OAM > ETH OAM Test from the shortcut menu.
  5. Set the Measurement Type as LB in the dialog box that is displayed.
  6. Click Run.
  7. After the test is finished, click the LB Statistic Information tab and check the test results.



    NOTE:

    The service under test has normal connectivity if the number of transmitted packets equals the number of received packets.

Testing Ethernet Service Latency, Throughput, and Packet Loss Ratio Using TP-Assist

Meter-free tests can measure the latency, throughput, and packet loss ratio for UNI-UNI or UNI-PW E-Line services carried on a physical link.

Prerequisites

  • You are an NM user with Administrators rights or higher.
  • The Ethernet service to be tested must be a PW-carried E-Line service, or a VLAN-based E-Line service (that is, E-Line service in PORT+VLAN mode at both ends).
  • Disable the DCN function of the port. For details, see Configuring the DCN Function for a Port.
Tools, Equipment, and Materials

U2000

Background Information
  • The ports at the ends of the Ethernet service to be tested must be Ethernet ports. During the test, the other Ethernet services on the related ports are interrupted.
  • If the tested service is configured with QoS, OAM, LAG, inband DCN or any data transmission protocol, the precision of test results may be affected. To ensure the precision of test results, it is recommended you delete the above configurations.
  • If the enabled source port of the tested service also transmits other services, the precision of test results may be affected. To ensure the precision of test results, it is recommended you disconnect the port from the other services.
  • During the test, do not modify the data configuration.
Connection Diagram for the Test

This section describes only the test procedure for a VLAN-based E-Line service. The test procedure for a PW-carried E-Line service is similar. As shown in Figure 1-9, the service from PORT 1 of NE A to PORT 2 of NE B is a VLAN-based E-Line service.

Figure 1-9  Test connection diagram

The Ethernet service between NE A and NE B has the VLAN ID of 100.

Procedure

  1. Modify the Tag attribute of the Ethernet service between NE A and NE B.
    1. In the NE Explorer, select the desired NE from the Object Tree and choose Configuration > Packet Configuration > Interface Management > Ethernet Interface from the Function Tree.
    2. Click the Layer 2 Attributes tab.
    3. Set Tag to Access. Set Default VLAN ID to the VLAN ID of the tested E-Line service. In this example, set Default VLAN ID to 100.
    4. Click Apply.
  2. Set NE B as the sink node for the test.
    1. In the NE Explorer, select NE B from the Object Tree and choose Diagnosis&Maintenance > Data Service Performance Test from the Function Tree.
    2. Select the Ethernet service to be tested, enter Test Name, and set Test As to Sink.
    3. In this example, port 2 is on the sink node and therefore Sink Status should be set to Enabled.

      NOTE:
      If port 2 is on the source node, Source Status should be set to Enabled.

    4. Click Apply.
  3. Set NE A as the source node for the test. Then start the test.
    1. In the NE Explorer, select NE A from the Object Tree and choose Diagnosis&Maintenance > Data Service Performance Test from the Function Tree.
    2. Select the Ethernet service to be tested, enter Test Name as that on NE B, set Test As to Source.
    3. In this example, port 1 is on the source node and therefore Source Status should be set to Enabled.

      NOTE:
      • If port 1 is on the sink node, Sink Status should be set to Enabled.
      • A maximum of five Ethernet services can be tested one time. Therefore, Source Status and Sink Status should be set to Disabled for the other Ethernet services.

    4. Click Apply.
    5. Click Start. Set Frame Length(Bytes) in the Specify the test frame length dialog box.



      NOTE:
      • The test can be initiated only on the source node (NE A).
      • When Frame Length(Bytes) is set to All Item, the system tests Ethernet services with all possible frame lengths: 64, 128, 256, 512, 1024, 1280, and 1518.
      • By default, the system tests Ethernet services with all possible Latency and Packet Loss Ratio values. The system also tests Ethernet services with Throughput Percentage(%) set to 80, 90, and 100.

    6. Click OK.
      The system starts tests, displays test progress, and displays all test results.
    7. Optional: After the progress bar indicates that the test is 100% complete, click Export Report.
      Data Service Performance Test Report is displayed.
      NOTE:
      • Compared with a tool-based test, this test may have an error rate in its results. When the service bandwidth is lower than 70 Mbit/s, the packet loss rate has an error rate lower than 1%. When the service bandwidth is 70 Mbit/s or higher, the packet loss rate has an error rate lower than 0.2%. If the packet loss rate is higher than 0 and the error rate is lower than the threshold for the specific bandwidth, perform more tests. If all tests encounter light packet loss and the packet loss rate of long-frame services is higher than that of short-frame services, you can conclude that no service packets are lost.
      • Compared with the throughput in practice, the throughput in test results of long-frame services has an error rate lower than 5%.
  4. After the progress bar indicates that the test is 100% complete, set Source Status and Sink Status to Disabled for the related ports (port 1 of NE A and port 2 of NE B in this example).

Testing Long-term Ethernet Packet Loss Ratio Using TP-Assist

The TP-Assist function allows you to test the long-term packet loss ratio of VLAN-based E-Line services and PW-carried E-Line services with different frame lengths.

Prerequisites

  • You are an NM user with Administrators rights or higher.
  • The Ethernet service to be tested must be a PW-carried E-Line service, or a VLAN-based E-Line service (that is, E-Line service in PORT+VLAN mode at both ends).
Tools, Equipment, and Materials

U2000

Background Information
  • The ports at the ends of the Ethernet service to be tested must be Ethernet ports. During the test, the other Ethernet services on the related ports are interrupted.
  • If the tested service is configured with QoS, OAM, LAG, inband DCN or any data transmission protocol, the precision of test results may be affected. To ensure the precision of test results, it is recommended you delete the above configurations.
  • If the enabled source port of the tested service also transmits other services, the precision of test results may be affected. To ensure the precision of test results, it is recommended you disconnect the port from the other services.
  • During the test, do not modify the data configuration.
Connection Diagram for the Test

This section describes only the test procedure for a VLAN-based E-Line service. The test procedure for a PW-carried E-Line service is similar. As shown in Figure 1-10, the service from PORT 1 of NE A to PORT 2 of NE B is a VLAN-based E-Line service.

Figure 1-10  Test connection diagram

The Ethernet service between NE A and NE B has the VLAN ID of 100.

Procedure

  1. Modify the Tag attribute of the Ethernet service between NE A and NE B.
    1. In the NE Explorer, select the desired NE from the Object Tree and choose Configuration > Packet Configuration > Interface Management > Ethernet Interface from the Function Tree.
    2. Click the Layer 2 Attributes tab.
    3. Set Tag to Access. Set Default VLAN ID to the VLAN ID of the tested E-Line service. In this example, set Default VLAN ID to 100.
    4. Click Apply.
  2. Set NE B as the sink node for the test.
    1. In the NE Explorer, select NE B from the Object Tree and choose Diagnosis&Maintenance > Data Service Performance Test from the Function Tree.
    2. Select the Ethernet service to be tested, enter Test Name, and set Test As to Sink.
    3. In this example, port 2 is on the sink node and therefore Sink Status should be set to Enabled.

      NOTE:
      If port 2 is on the source node, Source Status should be set to Enabled.

    4. Click Apply.
  3. Set NE A as the source node for the test. Then start the test.
    1. In the NE Explorer, select NE A from the Object Tree and choose Diagnosis&Maintenance > Data Service Performance Test from the Function Tree.
    2. Select the Ethernet service to be tested, enter Test Name as that on NE B, set Test As to Source.
    3. In this example, port 1 is on the source node and therefore Source Status should be set to Enabled.

      NOTE:
      • If port 1 is on the sink node, Sink Status should be set to Enabled.
      • A maximum of five Ethernet services can be tested one time. Therefore, Source Status and Sink Status should be set to Disabled for the other Ethernet services.

    4. Click the Long-term Packet Loss Radio tab.
    5. Set test parameters.



      • Set Frame Length(Bytes) to 64.
      • Set Throughput Percentage(%) to 80.
      NOTE:
      To test the long-term packet loss ratio when the throughput percentage is 90%, set Throughput Percentage(%) to 90. To test the long-term packet loss ratio at a specific traffic volume, configure a flow whose C-VLAN ID is 100 in the port policy for PORT1, configure the specific CAR for the flow, and set Throughput Percentage(%) to 100.

    6. Click Start Long-term Test.
      The system starts the test and displays the test progress and test result.
      NOTE:
      After the test time lasts for 24 hours (commonly used test time), click Stop Long-term Test and check the test result.
    7. After the progress bar indicates that the test is 100% complete, click Export Report.
      Data Service Performance Test Report is displayed.
      NOTE:
      Tests may have an error rate in the results. When the number of received packets is different from the number of transmitted packets and the error rate is within one millionth, you can conclude that no service packets are lost.
  4. Repeat 3.e to 3.g to test the long-term packet loss ratio when Frame Length(Bytes) is 64, 128, 256, 512, 1024, 1280, and 1518.
  5. After the progress bar indicates that the test is 100% complete, set Source Status and Sink Status to Disabled for the related ports (port 1 of NE A and port 2 of NE B in this example).

Testing Ethernet Packet Service Performance by Using SmartBits

You can check whether packet loss has occurred in an Ethernet packet service by looping back the service at one end and testing packet loss with a SmartBits at the other end.

Prerequisites

  • You are an NM user with Administrators rights or higher.
  • Ethernet services have been configured. For details on how to configure Ethernet services, see Configuring ETH PWE3 Services in the Configuration Guide (Packet Transport Domain).
Tools, Equipment, and Materials
  • Data network performance analyzer
  • U2000
Connection Diagram for the Test

Figure 1-11 shows a connection diagram for testing packet Ethernet services.

Figure 1-11  Connection diagram for testing packet Ethernet services

NOTE:
The connection diagram is only an example. In this example, a MAC-layer inloop is performed on an Ethernet port on NE1, and the SmartBits is connected to an Ethernet port on NE2. If required, you can connect the SmartBits to any Ethernet board on the source or sink NE of a packet Ethernet service.
Precautions
  • Keep irrelevant personnel away from the testing environment during a test.
  • Do not touch fibers, electrical wires, or cables unless necessary.

Procedure

  1. According to the test connection diagram, connect the SmartBits to the Ethernet port on NE2.
  2. Log in to the U2000. Follow instructions in Enabling NE Performance Monitoring to enable 15-minute and 24-hour performance monitoring for NE1 and NE2.

    NOTE:
    Performance monitoring needs to be enabled in case that a fault detected in the test can be located.

  3. Log in to the U2000 and set a MAC-layer inloop for the Ethernet port on NE1.
    1. In the Workbench view, double-click Main Topology to display the main topology.
    2. Right-click the NE to be looped back on the Main Topology of the U2000, and choose NE Explorer from the shortcut menu.
    3. Select the Ethernet board to be looped back, and choose Configuration > Interface Management > Ethernet Interface from the Function Tree.
    4. Select Advanced Attributes.
    5. In the list, select an Ethernet interface, and then double-click PHY Loopback or MAC Loopback to select a loopback mode.
    6. Click Query. After the Prompt dialog box is displayed, click OK.
    7. After the Operation Result dialog box is displayed, click Close.
  4. Use the SmartBits to perform tests on packet receiving and transmission.

    NOTE:
    • Packets with all 0s are regarded as special packets. Therefore, do not use packets of all 0s for testing transmitted and received packets.
    • When the SmartBits transmits and receives packets for the first time, packet loss occurs due to MAC address learning. Therefore, it is normal that the number of transmitted packets is different from the number of received packets.
    • In the tests after the first time, if the number of transmitted packets is the same as the number of received packets, the cross-domain service channels are normal.
    • If packet loss occurs during the tests, troubleshoot the fault and then perform 24-hour tests until the channels pass the tests.

Translation
Download
Updated: 2019-01-21

Document ID: EDOC1100020976

Views: 46119

Downloads: 383

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