The display bgp instance vpnv4 routing-table extcommunity command displays information about IPv4 routes with a specified extended community attribute in the BGP multi-instance VPNv4 address family view.
display bgp instance bgpName vpnv4 route-distinguisher strRd routing-table extcommunity [ { rt | soo } strExtCommunity ] &<1-33>
display bgp instance bgpName vpnv4 route-distinguisher strRd routing-table extcommunity [ { rt | soo } strExtCommunity ] &<1-33> match-any
display bgp instance bgpName vpnv4 route-distinguisher strRd routing-table extcommunity-filter { basic-extcomm-filter-number | advanced-extcomm-filter-number }
display bgp instance bgpName vpnv4 route-distinguisher strRd routing-table extcommunity-filter extcomm-filter-name
display bgp instance bgpName vpnv4 { route-distinguisher strRd | all | vpn-instance vpn-instance-name } routing-table statistics best
display bgp instance bgpName vpnv4 route-distinguisher strRd routing-table statistics extcommunity [ { rt | soo } strExtCommunity ] &<1-33>
display bgp instance bgpName vpnv4 route-distinguisher strRd routing-table statistics extcommunity [ { rt | soo } strExtCommunity ] &<1-33> match-any
display bgp instance bgpName vpnv4 route-distinguisher strRd routing-table statistics extcommunity-filter { basic-extcomm-filter-number | advanced-extcomm-filter-number }
display bgp instance bgpName vpnv4 route-distinguisher strRd routing-table statistics extcommunity-filter extcomm-filter-name
| Parameter | Description | Value | 
|---|---|---|
| route-distinguisher strRd | 
 Displays the BGP routes with the specified RD.  | 
The RD formats are divided into the following types: 
  | 
| rt | 
 Displays information about IPv4 routes with the route target (RT) extended community attribute.  | 
-  | 
| soo | 
 Displays information about IPv4 routes with the source of origin (SoO) extended community attribute.  | 
-  | 
| strExtCommunity | 
 Specifies the excommunity value. IP<X.X.X.X>:NN<0-65535> or AS<0-65535>:NN<0-4294967295> or AS<65536-4294967295>:NN<0-65535> or AS<0-65535>.<0-65535>:NN<0-65535>.  | 
The attribute is a BGP extended community attribute and can be expressed in any of the following formats: 
  | 
| instance bgpName | 
 Specifies a BGP multi-instance.  | 
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.  | 
| match-any | 
 Displays information about IPv6 routes with any of the specified extended community attributes.  | 
-  | 
| extcommunity-filter extcomm-filter-name | 
 Specifies the name of an extcommunity filter.  | 
The value is a string of 1 to 51 characters.  | 
| extcommunity-filter basic-extcomm-filter-number | 
 Specifies the number of an extcommunity filter.  | 
The value is an integer ranging from 1 to 199.  | 
| extcommunity-filter advanced-extcomm-filter-number | 
 Specifies the number of an advanced extcommunity filter.  | 
The value is an integer ranging from 200 to 399.  | 
| all | 
 Displays all BGP VPNv4 routes.  | 
-  | 
| vpn-instance vpn-instance-name | 
 Displays the BGP routes of a specified VPN instance.  | 
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.  | 
| statistics | 
 Displays statistics about routes advertised to or received from a specified peer.  | 
-  | 
| best | 
 Best,add-path and best-external routes number.  | 
-  | 
 The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp instance a vpnv4 route-distinguisher 11:11 routing-table extcommunity
 
 BGP Local router ID is 1.1.1.1
 Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete
 RPKI validation codes: V - valid, I - invalid, N - not-found
 Route Distinguisher: 200:1
 Total Number of Routes: 1
        Network            NextHop                       MED        LocPrf    PrefVal ExtCommunity
 *>i    0.0.0.0/0          2.2.2.2                        0          100        0      RT <11 : 11>
    
 VPN-Instance vpna, Router ID 1.1.1.1:
 Total Number of Routes: 1
        Network            NextHop                       MED        LocPrf    PrefVal ExtCommunity
 *>i    0.0.0.0/0          2.2.2.2                        0          100        0      RT <11 : 11>
| Item | Description | 
|---|---|
| BGP Local router ID is | ID of the local BGP device. The ID is in the same format as an IPv4 address.  | 
| Route Distinguisher | Route distinguisher (RD) value of a route.  | 
| Total Number of Routes | Route statistics.  | 
| Network | Network address in the BGP routing table.  | 
| NextHop | Next-hop address for sending packets.  | 
| MED | MED of routes.  | 
| LocPrf | Local preference.  | 
| PrefVal | PrefVal of a protocol.  | 
| ExtCommunity | Extended community attribute of BGP.  |