H3C Technologies H3C S3600 Series Switches User Manual
Page 780
1-5
To do…
Use the command…
Remarks
mirroring-group group-id
mirroring-port { both | inbound |
outbound }
quit
The configurations in the two
views have the same effect.
In system
view
mirroring-group group-id
monitor-port monitor-port-id
interface interface-type
interface-number
Configure the
destination
port for the
port mirroring
group
In port view
mirroring-group group-id
monitor-port
Use either approach
The configurations in the two
views have the same effect.
Follow these steps to configure local port mirroring on S3600-SI series Ethernet switches:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable port mirroring – STP
collaboration
mirroring stp-collaboration
Required
This configuration applies to all
ports of the current device.
By default, port mirroring – STP
collaboration is not enabled.
Enter
Ethernet
port view
interface interface-type
interface-number
—
Configure
the current
port as the
source port
mirroring-port { both | inbound
| outbound }
Required
Configuring
the source
port for port
mirroring
Return to
system
view
quit
—
Enter
Ethernet
port view
interface interface-type
interface-number
—
Configure the
destination
port for port
mirroring
Configure
the current
port as the
destination
port
monitor-port
Required
When configuring local port mirroring, note that:
z
You need to configure the source and destination ports for the local port mirroring to take effect.
z
The source port and the destination port cannot be a fabric port or a member port of an existing
mirroring group; besides, the destination port cannot be a member port of an aggregation group or
a port enabled with LACP or STP.