Operation Manual – QoS
H3C S5500-EI Series Ethernet Switches
Chapter 7 Traffic Mirroring Configuration
7-2
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
7.3 Displaying and Maintaining Traffic Mirroring
To do…
Use the command…
Remarks
Display the configuration
information about the
user-defined traffic
behavior
display traffic behavior
user-defined
behavior-name
Display the configuration
information about the
user-defined policy
display qos policy
user-defined
policy-name
Available in any view
7.4 Traffic Mirroring Configuration Examples
7.4.1 Network Requirements
The user's network is as described below:
z
Host A (with the IP address 192.168.0.1) and Host B are connected to
GigabitEthernet1/0/1 of the switch.
z
The data monitoring device is connected to GigabitEthernet1/0/2 of the switch.
It is required to monitor and analyze packets sent by Host A on the data monitoring
device.
Switch
Data monitoring
device
Host A
GE1/0/1
GE1/0/2
Host B
192.168.0.1
Figure 7-1
Network diagram for configuring traffic mirroring to a port