display bgp flow vpnv4 routing-table statistics

Function

The display bgp flow vpnv4 routing-table statistics command displays statistics about BGP VPN Flow Specification routes and BGP VPNv4 Flow Specification routes.

Format

display bgp flow vpnv4 { all | route-distinguisher route-distinguisher } routing-table statistics

display bgp flow vpnv4 all routing-table peer ipv4-address advertised-routes statistics

display bgp flow vpnv4 all routing-table peer ipv4-address received-routes statistics

display bgp flow vpnv4 all routing-table peer ipv4-address received-routes active statistics

Parameters

Parameter Description Value
all

Displays information about all the routes in the specified address family.

-

route-distinguisher route-distinguisher

Displays statistics about routes with the specified 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 and from 0 to 65535, respectively. 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.
peer ipv4-address

Specifies an IPv4 address.

The value is in dotted decimal notation.

advertised-routes

Displays information about routes advertised to a specified peer.

-

received-routes

Displays information about routes received from a specified peer.

-

active

Displays information about the active routes received from a specified peer.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

The display bgp flow vpnv4 routing-table statistics command displays statistics about BGP VPN Flow Specification routes and BGP VPNv4 Flow Specification routes.

Example

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

# Display statistics about BGP VPNv4 Flow Specification routes with the specified RD.
<HUAWEI> display bgp flow vpnv4 route-distinguisher 200:1 routing-table statistics
Route Distinguisher: 200:1
 
 Total Number of Routes: 1
# Display statistics about all BGP VPN Flow Specification routes and BGP VPNv4 Flow Specification routes.
<HUAWEI> display bgp flow vpnv4 all routing-table statistics
Total number of routes from all PE: 1

 VPN-Instance vpna, Router ID 10.1.1.2:

 Total Number of Routes: 1
Table 1 Description of the display bgp flow vpnv4 routing-table statistics command output
Item Description
Route Distinguisher

Route distinguisher (RD) of a route.

Total Number of Routes

Number of BGP Flow Specification routes.

Total number of routes from all PE

Number of routes from all Pes.

Router ID

Router ID.

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