display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics community-filter { basic-community-filter-number | advanced-community-filter-number }
display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics community-filter community-filter-name
display bgp vpnv6 route-distinguisher route-distinguisher routing-table community-filter { basic-community-filter-number | advanced-community-filter-number }
display bgp vpnv6 route-distinguisher route-distinguisher routing-table community-filter community-filter-name
display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics community [ community-number | aa:nn | internet | no-advertise | no-export | no-export-subconfed ] &<1-33>
display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics community [ community-number | aa:nn | internet | no-advertise | no-export | no-export-subconfed ] &<1-33> whole-match
display bgp vpnv6 route-distinguisher route-distinguisher routing-table community [ community-number | aa:nn | internet | no-advertise | no-export | no-export-subconfed ] &<1-33>
display bgp vpnv6 route-distinguisher route-distinguisher routing-table community [ community-number | aa:nn | internet | no-advertise | no-export | no-export-subconfed ] &<1-33> whole-match
display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics as-path-filter { as-path-filter-num | as-path-filter-name }
display bgp vpnv6 route-distinguisher route-distinguisher routing-table as-path-filter { as-path-filter-num | as-path-filter-name }
display bgp vpnv6 route-distinguisher route-distinguisher routing-table regular-expression as-regular-expression
display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics regular-expression as-regular-expression
display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics
display bgp vpnv6 route-distinguisher route-distinguisher routing-table
display bgp vpnv6 { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table ipv6-address [ prefix-length ]
display bgp vpnv6 route-distinguisher route-distinguisher routing-table different-origin-as
display bgp vpnv6 { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table statistics different-origin-as
display bgp vpnv6 route-distinguisher route-distinguisher routing-table community-filter basic-community-filter-number whole-match
display bgp vpnv6 route-distinguisher route-distinguisher routing-table community-filter community-filter-name whole-match
display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics community-filter basic-community-filter-number whole-match
display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics community-filter community-filter-name whole-match
display bgp vpnv6 { all | vpn-instance vpn-instance-name } routing-table statistics label
display bgp vpnv6 { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table statistics best
display bgp vpnv6 route-distinguisher route-distinguisher routing-table extcommunity [ { rt | soo } strExtCommunity ] &<1-33>
display bgp vpnv6 route-distinguisher route-distinguisher routing-table extcommunity [ { rt | soo } strExtCommunity ] &<1-33> match-any
display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics extcommunity [ { rt | soo } strExtCommunity ] &<1-33>
display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics extcommunity [ { rt | soo } strExtCommunity ] &<1-33> match-any
display bgp vpnv6 route-distinguisher route-distinguisher routing-table extcommunity-filter { basic-extcomm-filter-number | advanced-extcomm-filter-number }
display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics extcommunity-filter { basic-extcomm-filter-number | advanced-extcomm-filter-number }
display bgp vpnv6 route-distinguisher route-distinguisher routing-table extcommunity-filter extcomm-filter-name
display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics extcommunity-filter extcomm-filter-name
display bgp vpnv6 { all | vpn-instance vpn-instance-name } routing-table ipv6-address prefix-length longer-prefixes
display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics large-community [ aa:bb:cc ] &<1-33>
display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics large-community [ aa:bb:cc ] &<1-33> whole-match
display bgp vpnv6 route-distinguisher route-distinguisher routing-table large-community [ aa:bb:cc ] &<1-33>
display bgp vpnv6 route-distinguisher route-distinguisher routing-table large-community [ aa:bb:cc ] &<1-33> whole-match
display bgp vpnv6 route-distinguisher route-distinguisher routing-table large-community-filter large-community-filter-name
display bgp vpnv6 route-distinguisher route-distinguisher routing-table large-community-filter large-community-filter-name whole-match
display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics large-community-filter large-community-filter-name
display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics large-community-filter large-community-filter-name whole-match
display bgp vpnv6 { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table statistics active
Parameter | Description | Value |
---|---|---|
route-distinguisher route-distinguisher |
Specifies an RD of a remote route. |
The value is a string of 3 to 21 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. |
routing-table |
Displays the BGP routing table. |
- |
statistics |
Displays statistics of routes. |
- |
community-filter basic-community-filter-number |
Specifies the number of a basic community filter. |
The value is an integer ranging from 1 to 99. |
community-filter community-filter-name |
Specifies the name of a community filter. |
The value is a string of 1 to 51 case-sensitive characters. The string cannot be all digits. |
community-filter advanced-community-filter-number |
Specifies the number of an advanced community filter. |
The value is an integer ranging from 100 to 199. |
vpnv6 |
Indicates the VPNv6 address family. |
- |
community community-number |
Specifies a community number. |
The value is an integer ranging from 0 to 4294967295. |
community aa:nn |
Specifies a community number. |
The value is a string of 1 to 11 case-sensitive characters, spaces not supported. |
internet |
Indicates the Internet (well-known) community attribute. |
- |
no-advertise |
Indicates a community that prevents routes from being advertised to any peer. |
- |
no-export |
Indicates a community that prevents routes from being advertised outside an AS. |
- |
no-export-subconfed |
Indicates a community that prevents routes from being advertised outside a sub-AS. |
- |
whole-match |
Indicates exact match with the specified community. |
- |
as-path-filter as-path-filter-num |
Specifies an AS_Path filter index. |
The value is an integer ranging from 1 to 256. |
as-path-filter as-path-filter-name |
Specifies an AS_Path filter name (a string of 1 to 51 characters, which cannot contain only digits.). |
The value is a string of 1 to 51 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
regular-expression as-regular-expression |
Displays the routes that match the regular expression. |
The value is a string of 1 to 80 characters. |
all |
Displays all information on VPNv6 and IPv6 VPN instances. |
- |
vpn-instance vpn-instance-name |
Specifies a VPN instance name. |
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. |
ipv6-address |
Specifies an IPv6 network address. |
The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
prefix-length |
Specifies an IP network prefix length. |
The value is an integer that ranges from 0 to 128. |
different-origin-as |
Displays the routes with the same destination address and mask but different origin AS numbers. |
- |
label |
Displays labeled route information. |
- |
best |
Displays statistics about best, Add-path, and best-external routes. |
- |
extcommunity |
Displays routes matching a specified ext-community. |
- |
rt |
Specifies a route target extended community. |
- |
soo |
Specifies the SoO extended community. |
- |
strExtCommunity |
Specifies the excommunity value. |
The attribute is a BGP extended community attribute and can be expressed in any of the following formats:
|
match-any |
Matches any specified extended communities. |
- |
extcommunity-filter extcomm-filter-name |
Specifies the name of an extcommunity filter. |
The value is a string of 1 to 51 case-sensitive characters. The string cannot be all digits. |
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. |
longer-prefixes |
Allows longer prefix match. |
- |
large-community aa:bb:cc |
Specifies a value of the Large-Community attribute. |
The value is in the format of a:b:c. The values of a, b, and c are integers ranging from 0 to 4294967295. |
large-community-filter large-community-filter-name |
Specifies a Large-Community list name. |
The value is a string of 1 to 51 case-sensitive characters. The string cannot be all digits. |
active |
Displays active routes. |
- |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp vpnv6 all routing-table statistics best
Total Number of Best Routes from All PE: 1
Total Number of Add-path Routes from All PE: 0
Total Number of Best-external Routes from All PE: 1
VPN-Instance vrf1, Router ID 10.10.1.1:
Total Number of Best Routes: 1
VPN-Instance vrf2, Router ID 10.10.1.1:
Total Number of Best Routes: 1
<HUAWEI> display bgp vpnv6 all routing-table statistics active
Total number of routes from all PE: 2
VPN-Instance vrf1, router ID 10.10.1.1:
Total Number of Prefix Advertised to RM : 2
Total Number of Active Route : 2
<HUAWEI> display bgp vpnv6 all routing-table 2001:db8:1::1 BGP local router ID : 10.1.1.1 Local AS number : 100 Total routes of Route Distinguisher(14:17): 1 BGP routing table entry information of 2001:db8:1::1/128: Label information (Received/Applied): 5562/NULL From: 10.1.1.1 (10.1.1.1) Route Duration: 0d14h06m17s Relay IP Nexthop: 172.16.1.1 Relay IP Out-Interface: GigabitEthernet0/1/1 Relay Tunnel Out-Interface: GigabitEthernet0/1/1 Original nexthop: ::FFFF:10.2.1.1 Qos information : 0x0 Ext-Community: RT <200 : 1> AS-path 200, origin incomplete, MED 0, localpref 100, pref-val 0, valid, internal, best, select, pre 255, IGP cost 10400 Originator: 10.5.1.1 Cluster list: 10.5.1.2 Not advertised to any peer yet
<HUAWEI> display bgp vpnv6 all routing-table 2001:DB8:2:3:: ext-community
Routes of vpn-instance vrf2:
BGP routing table entry information of 2001:DB8:2:3::/64:
From: 2001:DB8:42:4::7:7
<HUAWEI> display bgp vpnv6 all routing-table 2001:db8:1::1 BGP local router ID : 10.1.1.1 Local AS number : 100 Total routes of Route Distinguisher(14:17): 1 BGP routing table entry information of 2001:db8:1::1/128: Label information (Received/Applied): 5562/NULL From: 10.1.1.1 (10.1.1.1) Route Duration: 0d14h06m17s Relay IP Nexthop: 172.16.1.1 Relay IP Out-Interface: GigabitEthernet0/1/1 Relay Tunnel Out-Interface: GigabitEthernet0/1/1 Original nexthop: ::FFFF:10.2.1.1 Qos information : 0x0 Ext-Community: RT <200 : 1> IPv6 Ext-community: Import RT <3::3 : 1> AS-path 200, origin incomplete, MED 0, localpref 100, pref-val 0, valid, internal, best, select, pre 255, IGP cost 10400 Originator: 10.5.1.1 Cluster list: 10.5.1.2 Not advertised to any peer yet
Item | Description |
---|---|
Total number of routes from all PE | Number of routes received from all PEs in the routing table. |
Total Number of Best Routes from All PE | Number of Best routes. |
Total Number of Add-path Routes from All PE | Number of Add-Path routes. |
Total Number of Best-external Routes from All PE | Number of Best-external routes. |
Route Distinguisher | Route distinguisher. |
BGP local router ID | ID of the local BGP device, in the same format as an IPv4 address. |
AS-path | AS_Path attribute. Nil indicates that the attribute value is null. |
MED | Metric of a route. The default value is 0. |
Cluster list | Cluster_List. |
IPv6 Ext-community | IPv6 extended community attribute. |
From | Source peer that sent the route. |
Originator | Router ID of the route initiator. |
Ext-Community | Extended community attribute. |
Community | Community attribute. |
Pre | Preference of a route. |