R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference
227
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 46 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—The route is interior to the AS. Summary routes and routes defined using the network
command are considered IGP routes.
• e—The 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.
Syntax
display bgp peer [ ip-address { log-info | verbose } | group-name log-info | verbose ] [ | { begin |
exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
ip-address: Specifies an IP address of an peer to be displayed, in dotted decimal notation.
group-name: Specifies the name of a peer group to be displayed, a string of 1 to 47 characters.
log-info: Displays the log information for the specified peer.
verbose: Displays detailed information about the peer/peer group.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration 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.










