3Com Switch 8800 Advanced Software V5 Configuration Guide
868 CHAPTER 68: TRAFFIC MIRRORING CONFIGURATION
■ After configuring the action of mirroring traffic to a port in traffic behavior
view, configure a policy in policy view to associate the traffic behavior with a
traffic class, and then apply the policy to an interface.
Mirroring Traffic to the
CPU
Follow these steps to mirror traffic to the CPU
n
After configuring the action of mirroring traffic to the CPU in traffic behavior view,
configure a policy in policy view to associate the traffic behavior with a traffic
class, and then apply the policy to an interface.
Displaying and
Maintaining Traffic
Mirroring
Follow these steps to display and maintain traffic mirroring:
Traffic Mirroring
Configuration
Examples
Traffic Mirroring
Configuration Examples
(To a Port)
Network requirements
The user’s network is as described below:
■ PC is connected to Service A through Ethernet1/1/2.
■ Server with two network adapters installed is connected to Ethernet1/1/1 of
Switch A.
It is required that Server analyze and monitor all the packets with the source IP
address 1.1.1.1 that PC A forwards.
To do... Use the command... Remarks
Enter system view system-view -
Enter traffic behavior view traffic behavior behavior-name -
Configure the action of
mirroring traffic to the traffic
for the traffic behavior
mirror-to cpu Required
The CPU here refers to
the CPU of the module
where the interface
resides.
To do... Use the command... Remarks
Display the
configuration
information about
the user-defined
traffic behavior
display traffic behavior
user-defined [ behavior-name ]
Available in any view
Display the
configuration
information about
the user-defined
policy
display qos policy user-defined
[ policy-name [ classifier tcl-name
] ]