06-Layer 3—IP Services Command Reference

HomeSupportReference GuidesCommand ReferencesH3C SecPath LB Command Reference(V7)(RXX60 E1160)-6W60006-Layer 3—IP Services Command Reference
08-Multi-CPU packet distribution commands
Title Size Download
08-Multi-CPU packet distribution commands 41.11 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 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 matrix shows the support of hardware platforms for the three-tuple keyword:

 

Series

Models

Parameter compatibility

L5000 series

L5000-C, L5000-S

No

L5000-E, L5030, L5060, L5080, L5000-AK535

Yes

L1000 series

L1000-C, L1000-S, L1000-M, L1000-E, L1000-AK310, L1000-AK315, L1000-AK320, L1000-AK325, L1000-AK330, L1000-AK390, L1030, L1050, L1070, L1090

No

L100 series

L100-C

Yes

Modules

LSU1ADECEA0, LSWM1ADED0, LSQM1ADEDSC0

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.

The following compatibility matrix shows the support of hardware platforms for the mode keyword:

 

Series

Models

Parameter compatibility

L5000 series

L5000-C, L5000-S

No

L5000-E, L5030, L5060, L5080, L5000-AK535

Yes

L1000 series

L1000-C, L1000-S, L1000-M, L1000-E, L1000-AK310, L1000-AK315, L1000-AK320, L1000-AK325, L1000-AK330, L1000-AK390, L1030, L1050, L1070, L1090

No

L100 series

L100-C

Yes

Modules

LSU1ADECEA0, LSWM1ADED0, LSQM1ADEDSC0

Yes

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

  • 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
新华三官网