Command Manual – Mirroring
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 Mirroring Commands
Huawei Technologies Proprietary
1-13
rule rule-id
: Rule number of the ACL rule, ranging from 0 to 65534. If this parameter is
not specified, all rules in the specified ACL will be applied.
monitor-interface
: Mirrors traffics to the monitored interface.
cpu
: Mirrors the data traffics to the CPU.
Description
Use the
mirrored-to
command to reference ACLs for identifying traffics and perform
traffic mirroring for packets that match.
Use the
undo mirrored-to
command to remove traffic mirroring configuration.
This command applies to the rules whose actions are
permit
in matching the specified
ACL.
LACP and TCP must be disabled on the destination port. Traffic mirroring does not
support aggregated synchronization and configuration copy.
Mirroring configuration takes effect only after a source port and a destination port are
specified.
Related command:
display qos-interface mirrored-to, monitor-port
Example
# Mirror packets that match ACL 2000 on port GigabitEthernet1/1/1 to
GigabitEthernet1/1/4 through traffic mirroring.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface GigabitEthernet1/1/4
[Quidway-GigabitEthernet1/1/4] monitor-port
[Quidway-GigabitEthernet1/1/4] quit
[Quidway] interface GigabitEthernet1/1/1
[Quidway-GigabitEthernet1/1/1] mirrored-to inbound ip-group 2000
monitor-interface
1.2.4
mirroring-port
Syntax
mirroring-port
{
inbound
|
outbound
|
both
}
undo mirroring-port
View
Ethernet port view