- Table of Contents
-
- 06-Layer 3 - IP Services Configuration Guide
- 00-Preface
- 01-ARP configuration
- 02-IP addressing configuration
- 03-DHCP configuration
- 04-DNS configuration
- 05-NAT configuration
- 06-IP forwarding basics configuration
- 07-Fast forwarding configuration
- 08-Flow classification configuration
- 09-Adjacency table configuration
- 10-IRDP configuration
- 11-IP performance optimization configuration
- 12-UDP Helper configuration
- 13-IPv6 basics configuration
- 14-DHCPv6 configuration
- 15-IPv6 fast forwarding configuration
- 16-Tunneling configuration
- 17-GRE configuration
- 18-ADVPN configuration
- 19-AFT configuration
- 20-WAAS configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
08-Flow classification configuration | 32.01 KB |
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.
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 |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Specify a flow classification policy. |
forwarding policy { per-flow | per-packet } |
By default, flow-based policy is used globally. |