3.
Configure the three VLANs and the Layer 2 VPN switching CCC:
•
VLAN bd spans logical interfaces ge-2/0/1.0 and ge-2/0/1.1.
•
VLAN bd_next_hop_group spans logical interfaces ge-2/2/9.0 and ge-2/0/2.0.
•
VLAN bd_port_mirror uses the logical tunnel interface lt-2/0/10.2.
•
Layer 2 VPN CCC if_switch connects interfaces ge-2/0/1.2 and lt-2/0/10.1.
[edit]
vlans {
vlans {
interface ge-2/0/1.0;
interface ge-2/0/1.1;
}
bd_next_hop_group {
interface ge-2/2/9.0;
interface ge-2/0/2.0;
}
bd_port_mirror {
interface lt-2/0/10.2;
}
}
protocols {
mpls {
interface all;
}
connections {
interface-switch if_switch {
interface ge-2/0/1.2;
interface lt-2/0/10.1;
}
}
}
For detailed information about configuring the CCC connection for Layer 2 switching
cross-connects, see the MPLS Applications Feature Guide.
4.
Configure forwarding options:
•
Configure global port mirroring properties to mirror family vpls traffic to an interface
on the bridge domain bd_port_mirror.
•
Configure the next-hop group nhg_mirror_to_bd to forward Layer 2 traffic to the
VLAN bd_next_hop_group.
Both of these forwarding options will be referenced by the port-mirroring firewall filter:
[edit]
forwarding-options {
port-mirroring { # Global port mirroring properties.
input {
rate 1;
}
family vpls {
output {
interface lt-2/0/10.2; # Interface on ’bd_port_mirror’ bridge domain.
no-filter-check;
Copyright © 2016, Juniper Networks, Inc.78
Port Mirroring Feature Guide for EX9200 Switches