Command Line Interface Guide
Port Monitor Commands 641
User Guidelines
The source of a monitoring session must be configured before the destination
can be configured. Only one session with a single destination is supported,
however, that session supports multiple sources.
Example
The following examples show a simple port level configuration that mirrors
both transmitted and received packet from one port to another.
console(config)#monitor session 1 source interface
te1/0/8
console(config)#monitor session 1 destination
interface te1/0/10
console(config)#monitor session 1 mode
show monitor session
Use the show monitor session command in Privileged EXEC mode to display
status of port monitoring.
Syntax
show monitor session
session_number
•
session
_number
— Session identification number.
Default Configuration
This command has no default configuration.
Command Mode
User EXEC, Privileged EXEC modes, Config mode and all Config sub-modes
User Guidelines
This command has no user guidelines.
Example
The following examples shows port monitoring status.
2CSPC4.X8100-SWUM100.book Page 641 Wednesday, August 29, 2012 6:23 PM