
Operation Manual – Port Mirroring
H3C S5500-EI Series Ethernet Switches
Chapter 1 Port Mirroring Configuration
1-4
Note:
z
A local mirroring group is effective only when it has both source ports and the
destination port configured.
z
It is not recommended to enable STP, RSTP or MSTP on the destination port;
otherwise, the mirroring function may be affected.
z
Do not use the destination mirroring port for any purpose other than port mirroring.
z
The source ports and the destination port cannot be the member ports of the current
mirroring group.
z
Before adding the destination port for a port mirroring group, make sure the port
mirroring group exists. A mirroring group can have only one destination port.
1.3 Configuring Remote Port Mirroring
1.3.1 Configuring a Remote Source Mirroring Group
Follow these steps to configure a remote port mirroring group
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a remote
source mirroring group
mirroring-group group-id
remote-source
Required
In system
view
mirroring-group group-id
mirroring-port mirroring-port-list
{
both
|
inbound
|
outbound
}
interface
interface-type
interface-number
[
mirroring-group group-id
]
mirroring-port
{
both
|
inbound
|
outbound
}
Add ports
to the
mirroring
group as
source
ports
In
interface
view
quit
Use either approach.
You can add ports to
a source port
mirroring group in
either system view or
interface view. They
achieve the same
purpose.
In system
view
mirroring-group group-id
monitor-egress
monitor-egress-port-id
interface
interface-type
interface-number
mirroring-group group-id
monitor-egress
Add a
port to
the
mirroring
group as
the
outbound
mirroring
port
In
interface
view
quit
Use either approach.
You can add ports to
a source mirroring
group in either system
view or interface view.
They achieve the
same purpose.