display bgp routing-table regular-expression
Syntax
display bgp routing-table regular-expression
as-regular-expression
View
Any view
Default level
1: Monitor level
Parameters
as-regular-expression
: AS path regular expression, a string of 1 to 80 characters.
Description
Use
display bgp routing-table regular-expression
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, ^ - VPNv4 best, > - 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
For description of the fields, see
.
display bgp routing-table statistic
Syntax
display bgp
routing-table statistic
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
|
: 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.
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.
217