Configuring RFC 2544-Based Benchmarking Tests
This topic describes 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.
Test Profile and Test Name Overview
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 the initiator, not the reflector.
To configure a test-name
, include the test-name
test-name
statement at the [edit
services rpm rfc2544-benchmarking]
(Junos OS) or [edit services
monitoring rfc2544 tests] (Junos OS Evolved) hierarchy level.
(Junos OS) 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.
The table below lists the parameters for configuring the test profile at the initiator.
Parameters |
Description |
---|---|
|
RFC 2544 test type ( |
|
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. |
|
Define the maximum bandwidth limit, in kilobits per second (kbps). Range: 1,000 kpbs through 1,000,000 kbps. |
|
Specify the step percentage for frame-loss tests. Default: 10 percent Range: 1 through 100 percent |
The table below lists the parameters for configuring a test-name at initiator and reflector.
Parameters |
Description |
---|---|
|
When the
|
|
Specify the destination IPv4 address. This parameter is mandatory when family 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. |
|
Specify the destination MAC address. For example, 0011.2233.4455. This parameter cannot be used when family This parameter is optional when family |
|
Specify the destination UDP port number for the test frames. Default: 4041. Note:
This parameter is not supported on ACX5048 and ACX5096 routers. |
|
Specify the test direction ( This parameter is mandatory for mode
|
|
Disable signature verification on the received test frames. |
|
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. |
|
Configure the test family ( This parameter is mandatory for mode
|
|
Specify the forwarding class to be used for test frames. |
|
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. |
|
When the |
|
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. |
|
CFI bit used in the inner VLAN tag. Note:
This parameter is not supported on ACX5048 and ACX5096 routers. |
|
Configure inner VLAN ID for the test frames. This parameter is valid only for family Note:
This parameter is not supported on ACX5048 and ACX5096 routers. |
|
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. |
|
Specify the test mode (
|
|
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. |
|
CFI bit used in the outer VLAN tag. Note:
This parameter is not supported on ACX5048 and ACX5096 routers. |
|
Configure the outer VLAN ID for the test frames. Range: 0 through 4094 This parameter is valid only for family |
|
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. |
|
Specify the packet loss priority (PLP) value. If a value is not configured, then the default value of
Note:
This parameter is not supported on ACX5048 and ACX5096 routers. |
|
Specify the EtherType ID to be used for reflection of test
frames. This parameter is valid only in mode
Range: 1 through 65,535. Note:
This parameter is not supported on ACX5048 and ACX5096 routers. |
|
Specify the reflection mode (
|
|
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:
|
|
Specify the service type (E-Line or E-LAN) |
|
This parameter is valid only in family Note:
This parameter is not supported on ACX5048 and ACX5096 routers. |
|
Specify the source IPv4 address used for the test frames. If a value is not specified for this parameter, then:
Note:
This parameter is not supported on ACX5048 and ACX5096 routers. |
|
Specify the source MAC address. For example, 0011.2233.4455 This parameter cannot be used when family This parameter is optional when family |
|
Specify the source UDP port number for the test frames. Default: 4040 Note:
This parameter is not supported on ACX5048 and ACX5096 routers. |
|
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. |
|
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. |
|
Specify the name of the logical interface (UNI) on which the test needs to be run. When you specify the family as When you specify the family as This parameter is mandatory for mode
|
|
Specify the name of the The Note:
This parameter is not supported on ACX5048 and ACX5096 routers. |
|
CFI bit used in the VLAN tag. Note:
This parameter is not supported on ACX5048 and ACX5096 routers. |
|
Configure the VLAN ID for the test frames. This parameter is valid only for mode
Note:
This parameter is not supported on ACX5048 and ACX5096 routers. |
|
Configure the VLAN priority value. Range: 0 through 7. Note:
This parameter is not supported on ACX5048 and ACX5096 routers. |
Configure 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.
This procedure shows how to configure a test profile for Junos OS. Routers running Junos OS Evolved only support reflector mode, and so you cannot configure a test profile on these routers.
To configure a test profile:
Configure a Test Name for an RFC 2544-Based Benchmarking Test For an Initiator
You can configure a test name by including the test-name
test-name
statement at the [edit
services rpm rfc2544-benchmarking]
(Junos OS) or [edit services
monitoring rfc2544] (Junos OS Evolved) hierarchy level.
Routers running Junos OS Evolved support only reflector mode.
(Junos OS) To configure a test name and define its attributes for initiator mode:
Configure a Test Name for an RFC 2544-Based Benchmarking Test For a Reflector
To configure a test name and define its attributes for reflector mode:
In ACX5048 and ACX5096 routers, while performing a RFC 2544 benchmark test, you must ensure that there are no configurations associated with the reflector port.
Start and Stop the RFC 2544-Based Benchmarking Test
To start an RFC 2544-based benchmarking test:
-
For Junos OS, issue the
test services rpm rfc2544-benchmarking test test-name start
CLI command. -
For Junos OS Evolved, issue the
test services monitoring rfc2544 test test-name start
CLI command.
To stop an RFC 2544-based benchmarking test:
-
For Junos OS, issue the
test services rpm rfc2544-benchmarking test test-name stop
CLI command. -
For Junos OS Evolved, issue the
test services monitoring rfc2544 test test-name stop
CLI command.
To start an RFC 2544 benchmarking inet tests on Layer 3 VPN or virtual router:
-
For Junos OS, issue the
test services rpm rfc2544-benchmarking test test-name routing-instance routing-instance-name start
CLI command. -
For Junos OS Evolved, issue the
test services monitoring rfc2544 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:
-
For Junos OS, issue the
test services rpm rfc2544-benchmarking test test-name routing-instance routing-instance-name stop
CLI command. -
For Junos OS Evolved, issue the
test services monitoring rfc2544 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 for a particular test ID to a local or a remote file.
-
To copy test results to a local file:
-
For Junos OS, issue the
show services rpm rfc2544-benchmarking test-id number detail | save rfc-2544-test-result-session-id-number
CLI command. -
For Junos OS Evolved, issue the
show services monitoring rfc2544 test-id number detail | save rfc-2544-test-result-session-id-number
CLI command.
-
-
To copy test results to a remote file:
-
For Junos OS, issue the
show services rpm rfc2544-benchmarking test-id number detail | save ftp://username:password@sftpchannel.example.com/rfc-2544-test-result-session-id-number
. -
For Junos OS Evolved, issue the
show services monitoring rfc2544 test-id number detail | save ftp://username:password@sftpchannel.example.com/rfc-2544-test-result-session-id-number
.
-