3Com Switch 7750 Configuration Guide Guide

Mirroring Configuration 643
Configuring Local Port
Mirroring
Configuration prerequisites
The source port is specified and whether the packets to be mirrored are
inbound or outbound is specified.
The destination port is specified.
Configuring port mirroring in Ethernet port view
Configuring local port mirroring in system view
Table 510 Configure port mirroring in Ethernet port view
Operation Command Description
Enter system view system-view -
Create a local port mirroring
group
mirroring-group group-id
local
Required
Enter Ethernet port view of
the destination port
interface interface-type
interface-number
-
Define the current port as the
destination port
mirroring-group group-id
monitor-port
Required
LACP must be disabled on the
mirroring destination port and
you are recommended to
disable STP on the mirroring
destination port.
Exit current view quit -
Enter Ethernet port view of
the source port
interface interface-type
interface-number
-
Configure the source port and
specify the direction of the
packets to be mirrored
mirroring-group group-id
mirroring-port { both |
inbound | outbound }
Required
Display parameter settings of
the local port mirroring group
display mirroring-group {
all | local }
Required
This command can be
executed in any view.
Table 511 Configure local port mirroring in system view
Operation Command Description
Enter system view system-view -
Create a local port mirroring
group
mirroring-group group-id
local
Required
Configure the destination
port
mirroring-group group-id
monitor-port monitor-port
Required
LACP must be disabled on the
mirroring destination port and
you are recommended to
disable STP on the mirroring
destination port.
Configure the source port and
specify the direction of the
packets to be mirrored
mirroring-group group-id
mirroring-port
mirroring-port-list { both |
inbound | outbound }
Required
Display parameter settings of
the local mirroring
display mirroring-group {
all | local }
Optional
This command can be
executed in any view.