R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)
194
Flow classification commands
The following matrix shows the support of MSR routers for the flow classification commands:
Hardware Command com
p
atibilit
y
MSR2000 No
MSR3000 Yes
MSR4000 Yes
forwarding policy
Use forwarding policy to specify a flow classification policy.
Use undo forwarding policy to restore the default.
Syntax
forwarding policy { per-flow | per-packet }
undo forwarding policy
Default
The flow-based policy is used.
Views
System view
Predefined user roles
network-admin
Parameters
per-flow: Specifies the flow-based forwarding. The device forwards packets of the same flow to the same
CPU. A data flow is defined by 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.
per-packet: Specifies the packet-based forwarding. The device forwards packets in sequence to different
CPUs, even though they are the same flow. This policy does not ensure packet order.
Examples
# Specify the packet-based policy.
<Sysname> system-view
[Sysname] forwarding policy per-packet
# Specify the flow-based policy.
<Sysname> system-view
[Sysname] forwarding policy per-flow