Configuring traffic mirroring – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 373

Advertising
background image

37-29

Configuration example

Enable the burst function on the devicees.

Configuration procedure:

<device> system-view

[device] burst-mode enable

Configuring Traffic Mirroring

Refer to

Traffic mirroring

for information about traffic mirroring.

Configuration prerequisites

z

The ACL rules for traffic classification are defined. Refer to ACL in H3C WX3000 Series Unified

Switches Switching Engine Configuration Guide

for information about defining ACL rules.

z

The source mirroring ports and mirroring direction are determined.

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.

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 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

monitor-interface

Required

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 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

monitor-interface

Required

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 destination
port

interface

interface-type

interface-number

Advertising