Traffic policing test (color-aware)

../../_images/eth-trafpol.png

This task verifies that a colored Ethernet service QoS profile has the expected behavior. It is assumed that the service has a QoS profile defined with the CIR and EIR parameters as well as maximum frame loss ratio, delay, and jitter values for conforming frames. The test being color-aware means that one green and one yellow flow (two QoS classes) are present. In accordance with ITU-T Y.1564, the green flow is checked against CIR and the yellow flow against EIR. For both flows the following parameters need to be specified: frame size, source and destination UDP port, DSCP value, and VLAN priority (p-bits).

Reference

The test performed conforms to ► ITU-T Y.1564 section 8.1.2, test C.1 (“Traffic policing test: Colour aware”).

Test procedure

  • The sender Test Agent generates green frames at a rate equal to CIR, and yellow frames at a rate of 1.25 × EIR. (However, if EIR is less than 20% of CIR, the yellow frames are instead generated at a rate of EIR + 0.25 × CIR.) The combined rate (CIR + EIR) should not be higher than the link rate.

  • The receiver Test Agent measures received rate, loss, delay, and jitter on both flows (green and yellow).

Fail criteria

  • The test fails if any of the thresholds Max frame loss, Max frame delay, or Max frame jitter is exceeded for the green flow, or the total received rate is higher than 1.05 × (CIR + EIR).

Parameters

General

  • Sender: The sender Test Agent interface.

  • Receiver: The receiver Test Agent interface.

  • Test duration (s): Duration of the test in seconds. Min: 5 s. Max: 60 s. Default: 20 s.

  • Wait for ready: Time to wait before starting this test step. The purpose of inserting a wait is to allow all Test Agents time to come online and acquire good time sync. Min: 1 min. Max: 24 hours. Default: “Don’t wait”, i.e. zero wait time.

QoS profile

  • CIR (Mbit/s): Committed Information Rate. Min: 0.1 Mbit/s. Max: 10,000 Mbit/s. No default.

  • EIR (Mbit/s): Excess Information Rate. Min: 0.1 Mbit/s. Max: 10,000 Mbit/s. No default.

  • Max frame loss (%): Maximum frame loss ratio for conforming packets. Min: 0%. Max: 100%. No default.

  • Max frame delay (ms): Maximum frame delay for conforming packets. Min: 0 ms. Max: 1000 ms. No default.

  • Max frame jitter (ms): Maximum frame jitter for conforming packets. Min: 0 ms. Max: 1000 ms. No default.

Traffic profile for CIR (green) flow

  • Frame size (bytes): Ethernet frame size in bytes. Min: 64 bytes. Max: 1518 bytes. Default: 512 bytes.

  • Source UDP port: The source UDP port to use. Range: 1 … 65535. Default: 5000.

  • Destination UDP port: The destination UDP port to use. Range: 1 … 65535. Default: 5000.

  • DSCP: Differentiated Services Code Point. Range: 0 … 63. Default: 0.

  • VLAN priority (PCP): Priority Code Point in VLAN header. Min: 0. Max: 7. Default: 0.

Traffic profile for EIR (yellow) flow

  • Frame size (bytes): Ethernet frame size in bytes. Min: 64 bytes. Max: 1518 bytes. Default: 512 bytes.

  • Source UDP port: The source UDP port to use. Range: 1 … 65535. Default: 5001.

  • Destination UDP port: The destination UDP port to use. Range: 1 … 65535. Default: 5001.

  • DSCP: Differentiated Services Code Point. Range: 0 … 63. Default: 0.

  • VLAN priority (PCP): Priority Code Point in VLAN header. Min: 0. Max: 7. Default: 0.

Result metrics

  • Rate (Mbit/s): Ethernet data rate.

  • Loss (%): Packet loss.

  • Delay (ms): Average one-way delay.

  • Jitter (ms): Jitter (delay variation).

  • Pass/fail outcome of test.