interface (Port Mirroring)
Syntax
interface (all | interface-name);
Hierarchy Level
对于不带 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]
Description
指定入口 信息流镜像的接口。指定应将镜像的信息流复制到(输出接口)的接口。
Options
全部 — 将端口镜像应用于交换机上的所有接口(输出接口除外)。镜像大量流量可能会导致性能问题,因此通常应选择特定输入接口。
警告:
在 QFabric 系统中配置 all 会使所有节点上的所有接入接口都镜像。小心在 QFabric 系统上使用此选项。
接口名称 — 仅将端口镜像应用于指定接口。
Required Privilege Level
路由 — 要在配置中查看此语句。路由控制 — 要将此语句添加至配置。
Release Information
在 Junos OS 11.1 版中引入的语句。