
Command Manual – Mirroring
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 Mirroring Commands
Huawei Technologies Proprietary
1-12
1.2.3
mirrored-to
Syntax
mirrored-to
{
inbound
|
outbound
}
acl-rule
{
monitor-interface
|
cpu
}
undo mirrored-to
inbound
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-2describes the ACL combinations.
Table 1-2
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
ip-group acl-number
: ACL number of the basic or advanced ACL, ranging from 2000 to
3999.
link-group acl-numberr
: ACL number of the Layer 2 ACL, ranging from 4000 to 4999.
user-group acl-number
: ACL number of the user-defined ACL, ranging from 5000 to
5999.