Configuring flow classification
To implement differentiated services, flow classification categorizes packets to be forwarded by a
multicore device according to one of the following flow classification policies:
•
Flow-based policy—Forwards packets of a flow to the same CPU. A data flow is defined by
using the following fields: source IP address, destination IP address, source port number,
destination port number, and protocol number. This policy takes the first-in first-out rule.
•
Packet-based policy—Forwards packets in sequence to different CPUs, even though they are
the same flow. This policy does not ensure packet order.
Feature and hardware compatibility
Hardware
MSR954(JH296A/JH297A/JH298A/JH299A/JH373A)
MSR958(JH300A/JH301A)
MSR1002-4/1003-8S
MSR2003
MSR2004-24/2004-48
MSR3012/3024/3044/3064
MSR4060/4080
Specifying a flow classification policy
IMPORTANT:
If a service requires packets of a flow to be received by the same CPU, you must use the flow-based
policy.
To specify a global flow classification policy:
Step
1.
Enter system view.
2.
Specify a flow
classification policy.
To specify an interface-specific flow classification policy:
Step
1.
Enter system view.
2.
Enter interface view
3.
Specify a flow
classification policy.
Command
system-view
forwarding policy { per-flow |
per-packet }
Command
system-view
interface interface-type
interface-number
forwarding policy { per-flow |
per-packet }
201
Flow classification compatibility
No
No
No
No
No
Yes
Yes
Remarks
N/A
By default, flow-based policy is used
globally.
Remarks
N/A
N/A
By default, flow-based policy is used on
an interface.
Need help?
Do you have a question about the FlexNetwork MSR Series and is the answer not in the manual?