Operation Manual – Mirroring
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 1 Mirroring Configuration
Huawei Technologies Proprietary
1-8
Operation
Command
Description
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.
Note:
z
Configurations listed in Table 1-5 do not involve specifying a mirroring group.
Therefore these mirroring settings made in Ethernet port view applies to mirroring
group 1 only.
z
Configurations listed in Table 1-6 can be used to add mirroring settings for any
defined mirroring group in Ethernet port view.
z
Configurations listed in Table 1-7 should to be performed in system view. Therefore
the mirroring group ID and port number need to be specified.
IV. Configuration Example
z
The source port is GigabitEthernet 1/0/1. Mirror all packets received and sent via
this port.
z
The destination port is GigabitEthernet 1/0/4.
1)
Configuration procedure 1:
<Quidway> system-view
[Quidway] mirroring-group 1
local
[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] mirroring-port both
2)
Configuration procedure 2:
<Quidway> system-view
[Quidway] mirroring-group 1
local
[Quidway] interface GigabitEthernet 1/0/4
[Quidway-GigabitEthernet1/0/4] mirroring-group 1 monitor-port
[Quidway-GigabitEthernet1/0/4] quit
[Quidway] interface GigabitEthernet 1/0/1
[Quidway-GigabitEthernet1/0/1] mirroring-group 1 mirroring-port both
3)
Configuration procedure 3:
<Quidway> system-view