port-mirroring
構文:MXシリーズおよびPTXシリーズルーター、M120およびM320
port-mirroring { input { maximum-packet-length bytes; rate number; run-length number; } family (any | ccc | inet | inet6 | vpls) { output { interface interface-name { next-hop address; } next-hop-group group-name{ group-type inet6; interface interface-name { next-hop ipv6-address; } next-hop-subgroup group-name{ interface interface-name { next-hop ipv6-address; } } } no-filter-check; } } instance { instance-name { input { maximum-packet-length bytes; rate number; run-length number; } family (any | ccc | inet | inet6 | vpls) { output { interface interface-name { next-hop address; } no-filter-check; server-profile server-profile-name; } } } } mirror-once; traceoptions { file filename <files number> <size bytes> <world-readable | no-world-readable>; } }
構文: QFXシリーズ(QFX10000を除く)、EX4600スイッチ、NFXシリーズデバイス
port-mirroring { family { ethernet-switching output { interface interface-name { } no-filter-check; } vlan vlan-name { no-tag; } } inet output { ip-address address { } routing-instance instance-name { ip-address address { } } } instance instance-name { family ethernet-switching { output { interface interface-name { } no-filter-check; } vlan vlan-name { no-tag; } } inet output { ip-address address { } routing-instance instance-name { ip-address address { } } } } } }
構文: OCX1100
port-mirroring { family { inet output { ip-address address { } routing-instance instance-name { ip-address address { } } } instance instance-name { family inet output { ip-address address { } routing-instance instance-name { ip-address address { } } } } } }
構文: QFX10000スイッチ
port-mirroring { instance instance-name { input { rate number; run-length number; } output { dscp value; forwarding-class class-name; ip-destination-address address; ip-source-address address; policer policer-name; } }
階層レベル
[edit forwarding-options]
説明
ポートミラーリング設定を作成します。パケットのコピーをアナライザに送信するアドレス ファミリー、レート、ランレングス、インターフェイス、ネクストホップ アドレスを指定します。
残りのステートメントについては、個別に説明します。 CLIエクスプローラを参照してください。
必要な権限レベル
interface—設定でこのステートメントを表示します。
interface-control—設定にこのステートメントを追加します。
routing—設定でこのステートメントを表示します。routing-controlー設定にこのステートメントを追加します。
リリース情報
Junos OSリリース7.4より前に導入されたステートメント。
family vpls
Junos OS リリース 9.3 で導入されたステートメント。
instance instance-name
Junos OS リリース 9.3 で導入されたステートメント。
mirror-once
Junos OS リリース 9.3 で導入されたステートメント。
family ccc
Junos OS リリース 9.6 で導入されたステートメント。
family inet6
Junos OSリリース14.2で導入された および next-hop-group
ステートメント。