rpm (Services)
语法(Junos OS,QFX10000 交换机、EX9200 交换机和 SRX 系列防火墙除外)
rpm { bgp { data-fill data; data-size size; destination-port port; history-size size; logical-system logical-system-name [routing-instances routing-instance-name]; moving-average-size number; probe-count count; probe-interval seconds; probe-type type; routing-instances instance-name; test-interval interval; ttl ttl; } probe owner { delegate-probes; test test-name { data-fill data; data-size size; destination-interface interface-name; destination-port port; dscp-code-points dscp-bits; hardware-timestamp; history-size size; inet6-options { source-address source-address; } moving-average-size number; next-hop next-hop; one-way-hardware-timestamp; probe-count count; probe-interval seconds; probe-type type; routing-instance instance-name; rpm-scale { target { address-base address-base; count count; step step; } target-inet6 { address-base address-base; count count; step step; } source { address-base address-base; count count; step step; } source-inet6 { address-base address-base; count count; step step; } destination { interface interface; subunit-cnt subunit-cnt; } tests-count tests-count; } source-address address; target (url url | address address); test-interval interval; thresholds thresholds; traps traps; ttl ttl; } } probe-server { icmp { destination-interface destination-interface; } tcp { destination-interface interface-name; port number; } udp { destination-interface interface-name; port number; } } probe-limit limit; rfc2544-benchmarking { profiles { test-profile profile-name { test-type (throughput | latency | frame-loss | back-back-frames); packet-size bytes; step-percent percent; bandwidth-kbps kpbs; } } 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); 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 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); reflector-port reflector-port; 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; } } } traceoptions { file filename <files number> <match regular-expression > <size maximum-file-size> <world-readable | no-world-readable>; flag flag; level (all | error | info | notice | verbose | warning); no-remote-trace; } twamp { client { control-connection name { authentication-mode none; control-type (managed | light); destination-interface destination-interface; destination-port destination-port; history-size history-size; moving-average-size moving-average-size; persistent-results; routing-instance routing-instance; target-address target-address; tcp-keepcnt count; tcp-keepidle seconds; tcp-keepintvl seconds; test-count test-count; test-interval seconds; traps { control-connection-closed; test-iteration-done; } test-session name { data-fill-with zeros; data-size data-size; dscp-code-points dscp-code-points; probe-count probe-count; probe-interval seconds; source-address source-address; target-address target-address local-link IPv6-link-local-interface-name; thresholds { egress-time microseconds; ingress-time microseconds; jitter-egress microseconds; jitter-ingress microseconds; jitter-rtt microseconds; max-rtt microseconds; rtt microseconds; std-dev-egress microseconds; std-dev-ingress microseconds; std-dev-rtt microseconds; successive-loss successive-loss; total-loss total-loss; } traps { egress-jitter-exceeded; egress-std-dev-exceeded; egress-time-exceeded; ingress-jitter-exceeded; ingress-std-dev-exceeded; ingress-time-exceeded; jitter-exceeded; max-rtt-exceeded; probe-failure; rtt-exceeded; std-dev-exceeded; test-completion; test-failure; } ttl hop-count; } } } post-cli-implicit-firewall; server { authentication-key-chain name { key-id name { secret secret; } } authentication-mode <authenticated> <control-only-encrypted> <encrypted> <none>; client-list { address address <routing-instance [instance-name...]>; } max-connection-duration hours; maximum-connections maximum-connections; maximum-connections-per-client maximum-connections-per-client; maximum-sessions maximum-sessions; maximum-sessions-per-connection maximum-sessions-per-connection; port port; routing-instance-list name { port port; } server-inactivity-timeout minutes; tcp-keepcnt count; tcp-keepidle seconds; tcp-keepintvl seconds; } } }
语法(Junos OS,适用于 EX9200 和 QFX10000 交换机)
rpm { bgp { data-fill data; data-size size; destination-port port; history-size size; logical-system logical-system-name [routing-instances routing-instance-name]; moving-average-size number; probe-count count; probe-interval seconds; probe-type type; routing-instances instance-name; test-interval interval; ttl ttl; } probe owner { delegate-probes; test test-name { data-fill data; data-size size; destination-interface interface-name; destination-port port; dscp-code-points dscp-bits; hardware-timestamp; history-size size; inet6-options { source-address source-address; } moving-average-size number; next-hop next-hop; one-way-hardware-timestamp; probe-count count; probe-interval seconds; probe-type type; routing-instance instance-name; rpm-scale { target { address-base address-base; count count; step step; } target-inet6 { address-base address-base; count count; step step; } source { address-base address-base; count count; step step; } source-inet6 { address-base address-base; count count; step step; } destination { interface interface; subunit-cnt subunit-cnt; } tests-count tests-count; } source-address address; target (url url | address address); test-interval interval; thresholds thresholds; traps traps; ttl ttl; } } probe-server { icmp { destination-interface destination-interface; } tcp { destination-interface interface-name; port number; } udp { destination-interface interface-name; port number; } } probe-limit limit; twamp { client { control-connection name { authentication-mode none; destination-interface destination-interface; destination-port destination-port; history-size history-size; moving-average-size moving-average-size; persistent-results; routing-instance routing-instance; target-address target-address; tcp-keepcnt count; tcp-keepidle seconds; tcp-keepintvl seconds; test-count test-count; test-interval seconds; traps { control-connection-closed; test-iteration-done; } test-session name { data-fill-with zeros; data-size data-size; dscp-code-points dscp-code-points; probe-count probe-count; probe-interval seconds; target-address target-address; thresholds { egress-time microseconds; ingress-time microseconds; jitter-egress microseconds; jitter-ingress microseconds; jitter-rtt microseconds; max-rtt microseconds; rtt microseconds; std-dev-egress microseconds; std-dev-ingress microseconds; std-dev-rtt microseconds; successive-loss successive-loss; total-loss total-loss; } traps { egress-jitter-exceeded; egress-std-dev-exceeded; egress-time-exceeded; ingress-jitter-exceeded; ingress-std-dev-exceeded; ingress-time-exceeded; jitter-exceeded; max-rtt-exceeded; probe-failure; rtt-exceeded; std-dev-exceeded; test-completion; test-failure; } ttl hop-count; } } } post-cli-implicit-firewall; server { authentication-key-chain name { key-id name { secret secret; } } authentication-mode <authenticated > <control-only-encrypted> <encrypted > <none>; client-list { address address <routing-instance [instance-name...]>; } max-connection-duration hours; maximum-connections maximum-connections; maximum-connections-per-client maximum-connections-per-client; maximum-sessions maximum-sessions; maximum-sessions-per-connection maximum-sessions-per-connection; port port; routing-instance-list name { port port; } server-inactivity-timeout minutes; tcp-keepcnt count; tcp-keepidle seconds; tcp-keepintvl seconds; } } }
语法(Junos OS,用于 SRX300 和 SRX550HM 设备)
rpm { rfc2544-benchmarking { 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; test-iterator-duration test-iterator-duration; } } } }
语法(Junos OS 演化版)
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 } } }
Junos OS 层次结构级别
[edit services]
Junos OS 演化版层次结构级别
[edit services monitoring]
描述
配置实时性能监控 (RPM)。RPM 使您能够配置活动探测器来跟踪和监控流量。探测会按目标和应用程序收集数据包,包括 PING 互联网控制消息协议 (ICMP) 数据包、具有用户配置端口的用户数据报协议和传输控制协议 (UDP/TCP) 数据包、用户配置的差异服务代码点 (DSCP) 服务类型 (ToS) 数据包和超文本传输协议 (HTTP) 数据包。RPM 提供管理信息库 (MIB) 支持,并扩展了 RFC 2925 、远程 Ping、跟踪路由和查找操作的托管对象定义。
从 Junos OS 演化版 20.1R1 开始,您可以配置 RPM 探测。对于 Junos OS 演化版,RPM 在 [edit services monitoring rpm]
层次结构级别进行配置。支持范围仅限于:
-
以下 RPM 探头类型的探头生成和接收(客户端)以及反射(服务器):
-
ICMP-ping
-
ICMP 时间戳
-
udp-ping
-
udp-timestamp
-
-
探头历史记录管理
-
仅通过系统日志报告
从 Junos OS 演化版 20.3R1 开始,您可以配置 TWAMP 探测。从 Junos OS 演化版 21.1R1 开始,您可以配置 RFC 2544 基准测试。对于 Junos OS 演化版,TWAMP 在 [edit services monitoring twamp]
层次结构级别配置,RFC 2544 基准测试在层次结构级别配置 [edit services monitoring rfc2544]
。
从 Junos OS 演化版 21.2R1 开始,RPM 支持通过 SNMP MIB 对象进行报告。
从 Junos OS 演化版 23.4R1 开始,您可以配置 tcp-ping
、 http-get
和 http-metadata-get
探测类型。
其余语句将单独解释。有关详细信息,请在 CLI 资源管理器 中搜索语句,或单击语法部分中的链接语句。
所需权限级别
system - 在配置中查看此语句。
系统控制 - 将此语句添加到配置中。
发布信息
在 Junos OS 7.4 版之前引入的语句。
在 Junos OS 演化版 20.1R1 中引入的语句。
traps
Junos OS 演化版 21.2R1 中引入的选项。
source-address
选项和 local-link
Junos OS 21.4R1 版中引入的 TWAMP Light 测试会话选项的 target-address
子选项。
tcp
Junos OS 演化版 23.4R1 中引入的选项的 probe-server
子选项。
tcp-ping
、 和 http-get
http-metadata-get
Junos OS 演化版 23.4R1 中引入的探测类型。
tcp-ping
、
http-get
和
http-metadata-get
探测类型。