H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – Mirroring
H3C S7500 Series Ethernet Switches Chapter 1
Mirroring Configuration
1-6
II. Configuring port mirroring in Ethernet port view
To do… Use the command… Remarks
Enter system view
system-view
Create a 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 and STP must be
disabled on the
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 mirroring
display mirroring-group
{ all | local }
Required
This command can be
executed in any view.
III. Configuring port mirroring in system view
To do… Use the command… Remarks
Enter system view
system-view
Create a port mirroring
group
mirroring-group group-id
local
Required
Configure the destination
port
mirroring-group group-id
monitor-port
monitor-port
Required
LACP and STP must be
disabled on the
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 mirroring
display mirroring-group
{ all | local }
Optional
This command can be
executed in any view.