Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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:

    • Port mirroring properties bound to a specific Packet Forwarding Engine override any port-mirroring properties configured at the DPC or FPC level.
    • Port mirroring properties bound to a specific DPC or FPC override any port-mirroring properties configured at the global level.

    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:

    To bind a named instance of Layer 2 port-mirroring to a Packet Forwarding Engine:

    1. Enable configuration of the router chassis properties:

      [edit]user@host# edit chassis
    2. Enable configuration of a Packet Forwarding Engine or PIC:

      [edit chassis]user@host# edit fpc slot-numberuser@host# edit pic slot-number
    3. Bind 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
    4. (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.
    5. Verify the minimum configuration of the binding:

      [edit forwarding-options ... ]user@host# top[edit]user@host# show chassis
      chassis {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;}}}

    Published: 2013-02-07