HP VPN Firewall Appliances Network Management Command Reference

269
Examples
# Specify the IP forwarding mode as flow-based.
<Sysname> System-view
[Sysname] ip forwarding per-flow
The operation succeeds, please reboot to take effect.
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 Getting Started 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.