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…

Use the command…

Remarks

Enter system view

system-view

 

 

 

Enter Ethernet port view of the

interface interface-type

destination port

interface-number

 

 

 

 

Define the current port as the

monitor-port

Required

destination port

 

 

 

 

 

Exit current view

quit

 

 

 

Reference ACLs for identifying

 

 

traffic flows and perform traffic

mirrored-to inbound acl-rule

Required

mirroring for packets that

monitor-interface

 

match.

 

 

 

 

 

Follow these steps to configure traffic mirroring for a VLAN:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

Enter Ethernet port view of the

interface interface-type

destination port

interface-number

 

 

 

 

Define the current port as the

monitor-port

Required

destination port

 

 

 

 

 

Exit current view

quit

 

 

 

Reference ACLs for identifying

mirrored-to vlan vlan-id

 

traffic flows and perform traffic

Required

inbound acl-rule

mirroring for packets that

monitor-interface

 

match.

 

 

 

 

 

 

Follow these steps to configure traffic mirroring for a port group:

 

To do…

 

Use the command…

 

Remarks

 

Enter system view

 

system-view

 

 

 

 

 

 

 

 

Enter Ethernet port view of the

 

interface interface-type

 

 

destination port

 

interface-number

 

 

 

 

 

 

 

 

 

 

 

 

Define the current port as the

 

monitor-port

 

Required

 

destination port

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Exit current view

 

quit

 

 

 

 

 

 

 

 

Enter port group view

 

port-group group-id

 

 

 

 

 

 

 

 

Reference ACLs for identifying

 

 

 

 

 

traffic flows and perform traffic

 

mirrored-to inbound acl-rule

Required

 

mirroring for packets that

monitor-interface

 

 

 

 

match.

 

 

 

 

 

 

 

 

 

 

1-30

Page 391
Image 391
3Com WX3000 operation manual Monitor-port, Mirrored-to inbound acl-rule, Monitor-interface, Mirrored-to vlan vlan-id