C
OMMAND
L
INE
I
NTERFACE
3-136
The destination port is set by specifying an Ethernet interface.
You can create up to nine mirror sessions, but all must share the same
destination port. However, you should avoid sending too much traffic
to the destination port from multiple source ports.
The source and destination ports have to be either both in the port
range 1-24 or 49 or both in the port range 25-48 or 50.
Example
The following example configures the switch to mirror all packets from
port 6 to port 11:
Related Commands
show port monitor
show port monitor
Use this command to display mirror information.
Syntax
show port monitor [interface]
interface - ethernet unit/port (source port)
unit - Switch (unit 1).
port - Port number.
Default Setting
Shows all sessions.
Command Mode
Privileged Exec
Console(config)#interface ethernet 1/11
Console(config-if)#port monitor ethernet 1/6 both
Console(config-if)#