sampling (Forwarding Options)
구문
sampling { disable; family (inet | inet6 | mpls | vpls) { disable; output { aggregate-export-interval seconds; extension-service service-name; file { disable; filename filename; files number; size bytes; (stamp | no-stamp); (world-readable | no-world-readable); } flow-active-timeout seconds; flow-inactive-timeout seconds; flow-server hostname { aggregation { autonomous-system; destination-prefix; protocol-port; source-destination-prefix { caida-compliant; } source-prefix; } autonomous-system-type (origin | peer); (local-dump | no-local-dump); port port-number; source-address address; version format; version9 { template template-name; } } interface interface-name { engine-id number; engine-type number; source-address address; } } } input { max-packets-per-second number; maximum-packet-length bytes; rate number; run-length number; } instance instance-name { disable; family (bridge | inet | inet6 | mpls | vpls) { disable; output { aggregate-export-interval seconds; extension-service service-name; flow-server hostname { aggregation { autonomous-system; destination-prefix; protocol-port; source-destination-prefix { caida-compliant; } source-prefix; } autonomous-system-type (origin | peer); dscp dscp-value; forwarding-class class-name; (local-dump | no-local-dump); port port-number; source-address address; version format; version9 { template template-name; } version-ipfix { template template-name; } } inline-jflow { source-address address; flow-export-rate rate; } interface interface-name { engine-id number; engine-type number; source-address address; } } } input { max-packets-per-second number; maximum-packet-length bytes; rate number; run-length number; } } pre-rewrite-tos; sample-once; traceoptions { no-remote-trace; file filename <files number> <size bytes> <match expression> <world-readable | no-world-readable>; } }
계층 수준
[edit forwarding-options]
필요한 권한 수준
interface - 구성에서 이 명령문을 볼 수 있습니다.
interface-control - 구성에 이 명령문을 추가할 수 있습니다.
릴리스 정보
Junos OS 릴리스 7.4 전에 소개된 명령문입니다.
Junos OS Evolved 릴리스 23.1R1에서 소개된 샘플링 인스턴스 내 및 source-address address
문에 flow-server address
대한 IPv6 주소 지원.