R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

128
Ste
p
Command
1. Enter system view.
system-view
2. Apply a QoS policy to a VLAN.
qos vlan-policy policy-name vlan vlan-id-list { inbound
| outbound }
For more information about the qos vlan-policy command, see ACL and QoS Command Reference.
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 48:
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,. 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 traffic that the technical department
sends to access the Internet and the IP traffic that the technical department sends to the marketing
department.