F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
270
IP forwarding mode configuration commands
The following matrix shows the feature and hardware compatibility:
Hardware IP forwardin
g
mode
com
p
atible
F1000-A-EI/F1000-S-EI No
F1000-E Yes
F5000 No
Firewall module Yes
U200-A Yes
U200-S Yes
ip forwarding
Use ip forwarding to specify an IP forwarding mode.
Syntax
ip forwarding { per-flow | per-packet }
Default
The mode is per-packet.
Views
System view
Default command level
2: System level
Parameters
per-flow: Flow-based mode. The device forwards flows with the same 5-tuple elements (source IP address,
destination IP address, source port number, destination port number, and protocol number) to a same
CPU for processing. This mode takes the first-in first-out rule.
per-packet: Packet-based mode. The device forwards packets in sequence to different CPUs for
processing, even though they are the same flow. This mode does not ensure packet order.
Usage guidelines
To make the IP forwarding mode modification take effect, reboot the device.
Examples
# Specify the IP forwarding mode as per-flow.
<Sysname> System-view
[Sysname] ip forwarding per-flow
The operation succeeds, please reboot to take effect.