< Home

display bgp routing-table statistics

Function

The display bgp routing-table statistics command displays the statistics of the BGP routes.

Format

display bgp routing-table statistics

display bgp routing-table statistics as-path-filter { as-path-filter-number | as-path-filter-name }

display bgp routing-table statistics cidr

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

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

display bgp routing-table statistics dampened

display bgp routing-table statistics different-origin-as

display bgp routing-table statistics regular-expression as-regular-expression

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

display bgp routing-table peer statistics

Parameters

Parameter Description Value
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 name is a string of 1 to 51 characters without any space. It is case-sensitive.
cidr Displays the information about the Classless Inter-Domain Routing (CIDR). -
community Displays the routing information of the specified BGP community attribute in the routing table. -
community-number Specifies the community number. It is an integer ranging from 0 to 4294967295.
aa:nn Specifies the community number. Both aa and nn are integers ranging from 0 to 65535.
internet Displays the BGP routes with Internet community attribute. -
no-advertise Displays the BGP routes with the No-Advertise community attribute. -
no-export Displays the BGP routes with the No-Export community attribute. -
no-export-subconfed Displays the BGP routes with the No-Export-Subconfed community attribute. -
whole-match Indicates exact matching. -
community-filter Displays the routing information that matches the specified BGP community filter. -
community-filter-name Specifies the name of the community filter. The name is a string of 1 to 51 characters. The string cannot be all numbers.
basic-community-filter-number Specifies the number of basic community filter. It is an integer ranging from 1 to 99.
advanced-community-filter-number Specifies the number of advanced community filter. It is an integer ranging from 100 to 199.
dampened Displays the statistics of BGP dampened routes. -
different-origin-as Displays the routes that have the same destination address but different source AS number. -
regular-expression as-regular-expression Indicates the matched AS regular expression. The value is a string of 1 to 80 characters.
peer ipv4-address Displays the routing information for the specified BGP peer. -
advertised-routes Displays the routes advertised to the specified peer. -
received-routes Displays the routes received from the specified peer. -
active Displays the active routes received from the specified peer. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None.

Example

# Display statistics of the BGP routing table.

<sysname> display bgp routing-table statistics

 Total Number of Routes: 4
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >