Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

tests

date_range 11-Jun-24

Junos OS Syntax (Except SRX300 and SRX550HM)

content_copy zoom_out_map
tests {
    test-name test-name {
        destination-ipv4-address address;
        destination-mac-address destination-mac-address;
        destination-udp-port  port-number;
        direction (egress | ingress);
        disable-signature-check;
        dscp-code-points dscp-code-points;
        family (bridge| inet | ccc | vpls);
        forwarding-class forwarding-class;
        halt-on-prefix-down;
        in-service;
        ip-swap;
        ivlan-cfi ivlan-cfi;
        ivlan-id ivlan-id;
        ivlan-priority ivlan-priority;
        mode (initiate-and-terminate | reflect);
        outer-tag-protocol-id outer-tag-protocol-id;
        ovlan-cfi ovlan-cfi;
        ovlan-id ovlan-id;
        ovlan-priority  ovlan-priority;
        packet-loss-priority (high | low | medium-high);
        receive-failure-threshold receive-failure-threshold;
        reflect-etype reflect-etype;
        reflect-mode (mac-rewrite | mac-swap | no-mac-swap);
        service-type (elan | eline);
        skip-arp-iteration;
        source-ipv4-address address;
        source-mac-address source-mac-address;
        source-udp-port port-number;
                test-finish-wait-duration test-finish-wait-duration;
        test-interface interface-name;
        test-iterator-duration test-iterator-duration;
        test-iterator-pass-threshold test-iterator-pass-threshold;
        test-profile test-profile;
        timestamp-format (microseconds | nanoseconds);
        transmit-failure-threshold transmit-failure-threshold;
        udp-tcp-port-swap;
        vlan-cfi vlan-cfi;
        vlan-id vlan-id;
        vlan-priority vlan-priority;
        }
}

Junos OS Syntax (SRX300 and SRX550HM)

content_copy zoom_out_map
tests {
    test-name test-name {
        destination-ipv4-address address;
        destination-udp-port  port-number;
        disable-signature-check;
        family inet;
        mode reflect;
        source-ipv4-address address;
        source-udp-port port-number;
        test-interface interface-name;

    }
}

Junos OS Evolved Syntax

content_copy zoom_out_map
tests {
    test-name test-name {
            destination-ipv4-address address;
            destination-mac-address mac-address; 
            destination-udp-port port-number;
            direction (egress | ingress); 
            disable-signature-check; 
            dscp-code-points codepoint; 
            family (ccc | ethernet-switching |inet); 
            halt-on-prefix-down;
            in-service; 
            ip-swap; 
            mode (initiate-and-terminate | reflect);
            reflect-etype; 
            reflect-mode (mac-swap | no-mac-swap);
            service-type service-type; 
            skip-arp-iteration;
            source-ipv4-address address;
            source-mac-address mac-address; 
            source-udp-port port-number;
            test-interface interface-name;
            test-iterator-duration seconds;
            test-profile profile-name;
            udp-tcp-port-swap; 
     }
}

Junos OS Hierarchy Level

content_copy zoom_out_map
[edit services rpm rfc2544-benchmarking]

Junos OS Evolved Hierarchy Level

content_copy zoom_out_map
[edit services monitoring rfc2544]

Description

Specify the attributes of the test iteration, such as the address family (type of service, IPv4 or Ethernet), the logical interface, test duration, and test packet size, that are used for a benchmarking test to be run. The test name combined with the test profile represent a single real-time performance monitoring (RPM) configuration instance.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 13.3.

Statement introduced in Junos OS Evolved Release 21.1R1.

Support for the destination-mac-address, direction, disable-signature-check, in-service, ip-swap, reflect-etype, reflect-mode, service-type, source-mac-address, and udp-tcp-port-swap configuration statements added in Junos OS Evolved 22.4R1.

footer-navigation