3com 8807 User Guide

Page of 883
Displaying and Debugging BGP
383
Displaying and 
Debugging BGP
After the above configuration, execute the display command in any view to 
display the running of the BGP configuration, and to verify the effect of the 
configuration. Execute the reset command in user view to clear the statistics of 
the configuration. Execute the debugging command in user view to debug the 
configuration. Execute the reset command in user view to reset the statistic 
information of BGP.
Table 392   Display and debug BGP
Operation 
Command 
Display the routing information in 
BGP routing table 
display bgp routing-table [ ip-address [ mask ] ] 
Display filtered AS path information 
in the BGP 
display ip as-path-acl [ acl-number ] 
Display CIDR routes 
display bgp routing-table cidr 
Display the routing information of 
the specified BGP community 
display bgp routing-table community [ aa:nn ]* [ 
no-export-subconfed | no-advertise | no-export ]* [ 
whole-match ] 
Display the routing information 
allowed by the specified BGP 
community list 
display bgp routing-table community-list 
community-list-number [ whole-match ] 
Display BGP dampened paths 
display bgp routing-table dampened 
Display the routing information the 
specified BGP peer advertised or 
received 
display bgp routing-table peer peer-address { 
advertised | received } [ network-address [ mask ] | 
statistic ] 
Display the total number or route 
entries received or advertised by all 
BGP peers 
display bgp routing-table [ advertised | received ] 
statistic 
Display the routes matching with 
the specified access-list 
display bgp routing-table as-path-acl acl-number 
Display route flapping statistics 
information 
display bgp routing-table flap-info [ 
regular-expression as-regular-expression | 
as-path-acl acl-number | network-address [ mask [ 
longer-match ] ] ] 
Display routes from different source 
ASs 
display bgp routing-table different-origin-as 
Display peers information 
display bgp peer [ peer-address ] [ verbose ] 
Display the configured routing 
information 
display bgp network 
Display AS path information 
display bgp paths as-regular-expression 
Display peer group information 
display bgp group [ group-name ] 
Display the AS path information 
matching the specified regular 
expression 
display bgp routing-table regular-expression 
as-regular-expression 
Display configured route-policy 
information 
display route-policy [ route-policy-name ] 
Enable/disable debugging of all BGP 
packets 
undo ] debugging bgp all 
Enable/disable BGP event 
debugging 
undo ] debugging bgp event 
Enable/disable BGP Keepalive 
debugging 
undo ] debugging bgp keepalive [ receive | send ] 
verbose ]