Chapter 4 Command-Line Reference 4-165
Command Mode
Interface Configuration (Ethernet, destination port)
Command Usage
You can mirrortraffic from a source port to a destination port for real-time
analysis. You can then attach a logic analyzer or RMON probe to the
destination port and study the traffic crossing the source port in a completely
unobtrusive manner.
The destination port is set by specifying an Ethernet interface.
Example
The following example mirrors all packets from port SNP6 to port NETP2:
Related Commands
show port monitor (4-165)
4.3.16.2 show port monitor
Use this command to display mirror information.
Syntax
show port monitor [interface]
interface ethernet port-name
port-name – down link: SNP0-15; up link: NETP0-7; mgt: NETMGT
Default Setting
Shows all sessions
Console(config)#interface ethernet NETP2
Console(config-if)#port monitor ethernet SNP6 both
Console(config-if)#