R2511-HP MSR Router Series Network Management and Monitoring Configuration Guide(V5)
173
Displaying and maintaining traffic mirroring
Task Command Remarks
Display user-defined traffic
behavior configuration.
display traffic behavior user-defined
[ behavior-name ] [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display user-defined QoS policy
configuration.
display qos policy user-defined [ policy-name
[ classifier tcl-name ] ] [ | { begin | exclude |
include } regular-expression ]
Available in any view.
For more information about the display traffic behavior and display qos policy commands, see ACL and
QoS Command Reference.
Traffic mirroring configuration example
Network requirements
As shown in Figure 57, different departments of a company use IP addresses on different subnets. The
marketing and technical departments use the IP addresses on subnets 192.168.1.0/24 and
192.168.2.0/24, respectively. The working hours of the company are from 8:00 to 18:00 on weekdays.
Configure traffic mirroring so that the server can monitor the following traffic:
• All traffic that the technical department sends to access the Internet.
• IP traffic that the technical department sends to the marketing department during working hours.
Figure 57 Network diagram
Configuration procedure
1. Monitor the traffic sent by the technical department to access the Internet:
# Create ACL 3000 to allow packets from the technical department (on subnet 192.168.2.0/24)
to access the Internet.
<DeviceA> system-view










