Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring RFC 2544-Based Benchmarking Tests

To configure a RFC 2544 benchmark test on an initiator, you must first configure a test-profile and reference the test-profile in a unique test-name. The test-name defines the parameters for the tests to be performed.

To configure a test-profile, include the test-profile profile-name statement at the [edit services rpm rfc2544-benchmarking] hierarchy level. Test profile is applicable only for initiator.

To configure a test-name, include the test-name test-name statement at the [edit services rpm rfc2544-benchmarking] hierarchy level.

To configure Ethernet loopback as the test mode on a logical interface, include the Ethernet-loopback statement at the [edit services rpm rfc2544-benchmarking] hierarchy level.

Note:

The test-profile is not required while configuring the reflector for RFC 2544 test.

Table 1 lists the parameters for configuring test-profile at initiator.

Table 1: Parameters for test-profile Configuration

Parameters

Description

test-type

RFC 2544 test type (throughput | latency | frame-loss | back-back-frames).

packet-size

Size of the test packet.

The valid packet sizes are 64, 68, 72, 128, 256, 512, 768, 1024, 1280, 1518, 1522, 1600, 1728, 2496, 3584, 4016, 9104, and 9136 bytes.

bandwidth-kbps

Define the maximum bandwidth limit, in kilobits per second (kbps).

Range: 1,000 kpbs through 1,000,000 kbps.

step-percent

Specify the step percentage for frame-loss tests.

Default: 10 percent

Range: 1 through 100 percent

Table 2 lists the parameters for configuring a test-name at initiator and reflector.

Table 2: Parameter for test-name configuration

Parameters

Description

check-test-interface-mtu

When the check-test-interface-mtu parameter is configured, the parameter validates the MTU size of the test packets with the MTU size configured on the interface and the following would be the behavior for initiator and reflector modes:

  • On the initiator, if the MTU size of the test packet is larger than the MTU size configured on the interface, then the RFC2544-based benchmarking test fails to start.

  • On the reflector, if the test packets coming to the reflector does not confirm to the MTU size configured on the interface, then these test packets do not get reflected and are dropped.

destination-ipv4-address

Specify the destination IPv4 address.

This parameter is mandatory when family inet is specified and optional when family ccc is specified.

If a value is not specified, then by default 192.168.1.20 is used.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

destination-mac-address

Specify the destination MAC address. For example, 0011.2233.4455.

This parameter cannot be used when family inet is specified.

This parameter is optional when family ccc is specified. If not specified, then the default value of 0x00:0x11:0xAE:0x92:0x2F:0x28 is used.

destination-udp-port

Specify the destination UDP port number for the test frames. Default: 4041.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

direction

Specify the test direction (egress | ingress). This parameter is valid only when family ccc and bridge.

This parameter is mandatory for mode ethernet-loopback

disable-signature-check

Disable signature verification on the received test frames.

dscp-code-points

Specify the value of the Differentiated Services (DiffServ) field. For example, 001111.

If a value is not specified, then '0' is used in IP header.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

family

Configure the test family (bridge | ccc | inet).

This parameter is mandatory for mode ethernet-loopback

forwarding-class

Specify the forwarding class to be used for test frames.

halt-on-prefix-down

If specified, a prefix that moves to the down state causes the corresponding tests to be stopped.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

ignore-test-interface-state

When the ignore-test-interface-state parameter is configured for RFC2544 benchmarking tests, the test continues to run even if there are any occurrences of interface up or down events. This is applicable to both initiator and reflector test modes.

in-service

If specified, only the data traffic corresponding to the test session is interrupted, rest of the data traffic flow sent to and from the UNI port under test on the service are not affected.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

ivlan-cfi

CFI bit used in the inner VLAN tag.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

ivlan-id

Configure inner VLAN ID for the test frames.

This parameter is valid only for family ccc mode.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

ivlan-priority

Configure the priority value for the IEEE 802.1p bit in the inner VLAN tag.

Range: 0 through 7.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

mode

Specify the test mode (ethernet-loopback, initiate-and-terminate, or reflect).

  • ethernet-loopback—Test frames are loopbacked to the measuring device after the source MAC address and the destination MAC addresses are swapped.

  • initiate-and-terminate—Test frames are initiated and terminated at the same end. If you specify this mode, then a reflector should be configured on the peer end to bring back the test frames.

  • reflect—Test frames are reflected on the chosen service.

outer-tag-protocol-id

TPID to be used in the outer VLAN tag.

Supported values are 0x8100, 0x88a8, 0x9100, 0x9200.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

ovlan-cfi

CFI bit used in the outer VLAN tag.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

ovlan-id

Configure the outer VLAN ID for the test frames.

Range: 0 through 4094

This parameter is valid only for family ccc mode.

ovlan-priority

Configure the priority value for the IEEE 802.1p bit in the outer VLAN tag.

Range: 0 through 7

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

packet-loss-priority

Specify the packet loss priority (PLP) value.

If a value is not configured, then the default value of low is used.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

reflect-etype

Specify the EtherType ID to be used for reflection of test frames. This parameter is valid only in mode reflect. If not specified, then all EtherTypes are reflected.

Range: 1 through 65,535.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

reflect-mode

Specify the reflection mode (mac-rewrite | mac-swap | no-mac-swap).

  • mac-rewrite—MAC values specified in source-mac-address and destination-mac-address would be used.

  • mac-swap—Swaps the source-mac-adddress and destination-mac-address in the test frame. This is the default behavior.

  • no-mac-swap—Does not swap MAC addresses. Test frames are returned back as-is.

reflector-port

Port used to configure reflector functionality for RFC 2544 test. The range of ports that can be used based on the front panel port number are:

  • On ACX5048 [16 through 53]

  • On ACX5096 [64 through 95, 100 through 103].

service-type

Specify the service type (E-LINE, or E-LAN)

skip-arp-iteration

This parameter is valid only in family inet mode. ARP iteration is a 3-second iteration that is run for all inet tests. The results of ARP iteration are ignored in test result calculations. The primary use of sending test frames for 3 seconds is to ensure that all devices on the path to destination build their ARP entries.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

source-ipv4-address

Specify the source IPv4 address used for the test frames. If a value is not specified for this parameter, then:

  • For family ccc, if a value is not specified, then by default 192.168.1.10 is used.

  • For family inet, the source address of the interface is used to send out test frames.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

source-mac-address

Specify the source MAC address. For example, 0011.2233.4455

This parameter cannot be used when family inet is specified.

This parameter is optional when family ccc is specified. If not specified, then the default value of 0x00:0x60:0x67:0x71:0xC6:0x62 is used.

source-udp-port

Specify the source UDP port number for the test frames.

Default: 4040

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

test-finish-wait-duration

Number of seconds to wait after transmitting the last frame and before concluding that the test as complete.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

test-iterator-duration

Specify the duration of each iteration in seconds.

Range: 10 through 120 seconds

The default value for test types throughput, back-to-back frames and frame loss rate is 20 seconds. The default value for test type latency is 120 seconds.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

test-interface

Specify the name of the logical interface (UNI) on which the test needs to be run.

When you specify the family as inet and mode as initiate-and-terminate the test-interface is ignored, instead the test is run on egress logical interface that is determined by the route lookup on the specified destination-ipv4-address.

When you specify the family as inet and mode as reflect, the test-interface is used as the interface to enable reflection service. If test-interface is not specified, a lookup is performed on the source-ipv4-address parameter to determine the interface hosting the address.

This parameter is mandatory for mode ethernet-loopback

test-profile

Specify the name of the test-profile to be used for the test.

The test-profile parameter is ignored when mode reflect is used.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

vlan-cfi

CFI bit used in the VLAN tag.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

vlan-id

Configure the VLAN ID for the test frames.

This parameter is valid only for mode ethernet-loopback.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

vlan-priority

Configure the VLAN priority value.

Range: 0 through 7.

Note:

This parameter is not supported on ACX5048 and ACX5096 routers.

The following topics describe how to configure a test-profile and a test-name, start and stop a RFC2544-benchmark test, and copy the test result to a local or a remote file.

Configuring a Test Profile for an RFC 2544-Based Benchmarking Test

You can configure a test profile by including the test-profile profile-name statement at the [edit services rpm rfc2544-benchmarking] hierarchy level. Table 1 lists the parameters for configuring test-profile.

To configure a test profile:

  1. In configuration mode, go to the [edit services] hierarchy level.
  2. Configure an RPM service instance.
  3. Configure an RFC 2544-based benchmarking test for the RPM instance.
  4. Define a name for a test profile—for example, profile1.
  5. Define the theoretical maximum bandwidth for the test in kilobits per second, with a value from 1,000 Kbps through 1,000,000 Kbps. Specify a complete decimal number.
  6. Specify the size of the test packet in bytes, with a value from 64 through 9136, to be used for each test iteration. You can specify up to 10 packet sizes, separated by a space, that are used sequentially for the test. The valid packet sizes are 64, 68, 72, 128, 256, 512, 768, 1024, 1280, 1518, 1522, 1600, 1728, 2496, 3584, 4016, 9104, and 9136 bytes. If you specify a packet size other than the ones listed here as valid sizes, the configuration is saved when you commit the setting and no error message is displayed. However, when you start the test by entering the test services rpm rfc2544-benchmarking test test-name start command, an error message is displayed specifying that you configured an invalid packet size in the test profile associated with the test name.
    Note:
    • The minimum frame size for untagged frames should be 64.

    • The minimum frame size for single-tagged frames should be 68.

    • The minimum frame size for dual-tagged frames should be 72.

    These values are no applicable for inet.

  7. Specify the step percentage for frame-loss tests with a value from 1 through 100. This parameter is not applicable for other test types.
  8. Configure the type of test to be performed.
    • To configure a throughput test, use the throughput option with the test-type statement.

    • To configure a latency test, use the latency option with the test-type statement.

    • To configure a frame-loss test, use the frame-loss option with the test-type statement.

    • To configure a back-to-back frames test, use the back-back-frames option with the test-type statement.

Configuring a Test Name for an RFC 2544-Based Benchmarking Test

You can configure a test name by including the test-name test-name statement at the [edit services rpm rfc2544-benchmarking] hierarchy level.

To configure a test name and define its attributes for initiator:

  1. In configuration mode, go to the [edit services] hierarchy level.
  2. Configure an RPM service instance.
  3. Configure an RFC 2544-based benchmarking test for the RPM instance.
  4. Define a name for the test—for example, test1. The test name identifier can be up to 32 characters in length.
  5. Configure the destination IPv4 address for the test packets. This parameter is required only if you configure an IPv4 family inet. This option is not required if you specify circuit cross-connect (CCC) as the family. If you do not configure the destination IPv4 address, the default value of 192.168.1.20 is used.
  6. Specify the source MAC address used in generated test frames. This parameter is effective for a CCC family and it is not applicable for an inet family. If you specify this parameter for an inet family, a commit error occurs when you commit the configuration. This parameter is optional for a CCC family. If you do not configure the destination MAC address, the default value of 0x00:0x60:0x67:0x71:0xC6:0x62 is used.
  7. Specify the destination MAC address used in generated test frames.
  8. Specify the logical interface on which the RFC 2544-based benchmarking test is run. This is a local user-to-network interface (UNI) on behalf of which the test frames are generated when the test direction is egress.
  9. Specify the family for the benchmarking test.
  10. Specify the test mode for the packets that are sent during the benchmarking test. The initiate-and-terminate option causes the test frames to be initiated from one end and terminated at the same end. The initiation and termination mode requires a reflector to be configured at the peer end to return the test frames from the peer to the originator. The reflect option causes the test frames to be reflected on the chosen service (IPv4, Ethernet, or bridge).
    • To configure the initiation and termination mode as the test mode on a router, use the initiate-and-terminate option.

    • To configure the reflection mode as the test mode on a router, use the reflect option.

  11. Specify the direction (egress | ingress) of the interface on which the test must be run. The egress option causes the test to be run in the egress direction of the interface (traffic sent from user-to-network interface (UNI) toward network-to-network interface (NNI)). The ingress option causes the test to be run in the ingress direction of the interface (traffic sent on user-to-network interface (UNI)). You cannot configure ingress for a bridge family.
  12. Configure the outer VLAN ID for the test frames. This parameter is valid only for a CCC or an Ethernet pseudowire family.
  13. Configure the inner VLAN ID for the test frames. This parameter is valid only for a CCC or an Ethernet pseudowire family.
  14. Configure the priority value for the IEEE 802.1p bit in the outer VLAN tag. The priority value is configured when the UNI interface is dual-tagged.
  15. Configure the priority value for the IEEE 802.1p bit in the inner VLAN tag. This configuration is optional.
  16. Configure the CFI value for the outer VLAN tag. This configuration is optional.
  17. Specify the source IPv4 address to be used in generated test frames. This parameter is optional for both CCC and inet families. If you do not configure the source-ipv4-address for an inet family, the source address of the interface is used to transmit the test frames. If you do not configure the source-ipv4-address for a CCC family, the default value of 192.168.1.10 is used.
  18. Specify the destination IPv4 address to be used in generated test frames.
  19. Specify the source UDP port to be used in the UDP header for the generated frames. If you do not specify the UDP port, the default value of 4040 is used.
  20. Specify the destination UDP port to be used in the UDP header for the generated frames. If you do not specify the UDP port, the default value of 4041 is used.
  21. Specify the value of the Differentiated Services (DiffServ) field within the IP header of the test frames. The DiffServ code point (DSCP) bits value must be set to a valid 6-bit pattern. If you do not specify this value, 0 is used in the DSCP fields in the IP header.
  22. Configure the address type family for the benchmarking test. The inet option indicates that the test is run on an IPv4 service. The ccc option indicates that the test is run on an CCC or Ethernet pseudowire service. The direction statement that you configured in Step 11 specifies the direction (ingress or egress) to be used for the test.
  23. Specify the forwarding class to be used for test frames. The forwarding class specifies the manner in which the test frames are processed by the Packet Forwarding Engine of the router. If you do not configure this parameter, test frames are treated as best-effort traffic.
  24. Specify the halt-on-prefix-down option to enable a prefix that moves to the down state to cause the corresponding tests to be stopped. The show command output for the test displays that the test was terminated because the prefix went down. By default, the RFC 2544-based benchmarking test ignores a prefix-down event (when the prefix associated with the test goes down) and continues to run.
  25. Specify the duration of each iteration in seconds. If you configure this value, the default value of each iteration depends on the type of test being run. For throughput, bursty or back-back-frames, and frame-loss types of tests, the default value is 20 seconds. For latency tests, the default value is 120 seconds.
  26. Specify the name of the test profile to be associated with a particular test name. You must have previously configured the profile by using the test-profile profile1 statement at the [edit services rpm rfc2544-benchmarking] hierarchy level. The test profile is required when the test mode is configured as initiation and termination. The test-profile profile1 parameter is disregarded when the test mode is configured as reflection. A reflection service does not use the parameters specified in the test profile because the reflection service uses the same parameters for the test frames as the received test frames when it returns the frames to the initiator.

To configure a test name and define its attributes for reflector:

Note:

In ACX5048 and ACX5096 routers, while performing RFC 2544 benchmark test, you must ensure that there are no configurations associated with the reflector port.

  1. In configuration mode, go to the [edit services] hierarchy level.

  2. Configure an RPM service instance.

  3. Configure an RFC 2544-based benchmarking test for the RPM instance.

  4. Define a name for the test—for example, test1. The test name identifier can be up to 32 characters in length.

  5. Specify the test mode for the packets that are sent during the benchmarking test. The reflect option causes the test frames to be reflected back to the intiator end..

  6. Specify the family for the benchmarking test.

  7. Specify the direction (egress | ingress) of the interface on which the test must be run. The egress option causes the test to be run in the egress direction of the interface (traffic sent from user-to-network interface (UNI) toward network-to-network interface (NNI)). The ingress option causes the test to be run in the ingress direction of the interface (traffic sent on user-to-network interface (UNI)). You cannot configure ingress for a bridge family.

  8. Configure the destination IPv4 address for the test packets. This parameter is required only if you configure an IPv4 family inet. This option is not required if you specify circuit cross-connect (CCC) as the family. If you do not configure the destination IPv4 address, the default value of 192.168.1.20 is used.

  9. Specify the source MAC address used in generated test frames. This parameter is effective for a CCC family and it is not applicable for an inet family. If you specify this parameter for an inet family, a commit error occurs when you commit the configuration. This parameter is optional for a CCC family. If you do not configure the destination MAC address, the default value of 0x00:0x60:0x67:0x71:0xC6:0x62 is used.

  10. Specify the destination MAC address used in generated test frames.

  11. Specify the logical interface on which the RFC 2544-based benchmarking test is run. This is a local user-to-network interface (UNI) on behalf of which the test frames are generated when the test direction is egress.

  12. Specify the service type as E-LINE or E-LAN.

  13. Specify the forwarding class to be used for test frames. The forwarding class specifies the manner in which the test frames are processed by the Packet Forwarding Engine of the router. If you do not configure this parameter, test frames are treated as best-effort traffic.

  14. Configure the address type family for the benchmarking test. The inet option indicates that the test is run on an IPv4 service. The ccc option indicates that the test is run on an CCC or Ethernet pseudowire service. The direction statement that you configured in Step 7 specifies the direction (ingress or egress) to be used for the test.

  15. Specify the EtherType to be used for reflection of the test frames, which is a two-octet field in an Ethernet frame that defines the protocol encapsulated in the frame payload. This parameter is valid only if you configured the test mode to be a reflector. If you do not configure this parameter, all EtherTypes are reflected. Use an EtherType value that matches the EtherType value set on the customer premises equipment (CPE) to which your router connects. The EtherType value appears in the Ethernet type field of the packet. It specifies the protocol being transported in the Ethernet frame. This is an optional parameter.

  16. Specify the reflection mode for the benchmarking test. This configuration is optional.

    You can configure one of the following reflection modes:

    • mac-rewrite—Enable rewriting of the MAC address on the reflected frames. The MAC addresses specified in the source-mac-address and destination-mac-address options are used.

      Note:

      In ACX5048 and ACX5096 routers, mac-rewrite is not supported in reflection mode.

    • mac-swap—Swaps the source and destination MAC addresses in the test frame. This is the default behavior.

      Note:

      In ACX5048 and ACX5096 routers, mac-swap is not supported in reflection mode.

    • no-mac-swap—Does not swap the source and destination MAC addresses in the test frame. The frame is returned to the originator without any modification to the MAC addresses.

Starting and Stopping the RFC 2544-Based Benchmarking Test

To start an RFC 2544-based benchmarking test, issue the run test services rpm rfc2544-benchmarking test test-name start CLI command.

To stop an RFC 2544-based benchmarking test, issue the run test services rpm rfc2544-benchmarking test test-name stop CLI command.

To start an RFC 2544 benchmarking inet tests on Layer 3 VPN or virtual router, issue the run test services rpm rfc2544-benchmarking test test-name routing-instance routing-instance-name start CLI command.

To stop an RFC 2544 benchmarking inet tests on Layer 3 VPN or virtual router, issue the run test services rpm rfc2544-benchmarking test test-name routing-instance routing-instance-name stop CLI command.

Copying an RFC 2544-Based Benchmarking Test Result

You can copy the RFC 2544-based benchmarking test results to a local or a remote file.

  • To copy test results to a local file, use the run show services rpm rfc2544-benchmarking test-id number detail | save rfc-2544-test-result-session-id-number CLI command.

  • To copy test results to a remote file, use the run show services rpm rfc2544-benchmarking test-id number detail | save ftp://username:password@sftpchannel.example.com/rfc-2544-test-result-session-id-number