
273
received-routes
: Specifies the routing information received from the specified peer.
statistic
: Displays BGP VPNv4 route statistics.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
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, which is a case-sensitive string of 1 to 256 characters.
regular-expression
as-regular-expression
: Displays routing information matching the specified AS_PATH
regular expression.
Examples
# Display all BGP VPNv4 routing information.
<Sysname> display bgp vpnv4 all routing-table
BGP Local router ID is 2.2.2.2
Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total number of routes from all PE: 2
Route Distinguisher: 100:1
Network NextHop In/Out Label
MED LocPrf
* i 10.0.0.0 1.1.1.1 1025 /NULL 0 100
*^ i 123.1.1.1/32 1.1.1.1 1024 /NULL 0 100
Total routes of vpn-instance vpn1: 5
Network NextHop In/Out Label MED LocPrf
*^>i 10.0.0.0 1.1.1.1 0 100
* > 10.1.1.0/24 0.0.0.0 NULL /1025 0
* > 20.0.0.0 10.1.1.1 NULL /1026 0
* >i 123.1.1.1/32 1.1.1.1 0 100
* > 124.1.1.1/32 0.0.0.0 NULL /1024 0
# Display the detailed information of the BGP VPNv4 routes with the prefix being 1.1.1.2 /32.
<Sysname> display bgp vpnv4 all routing-table 1.1.1.2 32
BGP local router ID : 3.3.3.9
Local AS number : 100
Route Distinguisher: 100:1