< Home

display bgp vpnv6 routing-table statistics

Function

The display bgp vpnv6 routing-table statistics command displays statistics about BGP VPNv6 routes.

Product

Support

S5720-EI, S5720-HI, S5730-HI, S5731-S, S5731S-S, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H, and S6730-H

Supported

S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720-SI, S6720S-SI, S6730-S, and S6730S-S

Not supported

Format

display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics [ as-path-filter { as-path-filter-number | as-path-filter-name } | different-origin-as ]

display bgp vpnv6 { all | vpn-instance vpn-instance-name } routing-table statistics [ as-path-filter { as-path-filter-number | as-path-filter-name } | different-origin-as ]

display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics regular-expression as-regular-expression

display bgp vpnv6 { all | vpn-instance vpn-instance-name } routing-table statistics regular-expression as-regular-expression

display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics community [ community-number | aa:nn ] &<1-29> [ internet | no-advertise | no-export | no-export-subconfed ] * [ whole-match ]

display bgp vpnv6 { all | vpn-instance vpn-instance-name} routing-table statistics community [ community-number | aa:nn ] &<1-29> [ internet | no-advertise | no-export | no-export-subconfed ] * [ whole-match ]

display bgp vpnv6 route-distinguisher route-distinguisher routing-table statistics community-filter { { community-filter-name | basic-community-filter-number } [ whole-match ] | advanced-community-filter-number }

display bgp vpnv6 { all | vpn-instance vpn-instance-name } routing-table statistics community-filter { { community-filter-name | basic-community-filter-number } [ whole-match ] | advanced-community-filter-number }

display bgp vpnv6 all routing-table peer ipv4-address { advertised-routes | received-routes [ active ] } statistics

display bgp vpnv6 vpn-instance vpn-instance-name routing-table peer ipv6-address { advertised-routes | received-routes [ active ] } statistics

Parameters

Parameter Description Value

all

Displays statistics about all BGP VPNv6 routes.

-

route-distinguisher route-distinguisher

Displays BGP 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. A 4-byte AS number in dotted notation is in the format of x.y, where x 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.

vpn-instance vpn-instance-name

Displays statistics about the BGP routes of a specified VPN instance.

The value must be an existing VPN instance name.

as-path-filter

Displays the routes that match the specified filter.

-

as-path-filter-number

Specifies the number of the matching AS_Path filter.

The value is an integer that ranges from 1 to 256.

as-path-filter-name

Specifies the name of the matching AS_Path filter.

The name is a string of 1 to 51 case-sensitive characters without spaces. The string cannot be all numerals. When double quotation marks are used around the string, spaces are allowed in the string.

different-origin-as

Displays statistics about the routes that have the same destination address but different source AS numbers.

-

regular-expression as-regular-expression

Specifies the regular expression used to match the AS_Path information.

The value is a string of 1 to 80 characters.

community

Displays statistics about the routes carrying the specified BGP community attribute in the routing table.

-

community-number

Specifies the community number.

The value is an integer that ranges from 0 to 4294967295.

aa:nn

Specifies the community number.

Both aa and nn are integers ranging from 0 to 65535.

internet

Displays statistics about the BGP routes carrying the Internet community attribute.

-

no-advertise

Displays statistics about the BGP routes carrying the No-Advertise community attribute.

-

no-export

Displays statistics about the BGP routes carrying the No-Export community attribute.

-

no-export-subconfed

Displays statistics about the BGP routes carrying the No-Export-Subconfed community attribute.

-

whole-match

Indicates exact matching.

-

community-filter

Displays statistics about the routes that match a specified BGP community filter.

-

community-filter-name

Specifies the name of a community filter.

The name is a string of 1 to 51 case-sensitive characters without spaces.

basic-community-filter-number

Specifies the number of a basic community filter.

The value is an integer that ranges from 1 to 99.

advanced-community-filter-number

Specifies the number of an advanced community filter.

The value is an integer that ranges from 100 to 199.

peer ipv6-address

Displays statistics about the BGP routes of a specified peer.

-

advertised-routes

Displays statistics about the routes advertised to a specified peer.

-

received-routes

Displays statistics about the routes received from a specified peer.

-

active

Specifies the number of active routes.

-

peer ipv4-address

Displays the routing information for the specified BGP peer.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display bgp vpnv6 routing-table statistics command to check statistics about BGP VPNv6 routes.

Example

# Display statistics about BGP VPNv6 routes on the local device.
<HUAWEI> display bgp vpnv6 all routing-table statistics

 Total number of routes from all PE: 2

 VPN-Instance vpn1, Router ID 10.4.4.4 :

 Total Number of Routes: 2 

# Display statistics about the routes of an IPv6 address family-enabled VPN instance named vpn1 on the local device.

<HUAWEI> display bgp vpnv6 vpn-instance vpn1 routing-table statistics

 Total Number of Routes: 5

# Display statistics about the BGP VPNv6 routes received from peer 10.1.1.1.

<HUAWEI> display bgp vpnv6 all routing-table peer 10.1.1.1 received-routes statistics
  Received routes total: 1

# Display statistics about the VPNv6 routes that have the Internet community attribute and specified RD on the local device.

<HUAWEI> display bgp vpnv6 route-distinguisher 100:1 routing-table statistics community internet

 Total number of routes from all PE: 1

 VPN-Instance vpn1, Router ID 10.4.4.4 :

 Total Number of Routes: 2

# Display statistics about the BGP VPNv6 routes that match a specified community filter on the local device.

<HUAWEI> display bgp vpnv6 all routing-table statistics community-filter 1

 Total number of routes from all PE: 1

 VPN-Instance vpn1, Router ID 10.4.4.4 :

 Total Number of Routes: 2

# Display statistics about the BGP VPNv6 routes that match a specified AS_Path regular expression.

<HUAWEI> display bgp vpnv6 all routing-table statistics regular-expression 65420*

 Total number of routes from all PE: 1

 VPN-Instance vpn1, Router ID 10.4.4.4 :

 Total Number of Routes: 1

# Display statistics of BGP routes sent by the local device to peer 2000::1 of the IPv6 VPN instance named vpn1.

<HUAWEI> display bgp vpnv6 vpn-instance vpn1 routing-table peer 2000::1 received-routes statistics
  Received routes total: 2

# Display statistics about the IPv6 routes sent by the local device to peer 2000::1 in a VPN instance named vpn1.

<HUAWEI> display bgp vpnv6 vpn-instance vpn1 routing-table peer 2000::1 advertised-routes statistics
  Advertised routes total: 2

  Default originated : 0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >