Step
1.
Enter system view.
2.
Enter control plane view.
3.
Apply a QoS policy to the
control plane.
Flow mirroring configuration example
Network requirements
As shown in
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
•
(8:00 to 18:00) on weekdays.
Figure 66 Network diagram
Configuration procedure
# Create a working hour range named work, in which the working hour is from 8:00 to 18:00 on
weekdays.
system-view
[DeviceA] time-range work 8:00 to 18:00 working-day
# Create ACL 3000 to allow packets from the Technical department to access the Internet and to the
Marketing department during working hours.
[DeviceA] acl number 3000
[DeviceA-acl-adv-3000] rule permit tcp source 192.168.2.0 0.0.0.255 destination-port eq
www
[DeviceA-acl-adv-3000] rule permit ip source 192.168.2.0 0.0.0.255 destination
192.168.1.0 0.0.0.255 time-range work
Figure
66, configure flow mirroring so that the server can monitor the following traffic:
Command
system-view
control-plane slot slot-number
qos apply policy policy-name inbound
197