- 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-IP forwarding basics commands
- 06-Fast forwarding commands
- 07-Multi-CPU packet distribution commands
- 08-Adjacency table commands
- 09-IRDP commands
- 10-IP performance optimization commands
- 11-UDP helper commands
- 12-IPv6 basics commands
- 13-IPv6 neighbor discovery commands
- 14-DHCPv6 commands
- 15-IPv6 fast forwarding commands
- 16-WAAS commands
- 17-HTTP redirect commands
- 18-Web caching commands
- Related Documents
-
Title | Size | Download |
---|---|---|
07-Multi-CPU packet distribution commands | 35.24 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 device forwards packets of the same flow to the same CPU. This policy takes the first-in first-out rule.
per-packet: Specifies the packet-based forwarding. The device forwards packets in sequence to different CPUs. This policy does not ensure packet order.
Examples
# Specify the packet-based policy.
<Sysname> system-view
[Sysname] forwarding policy per-packet
# Specify the flow-based policy.
<Sysname> system-view
[Sysname] forwarding policy per-flow