User's Manual

460
61.4.1 Deleting the BGP Routing Table and the BGP Database.
The following table lists the tasks relative with high-speed cache deletion, table deletion or BGP database
deletion. The commands listed in the following table are all run in EXEC mode.
Command Purpose
clear ip bgp *
Resets all BGP connections.
clear ip bgp
as-number
Resets the BGP connections of the designated
autonomous system.
clear ip bgp
address
Resets the BGP connections of the designated
neighbor.
clear ip bgp
address soft
in|out
Deletes the incoming database or the outgoing
database of the designated neighbor.
clear ip bgp
aggregates
Deletes the routes generated in route aggregation.
clear ip bgp
networks
Deletes the routes generated during forwarding
process.
clear ip bgp
redistribute
Deleting the routes generated by the
network
command.
61.4.2 Displaying the Routing Table and the System Statistics Information
The detailed statistics information about the BGP routing table or the database will be displayed. The provided
information can decide resource utilization and help resolving network problems. The information about the
node reachability can also be displayed.
You can run the following commands to display all kinds of routing statistics information:
Command Purpose
show ip bgp
Displays the BGP routing table in the system.
show ip bgp prefix
Displays the routes which match the designated
prefix list.
show ip bgp community
Displays the statistics information about the group
attribute.
show ip bgp regexp
regular-expression
Displays the routes which match the designated
regular expression.
show ip bgp
network
Displays the designated BGP route.
show ip bgp neighbors
address
Displays the information about the TCP and the
BGP connections of the designated neighbor.