Limitations, conflicts, or exclusions
The following limitations, conflicts, or exclusions apply when configuring multiple mirroring sessions on a switch:
CPU generated packets egressing on a routed L3 interface will not be mirrored to the destination port.
Untagged egress packets that get mirrored will have the native VLAN tag in the mirrored packet. These extra bytes can cause traffic loss at the mirror destination when running line rate traffic.
A mirroring session can either be
rx
,tx
, orboth
. When a user configures a mirroring session with bothrx
andtx
enabled, two mirroring sessions are created in hardware. A mirroring session with onlyrx
ortx
counts as one mirroring session in hardware. Up to 4 suchrx
/tx
sessions in total are supported. Any additional configured mirroring sessions will not work. The number of mirroring sessions created does not depend upon the number of source interfaces being mirrored, but on whether the traffic being mirrored in the session isrx
,tx
, orboth
. Anrx
mirroring session with multiple source ports will create one hardware mirroring session (refer to configuration 3). A mirroring session mirroring bothrx
andtx
traffic on different source ports will create two hardware mirroring sessions (refer to configuration 1).
The following configurations each create two mirroring sessions in the hardware:
mirror session 1
source interface 1/1/1 rx
source interface 1/1/2 tx
destination interface 1/1/3
enable
mirror session 1
source interface 1/1/1 both
destination interface 1/1/3
enable
If configuration 1 and configuration 2 are applied on the switch, no more mirroring sessions can be configured as the limit of four mirroring sessions is reached.
The following configurations each create one mirroring session:
mirror session 1
source interface 1/1/1 rx
source interface 1/1/2 rx
destination interface 1/1/3
enable
mirror session 1
source interface 1/1/1 tx
source interface 1/1/2 tx
destination interface 1/1/3
enable
Configuration 3 and configuration 4 each create one hardware mirroring session. If configuration 3 and configuration 4 are applied on the switch, two more hardware mirroring sessions can be created.
Operation Status field: 'platform_session_limit_reached'
error in the Status field.
8320# show mirror 3
Mirror Session: 3
Admin Status: enable
Operation Status: platform_session_limit_reached
Source: interface 1/1/5 both
Destination: interface 1/1/6
Output Packets: 0
Output Bytes: 0