Operation Manual – Mirroring
Quidway S5600 Series Ethernet Switches-Release 1510 Chapter 1 Mirroring Configuration
Huawei Technologies Proprietary
1-5
Operation Command Description
Reference ACLs for identifying
traffic flows and perform traffic
mirroring for packets that
match.
mirrored-to inbound
acl-rule
{ monitor-interface | cpu }
Required
Display the parameter settings
of traffic mirroring
display qos-interface
{ interface-type
interface-number | unit-id }
mirrored-to
Display all QoS settings of a
port
display qos-interface
{ interface-type
interface-number | unit-id }
all
Optional
These commands
can be executed in
any view.
acl-rule: applied ACL rules, which can be the combination of different types of ACL
rules. The following table describes the ACL combinations.
Table 1-4 Combined application of ACLs
Combination mode Form of acl-rule
Apply all rules in an IP type ACL (either a
basic or an advanced ACL) separately
ip-group acl-number
Apply one rule in an IP type ACL separately
ip-group acl-number rule rule-id
Apply all rules in a Layer 2 ACL separately
link-group acl-number
Apply one rule in a Layer 2 ACL separately
link-group acl-number rule rule-id
Apply one rule in a user-defined ACL
separately
user-group acl-number
Apply all rules in a user-defined ACL
separately
user-group acl-number rule rule-id
Apply one rule in an IP type ACL and one
rule in a Layer 2 ACL simultaneously
ip-group acl-number rule rule-id
link-group acl-number rule rule-id
III. Configuration example
1) Network requirements:
z GigabitEthernet 1/0/1 on the switch is connected to the 10.1.1.1/24 network
segment.
z Mirror the packets from the 10.1.1.1/24 network segment to GigabitEthernet 1/0/4,
the destination port.
2) Configuration procedure:
<Quidway> system-view
[Quidway] acl number 2000
[Quidway-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255