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

    Examples: Layer 2 Port-Mirroring at Multiple Levels of the Chassis

    On an MX Series router or on an EX Series switch, you can apply named instances of Layer 2 port mirroring at the FPC or DPC level of the chassis or at the PIC level of the chassis. However, you can configure (and implicitly apply) only one global instance of Layer 2 port mirroring to the entire chassis.

    Layer 2 Port Mirroring at the FPC Level

    In this example configuration of an MX Series router or of an EX Series switch chassis, a named instance of Layer 2 port mirroring (pm1) is bound to physical ports grouped at the FPC level:

    [edit]
    chassis {fpc 2 {port-mirror-instance pm1;}}

    This is not a complete configuration. The physical interfaces associated with the FPC or DPC in slot 2 must be configured at the [edit interfaces] hierarchy level. The Layer 2 port mirroring named instance pm1 must be configured at the [edit forwarding-options port-mirroring instance] hierarchy level.

    Layer 2 Port Mirroring at the PIC Level

    In this example configuration of an MX Series router or of an EX Series switch chassis, a named instance of Layer 2 port mirroring (pm2) is bound to the physical ports grouped at the PIC level:

    [edit]
    chassis {fpc 2 {pic 0 {port-mirror-instance pm2;}}}

    This is not a complete configuration. The physical interfaces associated with the FPC or DPC in slot 2 must be configured at the [edit interfaces] hierarchy level. The Layer 2 port mirroring named instance pm2 must be configured at the [edit forwarding-options port-mirroring instance] hierarchy level.

    Layer 2 Port Mirroring at the FPC and PIC Levels

    In this example configuration of an MX Series router chassis or an EX Series switch, one named instance of Layer 2 port mirroring (pm1) is applied at the FPC level of the router (or switch) chassis. A second named instance (pm2) is applied at the PIC level:

    [edit]
    chassis {fpc 2 {port-mirror-instance pm1;pic 0 {port-mirror-instance pm2;}}}

    This is not a complete configuration. Physical interfaces associated with the FPC or DPC in slot 2, including physical interfaces associated with pic 0, must be configured at the [edit interfaces] hierarchy level. The Layer 2 port mirroring named instances pm1 and pm2 must be configured at the [edit forwarding-options port-mirroring instance] hierarchy level.

    Published: 2013-04-09