term pm {
then port-mirror;
}
}
}
}
5.
Apply the aggregated Ethernet interfaces and port mirror instance to the chassis:
[edit]
chassis {
aggregated-devices {
ethernet {
device-count 10;
}
}
fpc 2 {
port-mirror-instance pm_instance_1;
}
}
6.
Configure interfaces ae0 and ge-2/0/2 (for aggregated Ethernet) and ge-2/2/8 (for
port mirroring) with the pm_ccc filter:
[edit]
interfaces {
ae0 {
vlan-tagging;
encapsulation extended-vlan-ccc;
unit 0 {
vlan-id 10;
family ccc {
filter {
input pm_ccc;
}
}
}
unit 1 {
vlan-id 20;
family ccc {
filter {
output pm_ccc;
}
}
}
}
ge-2/0/2 {
gigether-options {
802.3ad ae0;
}
}
ge-2/2/8 {
encapsulation ethernet-bridge;
unit 0 {
family ethernet-switching;
}
}
Copyright © 2016, Juniper Networks, Inc.62
Port Mirroring Feature Guide for EX9200 Switches