I. Configuration prerequisites
The ACL rules for traffic classification have been defined. Refer to the ACL module
of this manual for information about defining ACL rules.
The mirroring ports and mirroring direction have been determined.
The monitor port has been determined.
II. Configuration procedures
You can configure traffic mirroring for incoming ACL matching packets globally, in a
VLAN, in a port group, or on a port.
1)
Configuring traffic mirroring globally
Follow these steps to configure traffic mirroring globally:
To do...
Enter system view
Enter Ethernet port view
Configure the port as the
monitor port
Return to system view
Mirror incoming ACL
matching packets to the
monitor port
2)
Configuring traffic mirroring for a VLAN
Follow these steps to configure traffic mirroring for a VLAN:
To do...
Enter system view
Enter Ethernet port view
Configure the current port
as the monitor port
Return to system view
Mirror incoming ACL
matching packets in a
VLAN to the monitor port
3)
Configuring traffic mirroring for a port group
Follow these steps to configure traffic mirroring for a port group:
Use the command...
system-view
interface interface-type
interface-number
monitor-port
quit
mirrored-to inbound
acl-rule
monitor-interface
Use the command...
system-view
interface interface-type
interface-number
monitor-port
quit
mirrored-to vlan vlan-id
inbound acl-rule
monitor-interface
1-42
Remarks
—
—
Required
—
Required
Remarks
—
—
Required
—
Required