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]
所需权限级别
接口 — 在配置中查看此语句。
接口控制 — 将此语句添加到配置中。
路由 - 在配置中查看此语句。路由控制 - 将此语句添加到配置中。
发布信息
在 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
以及 next-hop-group
Junos OS 14.2 版 中引入的语句。