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.
Follow these steps to configure traffic mirroring globally:
To do...
Enter system view
Enter Ethernet port view of the
destination port
Define the current port as the
destination port
Exit current view
Reference ACLs for identifying
traffic flows and perform traffic
mirroring for packets that
match.
Follow these steps to configure traffic mirroring for a VLAN:
To do...
Enter system view
Enter Ethernet port view of the
destination port
Define the current port as the
destination port
Exit current view
Reference ACLs for identifying
traffic flows and perform traffic
mirroring for packets that
match.
Follow these steps to configure traffic mirroring for a port group:
To do...
Enter system view
Enter Ethernet port view of the
destination port
Define the current port as the
destination port
Exit current view
Enter port group view
Reference ACLs for identifying
traffic flows and perform traffic
mirroring for packets that
match.
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
Use the command...
system-view
interface interface-type
interface-number
monitor-port
quit
port-group group-id
mirrored-to inbound acl-rule
monitor-interface
1-30
Remarks
—
—
Required
—
Required
Remarks
—
—
Required
—
Required
Remarks
—
—
Required
—
—
Required