HP VPN Firewall Appliances Network Management Command Reference
459
Syntax
display bgp paths [ as-regular-expression | | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
as-regular-expression: Specifies an AS path regular expression, a string of 1 to 80 characters.
|: 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 information about BGP AS paths with AS number starting from 200.
<Sysname> display bgp paths ^200
Address Hash Refcount MED Path/Origin
0x5917100 11 1 0 200 300i
Table 96 Command output
Field Descri
p
tion
Address Route address in the local database, in dotted hexadecimal notation.
Hash Hash index.
Refcount Count of routes that reference the path.
MED MED of the path.
Path AS_PATH attribute of the path, recording the ASs it has passed to avoid routing loops.
Origin
Origin attribute of the path:
• i—Indicates that the route is interior to the AS. Summary routes and routes defined using
the network command are considered IGP routes.
• e—Indicates that a route is learned from the exterior gateway protocol (EGP).
• ?—Short for INCOMPLETE. It indicates that the origin of a route is unknown and the
route is learned by other means.
display bgp peer
Use display bgp peer to display peer/peer group information.