- Table of Contents
-
- 06-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-IP forwarding basics commands
- 07-Fast forwarding commands
- 08-Multi-CPU packet distribution commands
- 09-Adjacency table commands
- 10-IP performance optimization commands
- 11-UDP helper commands
- 12-IPv6 basics commands
- 13-DHCPv6 commands
- 14-IPv6 fast forwarding commands
- 15-AFT commands
- 16-Tunneling commands
- 17-GRE commands
- 18-ADVPN commands
- 19-WAAS commands
- 20-Web caching commands
- Related Documents
-
Title | Size | Download |
---|---|---|
08-Multi-CPU packet distribution commands | 38.04 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
mdc-admin
Parameters
per-flow: Specifies the flow-based forwarding. The CPU processing follows 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