HP VPN Firewall Appliances Network Management Command Reference

525
Basic IP routing commands
display ip routing-table
Use display ip routing-table to display brief information about active routes in the routing table.
Use display ip routing-table verbose to display detailed information about all routes in the routing table.
Syntax
display ip routing-table [ vpn-instance vpn-instance-name ] [ verbose ] [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
vpn-instance vpn-instance-name: Specifies a VPN by its name, a case-sensitive string of 1 to 31
characters. Without this option, the command displays routing information for the public network.
verbose: Displays detailed information about all routes, including both active and inactive routes.
Without this keyword, the command displays only brief information about active routes.
|: 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
This command displays brief information about a routing table, with a routing entry contained in one line.
The information displayed includes destination IP address/mask length, protocol, priority, cost, next hop
and output interface. This command displays only the optimal routes in use.
This command displays detailed information about all active and inactive routes, including the statistics
of the entire routing table and information for each route.
Examples
# Display brief information about active routes in the routing table.
<Sysname> display ip routing-table
Routing Tables: Public
Destinations : 7 Routes : 7
Destination/Mask Proto Pre Cost NextHop Interface