The display bgp mdt routing-table statistics command displays the statistics of the BGP Multicast Distribution Tree (MDT) routes.
display bgp mdt { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table statistics
display bgp mdt { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table statistics cidr
display bgp mdt { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table statistics different-origin-as
display bgp mdt { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table statistics as-path-filter { as-path-filter-number | as-path-filter-name }
display bgp mdt { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table statistics community-filter { basic-community-filter-number | advanced-community-filter-number | community-filter-name }
display bgp mdt { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table statistics community [ community-number | aa:nn | internet | no-advertise | no-export | no-export-subconfed ] &<1-33>
display bgp mdt { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table statistics community [ community-number | aa:nn | internet | no-advertise | no-export | no-export-subconfed ] &<1-33> whole-match
display bgp mdt { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table statistics regular-expression as-regular-expression
display bgp mdt { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table statistics community-filter { basic-community-filter-number | community-filter-name } whole-match
display bgp mdt { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table statistics large-community [ aa:bb:cc ] &<1-33>
display bgp mdt { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table statistics large-community [ aa:bb:cc ] &<1-33> whole-match
display bgp mdt { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table statistics large-community-filter large-community-filter-name
display bgp mdt { route-distinguisher route-distinguisher | all | vpn-instance vpn-instance-name } routing-table statistics large-community-filter large-community-filter-name whole-match
Parameter | Description | Value |
---|---|---|
route-distinguisher route-distinguisher |
Displays BGP routing information of the specified Route Distinguisher (RD). |
The RD formats are divided into the following types:
|
all |
Displays all the BGP routes of MDT. |
- |
vpn-instance vpn-instance-name |
Displays the BGP routing information of the 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. |
cidr |
Displays the information about the Classless Inter-Domain Routing (CIDR). |
- |
different-origin-as |
Displays routes that have the same destination address but different source AS numbers. |
- |
as-path-filter |
Displays the routes that match the specified filter. |
- |
as-path-filter-number |
Specifies the number of the matched AS_Path filter. |
It is an integer that ranges from 1 to 256. |
as-path-filter-name |
Specifies the name of the matching AS_Path filter. |
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. |
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 the 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. |
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 |
Displays the BGP public network routes carrying the internet community attribute. |
- |
no-advertise |
Displays the BGP public network routes carrying the No-Advertise community attribute. |
- |
no-export |
Displays the BGP public network routes carrying the No-Export community attribute. |
- |
no-export-subconfed |
Displays the BGP public network routes carrying the No-Export-Subconfed community attribute. |
- |
whole-match |
Indicates exact matching. |
- |
regular-expression as-regular-expression |
Specifies the regular expression that AS_Path matched. |
The value is a string of 1 to 80 characters. |
large-community aa:bb:cc |
Specifies a value of the Large-Community attribute. |
The value is a string of 5 to 32 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. |
large-community-filter large-community-filter-name |
Specifies the name of a Large-Community filter. |
The value is a string of 1 to 51 case-sensitive characters, spaces not supported. |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp mdt route-distinguisher 100:1 routing-table statistics
Route Distinguisher: 100:1
Total Number of Routes: 2
Total number of routes of IPv4-MDT-family for vpn-instance BLUE: 2
Item | Description |
---|---|
Route Distinguisher | Route distinguisher. |
Total Number of Routes | The number of the routes in the BGP MDT routing table. |
Total number of routes of IPv4-MDT-family for vpn-instance BLUE | The number of the routes of the specified VPN instance in the BGP MDT routing table. |