
Operation Manual – Port Mirroring
H3C S5500-EI Series Ethernet Switches
Chapter 1 Port Mirroring Configuration
1-3
z
Destination device
Destination device contains destination mirroring port, and remote destination port
mirroring groups are created on destination devices. Upon receiving a mirrored packet,
the destination device checks to see if the VLAN ID of the received packet is the same
as that of the remote mirroring VLAN of the remote destination port mirroring group. If
yes, the destination device forwards the packet to the monitoring device through the
destination mirroring port.
1.1.3 Other Functions Supported by Port Mirroring
In addition, in a port mirroring group, a destination port can monitor multiple source
ports simultaneously in the mirroring group.
1.2 Configuring Local Port Mirroring
Follow these steps to configure local port mirroring:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a local mirroring
group
mirroring-group group-id
local
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 port
mirroring
group as
source
ports
In
interface
view
quit
Use either approach.
You can add ports to a
port mirroring group as
source ports in either
system view or
interface view.
In system view, you
can add multiple ports
to a port mirroring
group at one time.
While in interface view,
you can only add the
current port to a port
mirroring group.
In system
view
mirroring-group group-id
monitor-port monitor-port-id
interface
interface-type
interface-number
Add a port
to the
mirroring
group as
the
destination
port
In
interface
view
[
mirroring-group group-id
]
monitor-port
Use either approach.
You can add a
destination port to a
port mirroring group in
either system view or
interface view. They
achieve the same
purpose.