HP VPN Firewall Appliances Network Management Command Reference

533
|: 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.
Usage guidelines
Executing the command with different parameters yields different outputs:
display ip routing-table ip-address:
{ The system ANDs the input destination IP address with the subnet mask in each route entry.
{ The system ANDs the destination IP address in each route entry with its own subnet mask.
If the two operations yield the same result for an entry and this entry is active, it is displayed.
display ip routing-table ip-address mask:
{ The system ANDs the input destination IP address with the input subnet mask.
{ The system ANDs the destination IP address in each route entry with the input subnet mask.
If the two operations yield the same result for an entry and the entry is active with a subnet mask
less than or equal to the input subnet mask, the entry is displayed.
display ip routing-table ip-address longer-match:
{ The system ANDs the input destination IP address with the subnet mask in each route entry.
{ The system ANDs the destination IP address in each route entry with its own subnet mask.
If the two operations yield the same result for multiple entries that are active, the one with the
longest mask length is displayed.
display ip routing-table ip-address mask longer-match:
{ The system ANDs the input destination IP address with the input subnet mask.
{ The system ANDs the destination IP address in each route entry with the input subnet mask.
If the two operations yield the same result for multiple entries with a mask less than or equal to the
input subnet mask, the one that is active with the longest mask length is displayed.
Examples
# Display brief information about the routes with destination IP address 11.0.0.1.
<Sysname> display ip routing-table 11.0.0.1
Routing Table : Public
Summary Count : 3
Destination/Mask Proto Pre Cost NextHop Interface
11.0.0.0/8 Static 60 0 0.0.0.0 NULL0
11.0.0.0/16 Static 60 0 0.0.0.0 NULL0
11.0.0.0/24 Static 60 0 0.0.0.0 NULL0
# Display brief information about the routes with destination IP address 11.0.0.1 and mask length 20.
<Sysname> display ip routing-table 11.0.0.1 20
Routing Table : Public