6-16
Parameters
as-regular-expression
: AS path regular expression, a string of 1 to 80 characters.
Description
Use the
display bgp paths
command to display information about BGP AS paths.
Examples
# Display information about BGP 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 6-4 display bgp paths
command output description
Field
Description
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 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).
Origin
?
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
]
View
Any view
Default Level
1: Monitor level
Parameters
ip-address
: IP address of an peer to be displayed, in dotted decimal notation.