- 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-NAT66 commands
- 07-IP forwarding basics commands
- 08-Fast forwarding commands
- 09-Multi-CPU packet distribution commands
- 10-Adjacency table commands
- 11-IP performance optimization commands
- 12-UDP helper commands
- 13-IPv6 basics commands
- 14-DHCPv6 commands
- 15-IPv6 fast forwarding commands
- 16-AFT commands
- 17-Tunneling commands
- 18-GRE commands
- 19-ADVPN commands
- 20-WAAS commands
- 21-Web caching commands
- 22-HTTP proxy commands
- 23-IRDP commands
- 24-STUN commands
- Related Documents
-
Title | Size | Download |
---|---|---|
09-Multi-CPU packet distribution commands | 39.15 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 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.
|
NOTE: The enhance keyword takes effect only on the FIP-260, FIP-380, FIP-660, and SAP-XP4GE32 modules. |
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.
Usage guidelines
If you do not specify any keyword for flow identification, the device identifies a flow by source IP address, destination IP address, source port number, destination port number, and protocol number.
Examples
# Specify the flow-based policy.
<Sysname> system-view
[Sysname] forwarding policy per-flow