F3215-HP Load Balancing Module Network Management Command Reference-6PW101
97
IP forwarding mode configuration commands
display ip forwarding mode
Use display ip forwarding mode to display forwarding modes being used and to be used after reboot.
Syntax
display ip forwarding mode [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see System Management Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display forwarding modes being used and to be used after reboot.
<Sysname> display ip forwarding mode
Current forwarding mode is per-packet.
Next forwarding mode is per-flow after reboot.
ip forwarding per-flow
Use ip forwarding per-flow to specify the flow-based mode.
Use undo ip forwarding per-flow to restore the default.
Syntax
ip forwarding per-flow
undo ip forwarding per-flow
Default
The packet-based mode is used.
Views
System view
Default command level
2: System level