Predecessor task
Before you configure a flow policy, you need to complete the following tasks:
Configuring Flow classification
Configuring stream behavior
Operation Steps
1. Execute the command system-viewand enter the system view.
2. Please choose the following configuration according to the actual needs:
on S5700li, S5700s-li, S2750, execute the command traffic policy policy-name, create a flow policy and enter the flow policy view, Or into an existing stream policy view.
L on S5720ei and S5720hi, execute command traffic policy policy-name [Match-order
{auto | config}], create a flow policy and enter the stream policy view, or enter the existing stream policy view. When you create a flow policy, if no rule match order is specified, the default rule match Order is config.
After you apply a flow policy, you can no longer use the command to modify the order in which the policy is sorted. You must first clear the app for the policy, and then recreate and specify the desired matching order.
3. Execute the command classifier classifier-name behavior behavior-name, configure the desired flow behavior for the specified stream classification in the flow policy, i.e. bind stream classification and flow behavior.
4. Execute the command quit and exit the stream policy view.
5. Execute the command quit and exit the system view.
Configure the Flow policy