Figure 1 shows the sequence of events that take place during CLI-based mirroring. The tables after the figure describe the events indicated by the numbers and letters in the figure. Table 1 describes the configuration process; Table 2 describes the flow of traffic during a mirroring operation that is initiated when the user logs in; and Table 3 describes the flow of traffic when mirroring a user who is already logged in or when mirroring a static interface.
Figure 1: CLI-Based Packet Mirroring

To create a CLI-based packet mirroring environment, you must complete the processes listed in Table 1.
Table 1: Setting Up the CLI-Based Packet-Mirroring Environment
Process | Description |
|---|---|
A | The authorized individual requests packet mirroring of a user’s or interface’s traffic and configures the analyzer device to receive mirrored traffic. |
B | An individual who is authorized to use the packet mirroring CLI commands configures the packet mirroring environment, including the secure policy, analyzer interface connection to the analyzer device, and the interface or trigger information. |
Table 2 indicates the sequence of steps for a packet-mirroring operation that takes place when a user starts a new session.
Table 2: CLI-Based User-Specific Mirroring During Session Start
Step | Description |
|---|---|
1 | The user logs in to an E Series router, requesting authentication by AAA. |
2 | AAA authenticates the user, and the router starts mirroring the user’s traffic. |
3 | The router sends the user’s original traffic to the intended destination. |
4 | The router sends the mirrored traffic to the analyzer device. |
5 | The analyzer device provides information to the requesting individual. |
Table 3 indicates the sequence of steps for a packet-mirroring operation that is configured for an interface or for a user who is already logged in.
Table 3: CLI-Based Mirroring of Currently Running Session
Step | Description |
|---|---|
1 | For user-specific mirroring, the user logs in to the E Series router; no mirroring action is configured. |
2 |
|
3 | The router sends the original traffic to its intended destination. |
4 | The router sends mirrored traffic to the analyzer device. |
5 | The analyzer device provides information for the requesting individual. |