3Com Switch 8800 Advanced Software V5 Configuration Guide
68
TRAFFIC MIRRORING CONFIGURATION
When configuring traffic classification and traffic shaping, go to these sections for
information you are interested in:
■ “Traffic Mirroring Overview” on page 867
■ “Configuring Traffic Mirroring” on page 867
■ “Displaying and Maintaining Traffic Mirroring” on page 868
■ “Traffic Mirroring Configuration Examples” on page 868
Traffic Mirroring
Overview
Traffic mirroring means to copy packets matching specific traffic classification rules
to the specified destination for packet analysis and monitoring.
You can configure to mirror traffic to a port or the CPU.
■ Mirroring traffic to a port: copies the matching packets on a port and forwards
these packets to the destination port.
■ Mirroring traffic to the CPU: copies the matching packets on an interface and
forwards these packets to the CPU (the CPU of the module where the traffic
mirroring-enabled interface resides).
Configuring Traffic
Mirroring
To configure traffic mirroring, you must enter the view of an existing traffic
behavior.
n
■ In a traffic behavior, the action of mirroring traffic to a port is mutually
exclusive with the action of mirroring traffic to the CPU.
■ C-type modules support only the action of mirroring traffic to the CPU.
■ Traffic cannot be mirrored to the ports of the 3C17526, 3C17532, and
3C17538 modules.
Mirroring Traffic to a
Port
Follow these steps to mirror traffic to a port:
n
■ If the mirror-to interface command is executed multiple times, the new
command overwrites the previous command.
To do... Use the command... Remarks
Enter system view system-view -
Enter traffic behavior view traffic behavior behavior-name -
Configure the destination port
for traffic mirroring
mirror-to interface interface-type
interface-number
Required