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.
Action |
Command |
|---|---|
Check information about a peer group. |
display bgp group [ group-name ] |
Check routing information advertised by BGP. |
|
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. |
|
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. |
|
Check the parameter settings of BGP dampening. |
|
Check routes with different ASs. |
|
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. |