interface (Port Mirroring)
语法
interface (all | interface-name);
层次结构级别
对于没有 ELS 的平台:
[edit ethernet-switching-options analyzer name input (egress | ingress)], [edit ethernet-switching-options analyzer name output]
对于具有 ELS 的平台:
[edit forwarding-options analyzer name input (egress | ingress)] [edit forwarding-options analyzer name output] [edit forwarding-options port-mirroring [instance name] family ethernet-switching output]
说明
指定入口 流量镜像的接口。指定应将镜像流量复制到的接口(输出接口)。
选项
all — 将端口镜像应用于交换机上的所有接口(输出接口除外)。镜像大量流量可能会导致性能问题,因此通常应选择特定的输入接口。
警告:
在 QFabric 系统中配置 all 可镜像所有节点上的所有接入接口。请注意在 QFabric 系统上使用此选项。
interface-name-仅将端口镜像应用于指定的接口。
必需的权限级别
路由 — 在配置中查看此语句。路由控制 — 将此语句添加到配置中。
发布信息
在 Junos OS 11.1 版中引入的语句。