- 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-IRDP 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-HTTP proxy commands
- Related Documents
-
Title | Size | Download |
---|---|---|
08-Multi-CPU packet distribution commands | 33.25 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 | per-packet }
undo forwarding policy
Default
The flow-based policy is used.
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.
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