![Huawei Quidway S5600 Operation Manual Download Page 751](http://html.mh-extra.com/html/huawei/quidway-s5600/quidway-s5600_operation-manual_169841751.webp)
Operation Manual – Mirroring
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 1 Mirroring Configuration
Huawei Technologies Proprietary
1-6
[Quidway-acl-basic-2000] rule deny source any
[Quidway-acl-basic-2000] quit
[Quidway] interface gigabitEthernet 1/0/4
[Quidway-GigabitEthernet1/0/4] monitor-port
[Quidway-GigabitEthernet1/0/4] quit
[Quidway] interface gigabitEthernet 1/0/1
[Quidway-GigabitEthernet1/0/1] mirrored-to inbound ip-group 2000
monitor-interface
1.3.2
Configuring Port Mirroring
I. Configuration prerequisites
z
The source port is specified and whether the packets to be mirrored are inbound or
outbound is specified:
inbound
: only mirrors the packets received via the port;
outbound
:
only
mirrors the packets sent by the port;
both:
mirrors the packets
received and sent by the port at the same time.
z
The destination port is specified.
z
The group number of the mirroring group is specified.
II. Configuring port mirroring in Ethernet port view
Table 1-5
Configure port mirroring in Ethernet port view (1)
Operation
Command
Description
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
monitor-port
Required
LACP and TCP 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-port
{
inbound
|
outbound
|
both
}
Required
Display parameter
settings of the mirroring
display
mirroring-group
{
all
|
local
}
Optional
This
command can be
executed in any view.