- Table of Contents
-
- 07-Layer 3—IP Services Command Reference
- 00-Preface
- 01-ARP commands
- 02-IP addressing commands
- 03-DHCP commands
- 04-DNS commands
- 05-NAT commands
- 06-NAT66 commands
- 07-IP forwarding basics commands
- 08-Fast forwarding commands
- 09-Multi-CPU packet distribution commands
- 10-Adjacency table commands
- 11-IRDP commands
- 12-IP performance optimization commands
- 13-UDP helper commands
- 14-IPv6 basics commands
- 15-DHCPv6 commands
- 16-IPv6 fast forwarding commands
- 17-AFT commands
- 18-Tunneling commands
- 19-GRE commands
- 20-ADVPN commands
- 21-WAAS commands
- 22-Web caching commands
- Related Documents
-
Title | Size | Download |
---|---|---|
09-Multi-CPU packet distribution commands | 33.19 KB |
Multi-CPU packet distribution commands
forwarding policy
Use forwarding policy to specify a multi-CPU packet distribution policy.
Use undo forwarding policy to restore the default.
Syntax
forwarding policy { per-flow [ enhance ] | per-packet }
undo forwarding policy
Default
The device uses the flow-based policy.
Views
System view
Predefined user roles
network-admin
Parameters
per-flow: Specifies the flow-based forwarding. The CPU processes flow packets by following the first-in first-out rule.
enhance: Specifies the enhanced mode for flow processing. This mode improves the flow processing efficiency by using different CPUs to receive and forward packets of the same flow.
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 flow-based policy.
<Sysname> system-view
[Sysname] forwarding policy per-flow