Prior to Junos OS 11.1 Software Release only one port mirroring could be configured on the EX4500 platform. From Junos OS 11.1 software release, the flexibility of configuring seven analyzers on the EX4500.
The purpose of this KB is to provide information concerning port mirroring for the EX4500 for Junos OS 11.1, and higher, Software Releases.
PFE 1 Mapped to the Interfaces 0 to 19 PFE 2 Mapped to the Interfaces 20 to 39
set ethernet-switching-options analyzer Test-1 input ingress interface ge-0/0/0.0 set ethernet-switching-options analyzer Test-1 input egress interface ge-0/0/0.0 set ethernet-switching-options analyzer Test-1 output interface ge-0/0/10.0
set ethernet-switching-options analyzer Test-1 input ingress interface ge-0/0/1.0 set ethernet-switching-options analyzer Test-1 input egress interface ge-0/0/1.0 set ethernet-switching-options analyzer Test-1 output interface ge-0/0/11.0
set ethernet-switching-options analyzer Test-1 input ingress interface ge-0/0/21.0 set ethernet-switching-options analyzer Test-1 input egress interface ge-0/0/21.0 set ethernet-switching-options analyzer Test-1 output interface ge-0/0/22.0
ethernet-switching-options { analyzer Test-1 { input { ingress { interface ge-0/0/0.0; } egress { interface ge-0/0/0.0; } } output { interface { ge-0/0/10.0; } } } analyzer Test-2 { input { ingress { interface ge-0/0/1.0; } egress { interface ge-0/0/1.0; } } output { interface { ge-0/0/11.0; } } } analyzer Test-3 { input { ingress { interface ge-0/0/21.0; } egress { interface ge-0/0/21.0; } } output { interface { ge-0/0/22.0; } } }
set ethernet-switching-options analyzer Test-1 input ingress interface ge-0/0/5.0 set ethernet-switching-options analyzer Test-1 input egress interface ge-0/0/5.0 set ethernet-switching-options analyzer Test-1 output interface ge-0/0/25.0 root@juniper# commit [edit ethernet-switching-options] 'analyzer' Cannot have more than one analyzer when one analyzer is configured as global analyzererror: configuration check-out failed
root# commit [edit ethernet-switching-options]'analyzer'The number of Analyzer session cannot exceed 7error: configuration check-out failed