monitoring (Services)
Syntax
monitoring {
rfc2544 {
test-profile profile-name {
bandwidth bandwidth;
packet-size size;
step-percent percent;
test-type (throughput | latency | frame-loss | back-back-frames);
}
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);initiate RLI 45755/48989
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;
}
}
}
rpm {
owner name {
test test-name {
data-fill data;
data-size size;
destination-port port;
dscp-code-points dscp-bits;
history-size size;
moving-average-size number;
offload-type {
none;
pfe-timestamp;
}
probe-count count;
probe-interval seconds;
probe-server {
icmp;
tcp {
port number;
}
udp {
port number;
}
}
probe-type type;
routing-instance instance-name;
source-address address;
target (url url | address address);
test-interval interval;
thresholds thresholds;
traps traps;
ttl hop-count;
}
}
}
twamp {
client {
control-connection name {
control-type (managed | light);
destination-port destination-port;
routing-instance routing-instance;
source-address source-address;
target target-address;
test-start (auto | manual);
test-interval seconds;
traps {
control-connection-closed;
test-iteration-done;
}
test-session name {
data-size data-size;
destination-port destination-port;
dscp-code-points dscp-code-points;
history-size history-size;
moving-average-size moving-average-size;
offload-type (none | pfe-timestamp);
probe-count probe-count;
probe-interval seconds;
source-address source-address;
target target-address local-link IPv6-link-local-interface-name ;
thresholds {
control-failure (on | off);
successive-loss number;
total-loss number;
threshold-type (microseconds | average);
}
traps {
egress-jitter-exceeded
egress-time-exceeded;
ingress-jitter-exceeded;
ingress-time-exceeded;
jitter-exceeded;
probe-failure;
rtt-exceeded;
test-completion;
test-failure;
}
ttl hop-count;
}
}
}
server {
managed {
client-limit limit;
client-list {
address address <routing-instance [instance-name...]>;
}
control-inactivity-timeout seconds;
control-per-client-limit limit;
control-maximum-duration seconds;
offload-type (none | inline-timestamp | pfe-timestamp);
port port;
stateful-sequence;
test-per-client-limit limit;
}
light {
offload-type (none | inline-timestamp | pfe-timestamp);
port port;
stateful-sequence cache-size size;
}
}
}
}
Hierarchy Level
[edit services]
Description
Configure monitoring services.
The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.
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 Evolved Release 20.1R1.
twamp statement introduced in Junos OS Evolved Release 20.3R1.
rfc2544 statement introduced in Junos OS Evolved Release 21.1R1.
traps option for RPM introduced in Junos OS Evolved Release
21.2R1.
traps option for TWAMP added in Junos OS Evolved Release 21.3R1.
The local-link sub-option of the target option for
TWAMP Light test sessions introduced in Junos OS Evolved Release 22.3R1.
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 introduced in Junos OS Evolved 22.4R1.
The inline-timestamping suboption of the
offload-type option introduced in Junos OS Evolved 22.4R1.
Support for bandwidth, dscp-code-points,
halt-on-prefix-down, mode
initiate-and-terminate, packet-size,
step-percent, test-iterator-duration,
test-profile, and test-type configuration
statements introduced in Junos OS Evolved Release 23.4R1.
tcp sub-option for the probe-server option for RPM
introduced in Junos OS Evolved Release 23.4R1.
tcp-ping, http-get, and
http-metadata-get probe types for RPM introduced in Junos OS
Evolved Release 23.4R1.
offload-type and stateful-sequence options for
light and managed TWAMP servers introduced in Junos OS Evolved Release 23.4R1.