10. Configure an RFC 2544-based benchmarking test for the RPM instance.
[edit services rpm]
user@host# edit rfc2544-benchmarking
11. Define a name for a test profile—for example, throughput.
[edit services rpm rfc2544-benchmarking]
user@host# edit profiles test-profile throughput
12. Configure the type of test to be performed as throughput.
[edit services rpm rfc2544-benchmarking profiles test-profile throughput]
user@host# set test-type throughput
13. Specify the size of the test packet as 64 bytes.
[edit services rpm rfc2544-benchmarking profiles test-profile throughput]
user@host# set test-type packet-size 64
14. Specify the period for which the test is to be performed in hours, minutes, or seconds
by specifying a number followed by the letter h (for hours), m (for minutes), or s
(for seconds). In this example, you configure the period as 20 minutes.
[edit services rpm rfc2544-benchmarking profiles test-profile throughput]
user@host# set test-type test-duration 20m
15. Define the theoretical maximum bandwidth for the test in kilobits per second, with
a value from 1 Kbps through 1,000,000 Kbps.
[edit services rpm rfc2544-benchmarking profiles test-profile throughput]
user@host# set test-type bandwidth-kbps 500
16. Enter the up command to go the previous level in the configuration hierarchy.
[edit services rpm rfc2544-benchmarking profiles test-profile throughput]
user@host# up
17. Enter the up command to go the previous level in the configuration hierarchy.
[edit services rpm rfc2544-benchmarking profiles]
user@host# up
18. Define a name for the test—for example, test1. The test name identifier can be up
to 32 characters in length.
[edit services rpm rfc2544-benchmarking]
user@host# edit tests test-name test1
19. Specify the name of the test profile—for example, throughput—to be associated
with a particular test name.
[edit services rpm rfc2544-benchmarking tests test-name test1]
1379Copyright © 2017, Juniper Networks, Inc.
Chapter 37: Configuring RFC 2544-Based Benchmarking Tests