display bgp mdt routing-table statistics

Function

The display bgp mdt routing-table statistics command displays the statistics of the BGP Multicast Distribution Tree (MDT) routes.

Format

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

Parameters

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:

  • 2-byte AS number:4-byte user-defined number, for example, 101:3. An AS number ranges from 0 to 65535. A user-defined number ranges from 0 to 4294967295. The AS number and the user-defined number cannot be 0s at the same time. That is, an RD cannot be 0:0.
  • Integral 4-byte AS number:2-byte user-defined number, for example, 65537:3. An AS number ranges from 65536 to 4294967295. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0:0.4-byte AS number in dotted notation:2-byte user-defined number, for example, 0.0:3 or 0.1:0.
  • 4-byte AS number in dotted notation is in the format of x.y, wherex and y are integers that range from 0 to 65535. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0.0:0.
  • IPv4-address:2-byte user-defined number, for example, 192.168.122.15:1. An IP address ranges from 0.0.0.0 to 255.255.255.255. A user-defined number ranges from 0 to 65535.
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.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

You can specify different parameters to view the statistics of specific routing information.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display statistics about BGP MDT routes with a specified RD.
<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
Table 1 Description of the display bgp mdt routing-table statistics command output
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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >