Chapter 4: Switching 69
CLI show
commands
You can use the following
show
command in Privileged EXEC mode to view
information about the port mirroring feature:
Configuration
examples
The following example configures a monitor session that mirrors port 0/12 to port
0/5. The
mode
keyword enables the monitor session:
Command Description
show monitor
session
Displays the port monitoring information for a
particular mirroring session.
(CN1610) #configure
(CN1610) (Config)#monitor session 1 source interface 0/12 rx
(CN1610) (Config)#monitor session 1 destination interface 0/5
(CN1610) (Config)#monitor session 1 mode
(CN1610) (Config)#exit
(CN1610) #show monitor session 1
Session ID Admin Mode Probe Port Mirrored Port Type
---------- ---------- ---------- ------------- -----
1 Enable 0/5 0/12 Rx
(CN1610) #