- Table of Contents
-
- 04-Layer 3 Configuration Guide
- 00-Preface
- 01-ARP Configuration
- 02-IP Addressing Configuration
- 03-DHCP Configuration
- 04-DHCPv6 Configuration
- 05-DNS Configuration
- 06-IPv6 DNS Configuration
- 07-NAT Configuration
- 08-Adjacency Table Configuration
- 09-Flow Classification Configuration
- 10-IPv6 Basics Configuration
- 11-IP Performance Optimization Configuration
- 12-IP Routing Basics
- 13-Static Routing Configuration
- 14-IPv6 Static Routing Configuration
- 15-GRE Configuration
- 16-RIP Configuration
- 17-RIPng Configuration
- 18-Policy-Based Routing Configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
09-Flow Classification Configuration | 29.91 KB |
Configuring flow classification
Overview
Flow classification organizes packets with different characteristics into different classes by using certain match criteria. It is the basis for providing differentiated services.
For a multi-core device, the control plane and data plane run on different kernels and threads respectively. The data plane processes packets based on flows. A flow identifies packets with the same characteristics (identical quintuple) and processing procedure. The flow classification module marks every packet with a flow label before sending the packet to the data plane. When the data plane receives the first packet of a flow, a forwarding entry for the flow is created by the service module. Then, the subsequent packets can be forwarded based on the forwarding entry to improve forwarding efficiency.
Enabling flow classification
Step |
Command |
Remarks |
1. Enter system view. |
system-view |
N/A |
2. Enable flow classification. |
flow-classification enable |
Optional. Enabled by default. |
Displaying and maintaining flow classification
Task |
Command |
Remarks |
Display the current flow classification policy. |
display forwarding policy [ | { begin | exclude | include } regular-expression ] |
Available in any view. |