Command Manual – Mirroring
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 Mirroring Commands
Huawei Technologies Proprietary
1-3
Example
# Display the parameter settings of traffic mirroring on Gigabitethernet1/1/1.
<Quidway> display qos-interface GigabitEthernet 1/1/1 mirrored-to
GigabitEthernet1/1/1: mirrored-to
Inbound:
Matches: Acl 2000 rule 0 running
Mirrored to: monitor interface
1.1.3
mirrored-to
Syntax
mirrored-to
{
inbound
|
outbound
}
acl-rule
{
monitor-interface
|
cpu
}
undo mirrored-to
{
inbound
|
outbound
}
acl-rule
View
Ethernet port view
Parameter
inbound
: Mirrors packets received on the port.
outbound
: Mirrors packets sent on the port.
acl-rule
: Applied ACL rules, which can be the combination of different types of ACL
rules. Table 1-1 describes the ACL combinations.
Table 1-1
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