set services rpm rfc2544-benchmarking tests test-name test1 mode reflect
set services rpm rfc2544-benchmarking tests test-name test1 family inet
set services rpm rfc2544-benchmarking tests test-name test1 dest-address 200.0.0.1
set services rpm rfc2544-benchmarking tests test-name test1 udp-port 4001
Configuring Benchmarking Test Parameters on Router A
Step-by-Step
Procedure
The following example requires you to navigate various levels in the configuration
hierarchy. For information about navigating the CLI, see Using the CLI Editor in Configuration
Mode in the CLI User Guide.
To configure the test parameters on Router A:
1. In configuration mode, go to the [edit interfaces] hierarchy level:
[edit]
user@host# edit interfaces
2. Configure the interface on which the test must be run.
[edit interfaces]
user@host# edit ge-0/0/0
3. Configure a logical unit and specify the protocol family.
[edit interfaces ge-0/0/0]
user@host# edit unit 0 family inet
4. Specify the address for the logical interface.
[edit interfaces ge-0/0/0 unit 0 family inet]
user@host# set address 200.0.0.1/24
5. Enter the up command to go the previous level in the configuration hierarchy.
[edit interfaces ge-0/0/0 unit 0 family inet]
user@host# up
6. Go to the top level of the configuration command mode.
[edit interfaces ge-0/0/0 unit 0]
user@host# top
7. In configuration mode, go to the [edit services] hierarchy level.
[edit]
user@host# edit services
8. Configure a real-time performance monitoring service (RPM) instance.
[edit services]
user@host# edit rpm
1361Copyright © 2017, Juniper Networks, Inc.
Chapter 37: Configuring RFC 2544-Based Benchmarking Tests