display bgp ipv6 routing-table statistics(Attribute Filter)

Function

The display bgp ipv6 routing-table statistics command displays statistics about BGP4+ public network routes based on specified multiple attribute filters.

Format

display bgp ipv6 routing-table statistics { as-path-filter { as-path-filter-num | as-path-filter-name } | community-filter { { community-filter-num | community-filter-numEx | community-filter-name } | { community-filter-num | community-filter-name } whole-match } | extcommunity-filter { basic-extcomm-flt-num | adv-extcomm-flt-num | extcommunity-filter-name } | large-community-filter largeComFilName [ whole-match ] } *

Parameters

Parameter Description Value
as-path-filter as-path-filter-num

Specifies the number of an AS_Path filter.

The value is an integer ranging from 1 to 256.

as-path-filter as-path-filter-name

Specifies the name of an AS_Path filter.

The value is a string of 1 to 51 case-sensitive characters, spaces not supported.

community-filter community-filter-name

Specifies the name of a community filter.

The value is a string of 1 to 51 case-sensitive characters. The string cannot be all digits.

community-filter community-filter-num

Specifies the number of a basic community filter.

The value is an integer ranging from 1 to 99.

community-filter community-filter-numEx

Specifies the number of an advanced community filter.

The value is an integer ranging from 100 to 199.

whole-match

Indicates exact match with the specified community filter.

-

whole-match

Indicates exact match with the specified large community filter.

-

extcommunity-filter basic-extcomm-flt-num

Specifies the number of a basic extcommunity filter.

The value is an integer ranging from 1 to 199.

extcommunity-filter adv-extcomm-flt-num

Specifies the number of an advanced extcommunity filter.

The value is an integer ranging from 200 to 399.

extcommunity-filter extcommunity-filter-name

Specifies the name of an extcommunity filter.

The value is a string of 1 to 51 characters.

large-community-filter largeComFilName

Specifies the name of a Large-Community filter.

The value is a string of 1 to 51 case-sensitive characters, spaces not supported.

statistics

Displays statistics about BGP routes.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

To query statistics about BGP4+ public network routes based on specified multiple attribute filters, run this command. Multiple attribute filters can be specified in this command for query.

Example

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

# Display BGP4+ public network routes statistics that match the AS path filter pas.
<HUAWEI> display bgp ipv6 routing-table statistics as-path-filter pas
 Total Number of Routes: 2
# Display BGP4+ public network routes statistics that match the community filter 10.
<HUAWEI> display bgp ipv6 routing-table statistics community-filter 10
 Total Number of Routes: 1
# Display BGP4+ public network routes statistics that match the extcommunity filter 50.
<HUAWEI> display bgp ipv6 routing-table statistics extcommunity-filter 50
 Total Number of Routes: 2
# Display BGP4+ public network routes statistics that match the large community filter aaa.
<HUAWEI> display bgp ipv6 routing-table statistics large-community-filter aaa
 Total Number of Routes: 2
# Display BGP4+ public network routes statistics that match the community filter 10 and large community filter aaa.
<HUAWEI> display bgp ipv6 routing-table statistics community-filter 10 large-community-filter aaa
 Total Number of Routes: 1
Table 1 Description of the display bgp ipv6 routing-table statistics(Attribute Filter) command output
Item Description
Total Number of Routes

Total number of routes in the routing table.

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