display bgp mvpn routing-table statistics

Function

The display bgp mvpn routing-table statistics command displays the statistics of BGP Multicast Virtual Private Network (MVPN) routes.

Format

display bgp mvpn { all | route-distinguisher route-distinguisher } routing-table all-type statistics

display bgp mvpn { all | route-distinguisher route-distinguisher } routing-table type { 1 | 2 | 3 | 4 | 5 | 6 | 7 } statistics

display bgp mvpn vpn-instance vpn-instance-name routing-table all-type statistics

display bgp mvpn vpn-instance vpn-instance-name routing-table type { 1 | 2 | 3 | 4 | 5 | 6 | 7 } statistics

display bgp mvpn all routing-table peer ipv4-address { advertised-routes | received-routes } all-type statistics

display bgp mvpn all routing-table peer ipv4-address { advertised-routes | received-routes } type { 1 | 2 | 3 | 4 | 5 | 6 | 7 } statistics

display bgp mvpn all routing-table peer ipv6-address { advertised-routes | received-routes } all-type statistics

Parameters

Parameter Description Value
all

Displays all BGP MVPN routes.

-

route-distinguisher route-distinguisher

Displays BGP routes of the specified Route Distinguisher (RD).

The RD formats are as follows:

  • 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, 0:3 or 65537:3. An AS number ranges from 65536 to 4294967295. A user-defined number ranges from 0 to 65535. The AS number and the user-defined number cannot be 0s at the same time. 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. Generally, a 4-byte AS number in dotted notation is in the format of x.y, where x and y are both integers ranging from 0 to 65535. A user-defined number is an integer ranging from 0 to 65535. The AS number and the user-defined number cannot be 0s at the same time. That is, an RD cannot be 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-type

Displays all types of MVPN route statistics.

-

type 1

Displays intra-AS I-PMSI A-D route statistics.

-

2

Displays inter-AS I-PMSI A-D route statistics.

-

3

Displays S-PMSI A-D route statistics.

-

4

Displays Leaf A-D route statistics.

-

5

Displays Source Active A-D route statistics.

-

6

Displays Shared Tree Join C-multicast route statistics.

-

7

Displays Source Tree Join C-multicast route statistics.

-

vpn-instance vpn-instance-name

Displays the BGP routes 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.

peer ipv4-address

Displays statistics about routes of a specified peer.

It is in dotted decimal notation.

advertised-routes

Displays statistics about the routes advertised to a specified peer.

-

received-routes

Displays statistics about the routes learned from a specified peer.

-

ipv6-address

Specifies the address of the IPv6 peer to be displayed.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

To view the statistics of BGP Multicast Virtual Private Network (MVPN) routes, run this command.

Example

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

# Display statistics about intra-AS I-PMSI A-D routes of the VPN instance VPNA.
<HUAWEI> display bgp mvpn vpn-instance VPNA routing-table type 1 statistics
Total number of routes of IPv4-MVPN-family for vpn-instance VPNA: 3
# Display all types of MVPN route statistics.
<HUAWEI> display bgp mvpn all routing-table all-type statistics
Total number of routes from all PE: 5
    Number of Intra-AS I-PMSI A-D Routes: 3
    Number of Inter-AS I-PMSI A-D Routes: 0
    Number of S-PMSI A-D Routes: 0
    Number of Leaf A-D Routes: 0
    Number of Source Active A-D Routes: 0
    Number of Shared Tree Join Routes: 0
    Number of Source Tree Join Routes: 2

 Total number of routes of IPv4-MVPN-family for vpn-instance VPNA: 5
    Number of Intra-AS I-PMSI A-D Routes: 3
    Number of Inter-AS I-PMSI A-D Routes: 0
    Number of S-PMSI A-D Routes: 0
    Number of Leaf A-D Routes: 0
    Number of Source Active A-D Routes: 0
    Number of Shared Tree Join Routes: 0
    Number of Source Tree Join Routes: 2
Table 1 Description of the display bgp mvpn routing-table statistics command output
Item Description
Total number of routes from all PE

Number of routes received from provider edges (PEs) in the BGP MVPN routing table.

Total number of routes of IPv4-MVPN-family for vpn-instance VPNA

Number of the routes of the specified VPN instance in the BGP MVPN routing table.

Number of Intra-AS I-PMSI A-D Routes

Number of intra-AS I-PMSI A-D routes.

Number of Inter-AS I-PMSI A-D Routes

Number of inter-AS I-PMSI A-D routes.

Number of S-PMSI A-D Routes

Number of S-PMSI A-D routes.

Number of Leaf A-D Routes

Number of Leaf A-D routes.

Number of Source Active A-D Routes

Number of Source Active A-D routes.

Number of Shared Tree Join Routes

Number of Shared Tree Join routes.

Number of Source Tree Join Routes

Number of Source Tree Join routes.

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