Verifying Input and Output for Port Mirroring Analyzers on EX-series Switches
Purpose
To verify that an analyzer has been created on the switch and has the appropriate output interfaces, and appropriate output interface.
Action
You can verify the port mirror analyzer is configured as expected using the show analyzer command.
user@switch> show analyzer
Analyzer name : employee-monitor Analyzer mirror ratio : 1 Analyzer loss priority : High Analyzer ingress monitored interfaces: ge-0/0/0.0 ge-0/0/1.0 Analyzer egress monitored interfaces : None Analyzer monitor interface : None Analyzer monitor VLAN : remote-analyzerReviewers say things are missing from employee-web-monitor. Check this.
You can view all of the port mirror analyzers configured on the switch, including any that are disabled, using the show ethernet-switching-options statement in configuration mode.
user@switch# show ethernet-switching-options
inactive: analyzer employee-web-monitor {
loss-priority high;
output {
analyzer employee-monitor {
loss-priority high;
input {
ingress {
interface ge-0/0/0.0;
interface ge-0/0/1.0;
}
}
output {
vlan {
remote-analyzer;
}
}
}
What it Means
This output shows that the employee-monitor analyzer has a ratio of 1 (mirroring every packet, the default), a loss priority of high (set this option to high whenever the analyzer output is to a VLAN), is mirroring the traffic entering ge-0/0/0 and ge-0/0/1, and sending the mirrored traffic to the analyzer called remote-analyzer.




