COMMAND LINE INTERFACE

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:

Console(config)#interface ethernet 1/11

Console(config-if)#port monitor ethernet 1/6 both

Console(config-if)#

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

3-136

Page 248
Image 248
SMC Networks SMC6750L2 manual 136, Syntax Show port monitor interface