- Table of Contents
-
- 07-Layer 3—IP Services Command Reference
- 00-Preface
- 01-IP addressing commands
- 02-IP forwarding basics commands
- 03-Fast forwarding commands
- 04-ARP commands
- 05-IPv6 basics commands
- 06-IPv6 fast forwarding commands
- 07-DHCP commands
- 08-DHCPv6 commands
- 09-DNS commands
- 10-IP performance optimization commands
- 11-Multi-CPU packet distribution commands
- 12-Adjacency table commands
- Related Documents
-
Title | Size | Download |
---|---|---|
11-Multi-CPU packet distribution commands | 40.79 KB |
Multi-CPU packet distribution commands
The following compatibility matrix shows the support of hardware platforms for multi-CPU packet distribution:
Hardware |
Multi-CPU packet distribution compatibility |
CSAP-NTA-100, CSAP-NTA-200, CSAP-NTA-AK375 |
No |
CSAP-NTA-300, CSAP-NTA-400, CSAP-NTA-500, CSAP-NTA-600 |
Yes |
CSAP-NTA-V200, CSAP-NTA-V1000 |
Yes |
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 [ three-tuple | mode { source-ip | destination-ip | source-port | destination-port } ] | per-packet }
undo forwarding policy
Default
The device uses the flow-based policy that identifies a flow by source IP address, destination IP address, source port number, destination port number, and protocol number.
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. The device identifies a data flow by source IP address, destination IP address, source port number, destination port number, and protocol number. The CPU processes flow packets by following the first-in first-out rule.
three-tuple: Identifies a data flow by the three-tuple (source IP address, destination IP address, and protocol number). If you do not specify this keyword, the device identifies a data flow by the five-tuple.
The following compatibility matrixes show the support of hardware platforms for this keyword:
Hardware |
Parameter compatibility |
CSAP-NTA-100, CSAP-NTA-200, CSAP-NTA-AK375 |
No |
CSAP-NTA-300, CSAP-NTA-400, CSAP-NTA-500, CSAP-NTA-600 |
Yes |
CSAP-NTA-V200, CSAP-NTA-V1000 |
No |
mode: Specifies a flow-based forwarding mode.
source-ip: Identifies a flow by source IP address.
destination-ip: Identifies a flow by destination IP address.
source-port: Identifies a flow by source port.
destination-port: Identifies a flow by destination port.
The following compatibility matrixes show the support of hardware platforms for the mode keyword:
Hardware |
Parameter compatibility |
CSAP-NTA-100, CSAP-NTA-200, CSAP-NTA-AK375 |
No |
CSAP-NTA-300, CSAP-NTA-400, CSAP-NTA-500, CSAP-NTA-600 |
Yes |
CSAP-NTA-V200, CSAP-NTA-V1000 |
No |
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