< Home

Viewing BGP Routing Information

After configuring BGP, you can run the display command to view BGP routing information.

You can run the following commands to view BGP routing information.

Table 1 Checking BGP routing information

Action

Command

Check information about a peer group.

display bgp group [ group-name ]

Check routing information advertised by BGP.

display bgp network

Check AS path information.

display bgp paths [ as-regular-expression ]

Check information about the BGP peer or peer group.

display bgp peer [ ipv4-address { log-info | verbose } ]

Check BGP routing information.

display bgp routing-table [ ipv4-address [ { mask | mask-length } [ longer-prefixes ] ] ]

Check BGP routing information that matches the specified AS path filtering list.

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

Check BGP routing information of CIDR.

display bgp routing-table cidr

Check BGP routing information that matches the specified BGP community.

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

Check routing information of BGP dampening.

display bgp routing-table dampened

Check the parameter settings of BGP dampening.

display bgp routing-table dampening parameter

Check routes with different ASs.

display bgp routing-table different-origin-as

Check statistics on BGP route flapping.

display bgp routing-table flap-info [ regular-expression as-regular-expression | as-path-filter as-path-filter-number | as-path-filter-name } | ipv4-address [ { mask | mask-length } [ longer-match ] ] }

Check routing information that matches an AS regular expression.

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

Check BGP routing statistics.

display bgp routing-table statistic

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