6-31
Default Level
1: Monitor level
Parameters
as-regular-expression
: AS path regular expression, a string of 1 to 80 characters.
Description
Use the
display bgp routing-table regular-expression
command to display BGP routing information
matching the specified AS path regular expression.
Examples
# Display BGP routing information with AS number ended with 300.
<Sysname> display bgp routing-table regular-expression 300$
BGP Local router ID is 20.20.20.1
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? – incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 40.40.40.0/24 30.30.30.1 0 0 300i
See
for description on the fields above.
display bgp routing-table statistic
Syntax
display bgp
routing-table statistic
View
Any view
Default Level
1: Monitor level
Parameters
None
Description
Use the
display bgp routing-table statistic
command to display BGP routing statistics.
Examples
# Display BGP routing statistics.
<Sysname> display bgp routing-table statistic
Total Number of Routes: 4
Table 6-12 display bgp routing-table statistic
command output description
Field
Description
Total number of routes
Total number of routes