beautypg.com

49 traffic mirroring configuration, Overview, Configuring traffic mirroring – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 454: 1 configuring traffic mirroring, Traffic mirroring configuration

background image

49-1

49

Traffic Mirroring Configuration

When configuring traffic mirroring, go to these sections for information that you are interested in:

z

Overview

z

Configuring Traffic Mirroring

z

Displaying and Maintaining Traffic Mirroring

z

Traffic Mirroring Configuration Examples

Overview

Traffic mirroring is to replicate the specified packets to the specified destination. It is generally used for
testing and troubleshooting the network. .

Depending on different types of mirroring destinations, there are three types of traffic mirroring:

z

Mirroring to port: The desired traffic on a mirrored port is replicated and sent to a destination port
(that is, a mirroring port).

z

Mirroring to CPU: The desired traffic on a mirrored port is replicated and sent to the CPU on the
board of the port for further analysis.

z

Mirroring to VLAN: The desired traffic on a mirrored port is replicated and sent to a VLAN, where
the traffic is broadcast and all the ports (if available) in the VLAN will receive the traffic. If the
destination VLAN does not exist, you can still configure the function, and the function will
automatically take effect after the VLAN is created and a port is added to it.

On the H3C WX6103 access controller switch interface boards, traffic can only be mirrored to ports and
to CPU.

Configuring Traffic Mirroring

To configure traffic mirroring, you must enter the view of an existing traffic behavior.

Follow these steps to configure traffic mirroring to a port:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter traffic behavior view

traffic behavior

behavior-name

Required

Configure traffic mirroring action in
the traffic behavior

mirror-to

{ cpu | interface interface-type

interface-number

}

Required