Related Documentation
- M Series
- Layer 2 Port Mirroring Overview
- MX Series
- Layer 2 Port Mirroring Overview
- Layer 2 Port Mirroring Named Instances
- Defining a Named Instance of Layer 2 Port Mirroring
- Binding Layer 2 Port Mirroring to Ports Grouped at the FPC Level
- Examples: Layer 2 Port-Mirroring at Multiple Levels of the Chassis
- Example: Layer 2 Port Mirroring with Multiple Instances
Binding Layer 2 Port Mirroring to Ports Grouped at the PIC Level
On an MX Series router, you can bind a named instance of Layer 2 port mirroring to the ports associated with a specific Packet Forwarding Engine (on a DPC) or to the ports associated with a specific PIC (installed in an FPC). This is known as binding a named instance of Layer 2 port mirroring at the PIC level of the router chassis. The port-mirroring properties specified in the named instance are applied to all physical ports associated with the specified Packet Forwarding Engine.
![]() | Note: You can also bind a named instance of Layer 2 port mirroring to a specific DPC or FPC in the router chassis. For any packet-type family supported by Layer 2 port mirroring:
|
You can apply up to two named instances of Layer 2 port mirroring to the same group of ports within the router chassis. By applying two different port-mirroring instances to the same Packet Forwarding Engine or PIC, you can bind two distinct Layer 2 port mirroring specifications to a single group of ports.
For MX960 routers, there is a one-to-one mapping of Packet Forwarding Engines to Ethernet ports. Therefore, on MX960 routers only, you can bind a named instance of Layer 2 port mirroring to a specific port by binding the instance to the Packet Forwarding Engine associated with the port.
Before you begin, complete the following tasks:
- Define a named instance of Layer 2 port mirroring. See Defining a Named Instance of Layer 2 Port Mirroring.
- Display information about the number and types of DPCs in the MX Series router, the number of Packet Forwarding Engines on each DPC, and the number and types of ports per Packet Forwarding Engine. See Displaying Information About DPCs or FPCs in an MX Series Router.
To bind a named instance of Layer 2 port-mirroring to a Packet Forwarding Engine:
Enable configuration of the router chassis properties:
[edit]user@host# edit chassisEnable configuration of a Packet Forwarding Engine or PIC:
[edit chassis]user@host# edit fpc slot-numberuser@host# edit pic slot-numberBind a named instance of Layer 2 port mirroring (pm-instance-name) to the Packet Forwarding Engine or PIC:
[edit chassis fpc slot-number pic slot-number]user@host# set port-mirror-instance pm-instance-name- (Optional) To bind a second named instance of Layer 2 port mirroring to the same Packet Forwarding Engine or PIC, repeat step 3 and specify a different named instance of Layer 2 port mirroring.
Verify the minimum configuration of the binding:
[edit forwarding-options ... ]user@host# top[edit]user@host# show chassischassis {fpc slot-number { ... optional-binding-of-a-port-mirroring-instance-at-the-dpc-level ...pic slot-number { # Bind two port-mirroring named instances at the PIC level.port-mirror-instance pm-instance-name-1;port-mirror-instance pm-instance-name-2;}}}
Related Documentation
- M Series
- Layer 2 Port Mirroring Overview
- MX Series
- Layer 2 Port Mirroring Overview
- Layer 2 Port Mirroring Named Instances
- Defining a Named Instance of Layer 2 Port Mirroring
- Binding Layer 2 Port Mirroring to Ports Grouped at the FPC Level
- Examples: Layer 2 Port-Mirroring at Multiple Levels of the Chassis
- Example: Layer 2 Port Mirroring with Multiple Instances


