> - Download PDFs
> - ip mirror
> - Related Topics
> - Configuring CLI-Based Mirroring

> # ip mirror

> #### Syntax

> ip mirror mirrorInterfaceType mirrorInterfaceSpecifier
> [ analyzerInterfaceType analyzerInterfaceSpecifier [ next-hop nextHop ] ]

> no ip mirror mirrorInterfaceType mirrorInterfaceSpecifier

> #### Release Information

> Command introduced before JUNOSe Release 7.1.0.

> #### Description

> Configures the specified interface to mirror all IP ingress and egress traffic, and directs the mirrored traffic to an analyzer interface. The no version disables mirroring on the interface.

> | Note: This command is deprecated and might be removed completely in a future release. The function provided by this command has been replaced by the updated packet mirroring feature and the ip policy command used with the secure-input and secure-output keywords.

> #### Options

> - mirrorInterfaceType—Interface type; see Interface Types and Specifiers
> - mirrorInterfaceSpecifier—Particular interface that performs the interface mirroring function; see Interface Types and Specifiers
> - analyzerInterfaceType—Interface type
> - analyzerInterfaceSpecifier—Particular interface used as the analyzer interface; if omitted, the virtual router's default analyzer interface is used
> - nextHop—Next-hop IP address to the remote analyzer host; required if the analyzer interface is a shared medium, such as Ethernet

> #### Mode

> Global Configuration

> #### Updated: 2009-04-22

> Copyright © 2009, Juniper Networks, Inc. All rights reserved. Trademark Notice.