mirror first
To configure partial traffic mirroring, use the
mirror first
command in monitor session configuration mode.
To stop mirroring a portion of the packet, use the
no
form of this command.
mirror first bytes
Syntax Description
Number of bytes mirrored. The mirrored packet length value can range from 65 to
128.
bytes
Command Default
The entire packet is mirrored.
Command Modes
Monitor session configuration
Command History
Modification
Release
This command was introduced.
Release 4.0.0
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
Use the
mirror first
command to mirror the first 64 to 128 bytes of the packet. The actual mirrored packet
is the configured partial packet monitoring size plus the 4-byte trailing CRC.
Examples
This example shows how to mirror the first 100 bytes of the packet:
RP/0/RSP0/CPU0:router(config)#
interface gigabitethernet0/0/0/11
RP/0/RSP0/CPU0:router(config-if)#
monitor-session mon1
RP/0/RSP0/CPU0:router(config-if-mon)#
mirror first 100
Related Commands
Description
Command
Defines a traffic mirroring session and enter monitor session
configuration mode.
monitor-session, on page 1083
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference,
Release 5.3.x
1081
Traffic Mirroring Commands on the Cisco ASR 9000 Series Router
mirror first