HP VPN Firewall Appliances Network Management Command Reference

535
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.
ip-prefix-name: Specifies an IP prefix list by its name, a string of 1 to 19 characters.
verbose: Displays detailed information about all routes permitted by the IP prefix list. Without this
argument, the command displays only brief information about active routes permitted by the IP prefix list.
|: 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 is usually used together with routing policy display commands.
If the specified prefix list is not configured, this command displays detailed information about all routes
(with the verbose keyword) or brief information about all active routes (without the verbose keyword).
Examples
# Configure a prefix list named test, permitting routes with a prefix of 2.2.2.0 and a mask length between
24 and 32.
<Sysname> system-view
[Sysname] ip ip-prefix test permit 2.2.2.0 24 less-equal 32
# Display brief information about active routes permitted by the prefix list test.
[Sysname] display ip routing-table ip-prefix test
Routes Matched by Prefix list : test
Summary Count : 2
Destination/Mask Proto Pre Cost NextHop Interface
2.2.2.0/24 Direct 0 0 2.2.2.1 Vlan2
2.2.2.1/32 Direct 0 0 127.0.0.1 InLoop0
For command output, see Table 105.
# Display detailed information about all routes permitted by IP prefix list test.
[Sysname] display ip routing-table ip-prefix test verbose
Routes Matched by Prefix list test :
Summary Count : 2
Destination: 2.2.2.0/24
Protocol: Direct Process ID: 0
Preference: 0 Cost: 0
IpPrecedence: QosLcId: