> - mirror
> - Related Topics
> - Configuring CLI-Based Mirroring

> # mirror

> #### Syntax

> mirror triggerType triggerValue { ip | ipv6 | l2tp } secure-policy-list policyName

> no mirror triggerType triggerValue { ip | ipv6 | l2tp }

> #### Release Information

> Command introduced before JUNOSe Release 7.1.0.
> nas-port-id keyword added in JUNOSe Release 7.1.0.

> IPv6 support added in JUNOSe Release 10.1.0.

> #### Description

> Enables packet mirroring based on the specified trigger and specifies the secure policy to attach to the subscriber's interface. The no version disables packet mirroring for the subscriber and removes the trigger configuration.

> #### Options

> - triggerType—One of the following RADIUS attributes
>   - acct-session-id—Acct-Session-Id, RADIUS attribute [44]
>   - calling-station-id—Calling-Station-Id, RADIUS attribute [31]
>   - ip-address—Framed-IP-Address, RADIUS attribute [8]; associated with the virtual router where the command is issued, RADIUS VSA [26-1]
>   - nas-port-id—NAS-Port-Id, RADIUS attribute [87]
>   - username—User-Name, RADIUS attribute [1]; associated with the virtual router where the command is issued, RADIUS VSA [26-1]
> - triggerValue—Value of the triggerType (the specified RADIUS attribute) that identifies the subscriber
> - ip—Configures mirroring for an IP subscriber
> - ipv6—Configures mirroring for an IPv6 subscriber
> - l2tp—Configures mirroring for an L2TP subscriber
> - policyName—Secure policy to attach to the subscriber's interface

> #### Mode

> Global Configuration

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

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