Configuration prerequisites, Configuration procedure – H3C Technologies H3C S3100 Series Switches User Manual
Page 607

1-28
Only H3C S3100-EI series switches support this configuration.
Refer to section
for information about traffic mirroring.
Configuration prerequisites
z
The ACL rules for traffic classification are defined. Refer to the ACL module of this manual for
information about defining ACL rules.
z
The destination mirroring port is determined.
Configuration procedure
You can configure traffic mirroring on all the packets matching specific ACL rules, or on packets that
match specific ACL rules and are of a VLAN, of a port group, or pass a port.
Table 1-35 Configure traffic mirroring globally
Operation
Command
Description
Enter system view
system-view
—
Enter Ethernet port view of the
destination port
interface interface-type
interface-number
—
Define the current port as the
destination port
monitor-port
Required
Exit current view
quit
—
Reference ACLs for identifying
traffic flows and perform traffic
mirroring for packets that match.
mirrored-to inbound acl-rule
{ cpu | monitor-interface }
Required
Table 1-36 Configure traffic mirroring for a VLAN
Operation
Command
Description
Enter system view
system-view
—
Enter Ethernet port view of the
destination port
interface interface-type
interface-number
—
Define the current port as the
destination port
monitor-port
Required
Exit current view
quit
—
Reference ACLs for identifying traffic
flows and perform traffic mirroring for
packets that match.
mirrored-to vlan vlan-id
inbound acl-rule { cpu |
monitor-interface }
Required