243
Step
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
}
Applying a QoS policy globally
You can apply a QoS policy globally to mirror the traffic in the specified direction on all ports.
To apply a QoS policy globally:
Step
Command
1.
Enter system view.
system-view
2.
Apply a QoS policy globally.
qos apply policy
policy-name global
{
inbound
|
outbound
}
Applying a QoS policy to the control plane
You can apply a QoS policy to the control plane to mirror the traffic in the specified direction of all
ports on the control plane.
To apply a QoS policy to the control plane:
Step
Command
1.
Enter system view.
system-view
2.
Enter control plane view.
•
In standalone mode:
control-plane slot slot-number
•
In IRF mode:
control-plane
chassis
chassis-number
slot
slot-number
3.
Apply a QoS policy to the
control plane.
qos apply policy policy-name
{
inbound
|
outbound
}
Flow mirroring configuration example
Network requirements
As shown in
, configure flow 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 (8:00 to 18:00) on weekdays.
Summary of Contents for FlexNetwork 10500 SERIES
Page 224: ...213 ...
Page 311: ...300 Now the system can record log information to the specified file ...