mirror

Syntax

To mirror a specified trigger type:

mirror triggerType [hex] triggerValue { ip | ipv6 | l2tp } secure-policy-list policyName

no mirror triggerType [hex] triggerValue { ip | ipv6 | l2tp }


To mirror the agent-circuit-id or agent-remote-id trigger types, when the hex variant is used:

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

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


To mirror the dhcp-option-82 trigger type:

mirror dhcp-option-82 agent-circuit-id triggerValue1 agent-remote-id triggerValue2 ip secure-policy-list policyName

no mirror dhcp-option-82 agent-circuit-id triggerValue1 agent-remote-id triggerValue2 ip


To mirror the dhcp-option-82 trigger type, when the hex variant is used:

mirror dhcp-option-82 hex triggerValue ip secure-policy-list policyName

no mirror dhcp-option-82 hex triggerValue ip

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.

hex keyword added in JunosE Release 11.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.

Note: The hex variant is applicable only for agent-circuit-id, agent-remote-id, and dhcp-option-82 trigger types. If the hex variant is used then the triggerValue must be a hexadecimal number.

Options

Mode

Global Configuration

Related Documentation