14-Layer 3—IP Services Command Reference

HomeSupportReference GuidesCommand ReferencesH3C SecPath F1000[F5000] Firewalls Series Command Reference(V7)(R9900)-6W10014-Layer 3—IP Services Command Reference
04-Multi-CPU packet distribution commands
Title Size Download
04-Multi-CPU packet distribution commands 45.18 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 [ 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

context-admin

Parameters

per-flow: Specifies the flow-based forwarding. The device identifies a data flow by the five-tuple, and forwards packets of the same flow to one CPU. 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.

Support for this parameter depends on the device model.

 

Series

Models

Parameter compatibility

F5000 series

F5000-AI-160-G, F5000-AI-130-G, F5000-AI-120-G, F5000-AI-110-G, F5000-AI-55-G, F5000-AI-15-G, F5000-CN160-G, F5000-E-G, F5000-AI160, F5000-CN160, F5000-CN-G55, F5080, F5030

Yes

F1000 series

F1000-AI-25

No

F1000-AK9130, F1000-AI-90, F1000-AI-90-G, F1000-AI-80-G, F1000-AI-75-G, F1000-AI-65-G, F1000-AI-55-G

Yes

 

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.

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.

Support for this parameter depends on the device model.

 

Series

Models

Parameter compatibility

F5000 series

F5000-AI-160-G, F5000-AI-130-G, F5000-AI-120-G, F5000-AI-110-G, F5000-AI-55-G, F5000-AI-15-G, F5000-CN160-G, F5000-E-G

No

F5000-AI160, F5000-CN160, F5000-CN-G55, F5080, F5030

Yes

F1000 series

F1000-AK9130, F1000-AI-90, F1000-AI-25, F1000-AI-90-G, F1000-AI-80-G, F1000-AI-75-G, F1000-AI-65-G, F1000-AI-55-G

Yes

 

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.

As a best practice, do not configure a packet distribution policy when you use the NAT or AFT service.

Examples

# Specify the flow-based policy.

<Sysname> system-view

[Sysname] forwarding policy per-flow

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us