H3C S7500 Series Ethernet Switches Operation Manual
Operation Manual – Mirroring
H3C S7500 Series Ethernet Switches Chapter 1
Mirroring Configuration
1-14
II. Configuration procedure
To do… Use the command… Remarks
Enter system view
system-view
—
Create a mirroring group
mirroring-group group-id
local
Required
Define the destination port
mirroring-group group-id
monitor-port
monitor-port
Required
LACP and STP cannot be
enabled on the
destination port.
Enter Ethernet port view
of the source port
interface interface-type
interface-number
—
Enter QoS view
qos
—
Reference ACLs for
identifying traffic flows
and perform traffic
mirroring for packets that
match.
mirrored-to inbound
acl-rule [ system-index ]
{ interface interface-type
interface-number |
mirroring-group
group-id }
Required
Display the parameter
settings of traffic mirroring
display qos-interface
[ interface-type
interface-number ]
mirrored-to
Display all QoS settings of
a port
display qos-interface
[ interface-type
interface-number ] 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-3 Combined application of ACLs on type A LPUs.
Combination mode Form of acl-rule
Apply all rules in an IP type ACL ip-group { acl-number | acl-name }
Apply one rule in an IP type ACL
ip-group { acl-number | acl-name } rule
rule-id
Apply all rules in a link type ACL link-group { acl-number | acl-name }
Apply one rule in a link type
link-group { acl-number | acl-name } rule
rule-id