destination cpu
Syntax
destination cpu
no destination cpu
Description
The
destination cpu
command causes the mirror session to transmit mirrored packets to the switch CPU. This destination may be configured for multiple sessions, however only one such configured session may be active at a given time.
The diagnostic utility Tshark may be used to view and capture packets arriving to the CPU through this route. Ctrl+C must be entered to terminate a Tshark capture session. More details can be found in the Supportability Guide.
The
no
form of this command will immediately cease mirroring traffic to the CPU, but will not remove any sources from the mirror configuration
Command context
config-mirror-<SESSION-ID>
Authority
Administrators
Examples
Configuring a mirror session with CPU as the destination.
switch# config switch(config)# mirror session 1 switch(config-mirror-1)# destination cpu
Removing the destination entirely.
switch(config-mirror-1)# no destination cpu