141
Description
Use display bgp paths to display information about BGP AS paths.
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 31 Command output
Field Descri
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 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
Syntax
display bgp peer [ ip-address { log-info | verbose } | group-name log-info | verbose ] [ | { begin |
exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
ip-address: IP address of an peer to be displayed, in dotted decimal notation.
group-name: Name of a peer group to be displayed, a string of 1 to 47 characters.
log-info: Displays the log information of the specified peer.
verbose: Displays the detailed information of the peer/peer group.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.