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 FPC Level

    On an MX Series router and on an EX Series switch, you can bind a named instance of Layer 2 port mirroring to a specific DPC or to a specific FPC in the router (or switch) chassis. This is known as binding a named instance of Layer 2 port mirroring at the FPC level of the router (or switch) 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 (or switch) chassis.

    For any packet-type family supported by Layer 2 port mirroring

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

    You can apply up to two named instances of Layer 2 port mirroring to the same group of ports within the router (or switch) 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:

    To bind a named instance of Layer 2 port-mirroring to a DPC or FPC and its Packet Forwarding Engines:

    1. Enable configuration of the router (or switch) chassis properties:

      [edit]user@host# edit chassis
    2. Enable configuration of a DPC (and its corresponding Packet Forwarding Engines) or an FPC (and its installed PICs):

      [edit chassis]user@host# edit fpc slot-number
    3. Bind 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
    4. (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.
    5. 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 chassis 
      chassis {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;}}

    Published: 2013-04-09