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 PIC 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 FPC Level
On an MX Series router, you can bind a named instance of Layer 2 port mirroring to a specific DPC or to a specific FPC in the router chassis. This is known as binding a named instance of Layer 2 port mirroring at the FPC level of the router chassis. The port mirroring properties specified in the named instance are applied to all physical ports associated with all Packet Forwarding Engines on the specified DPC or FPC.
![]() | Note: You can also bind a named instance of Layer 2 port mirroring to a specific Packet Forwarding Engine on a 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 DPC or FPC, you can bind two distinct Layer 2 port mirroring specifications to a single group of ports.
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 or FPCs in the MX Series router, the number of Packet Forwarding Engines on each, 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 DPC or FPC and its Packet Forwarding Engines:
Enable configuration of the router chassis properties:
[edit]user@host# edit chassisEnable configuration of a DPC (and its corresponding Packet Forwarding Engines) or an FPC (and its installed PICs):
[edit chassis]user@host# edit fpc slot-numberBind a named instance of Layer 2 port mirroring (pm-instance-name) to the DPC or FPC:
[edit chassis fpc 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 DPC or FPC, repeat step 3 and specify a different named instance of Layer 2 port mirroring.
Verify the minimum configuration of the binding:
[edit chassis fpc slot-number port-mirror-instance pm-instance-name]user@host# top[edit]user@host# show chassischassis {fpc slot-number { # Bind two port mirroring named instances at the FPC 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 PIC Level
- Examples: Layer 2 Port-Mirroring at Multiple Levels of the Chassis
- Example: Layer 2 Port Mirroring with Multiple Instances


