set mirror mirrorN (S-, K-Series)

Use this command to specify the number of packets at the beginning of a flow to mirror.

Syntax

set mirror control-index mirrorN mirrorN-packets

Parameters

control-index The index number (1–255) that identifies the mirror destination. The mirror must be a manually created mirror.
mirrorN mirrorN- packets The number of packets at the beginning of a flow to mirror. The maximum value is 31 packets.

Defaults

None.

Mode

All command modes.

Example

This example shows how to mirror the first twenty packets in a flow:

System(rw)->set mirror 1 mirrorN 20