User's Manual

Table Of Contents
463
Users Manual of CS-6306R
45.4.3.1 Clearing BGP routing table and database
Run the following command in management mode to perform relative tasks about clearing high-speed cache,
table or BGP database.
Command Purpose
clear ip bgp *
Resets all BGP connections.
clear ip bgp as-number
Resets the BGP connection of the
designated autonomous system.
clear ip bgp address
Resets the BGP connection of the
designated neighbor.
clear ip bgp address soft in|out
Clears the incoming or outgoing
database of the designated neighbor.
clear ip bgp aggregates
Clears the routes generated during
route aggregation.
clear ip bgp networks
Clears the routes generated by the
network command.
clear ip bgp redistribute
Clears the routes generated in the
forwarding process.
45.4.3.2 Displaying routing table and system statistics information
The detailed statistics information such as the BGP routing table and the database content can be displayed.
These statistics information helps you to fully use network resources and resolve network problems.
Run the following command to display different kinds of statistics information:
Command Purpose
show ip bgp
Displays the BGP routing table in the
system.
show ip bgp prefix
Displays the routs that match the
prefix-matched list.
show ip bgp community
Displays the statistics information about
the community attribute.
show ip bgp regexp
regular-expression
Displays the routes that match the
regular expression.
show ip bgp network
Displays the designated BGP route.
show ip bgp neighbors address
Displays the detailed information about
the TCP connection and BGP
connection of the designated neighbor.
show ip bgp neighbors [address]
[received-routes | routes |
advertised-routes]
Displays the routes learned from a
special BGP neighbor.
show ip bgp paths
Displays all BGP path information in the