Configuring BGP
Monitoring and Maintaining BGP
You can remove all contents of a particular cache, table, or database. This might be necessary when the
contents of the particular structure have become or are suspected to be invalid.
You can display specific statistics, such as the contents of BGP routing tables, caches, and databases.
You can use the information to determine resource utilization and solve network problems. You can also
display information about node reachability and discover the routing path your device's packets are
taking through the network.
Table 28-9
the display fields, refer to the Cisco IOS IP and IP Routing Command Reference for Release 12.1.
Table 28-12 IP BGP Clear and Show Commands
Command
clear ip bgp address
clear ip bgp *
clear ip bgp peer-group tag
show ip bgp prefix
show ip bgp cidr-only
show ip bgp community [community-number] [exact]
show ip bgp community-list community-list-number
[exact-match]
show ip bgp filter-list access-list-number
show ip bgp inconsistent-as
show ip bgp regexp regular-expression
show ip bgp
show ip bgp neighbors [address]
show ip bgp neighbors [address] [advertised-routes |
dampened-routes | flap-statistics | paths
regular-expression | received-routes | routes]
show ip bgp paths
show ip bgp peer-group [tag] [summary]
show ip bgp summary
You can also enable the logging of messages generated when a BGP neighbor resets, comes up, or goes
down by using the bgp log-neighbor changes router configuration command.
Catalyst 3750 Metro Switch Software Configuration Guide
28-62
lists the privileged EXEC commands for clearing and displaying BGP. For explanations of
Purpose
Reset a particular BGP connection.
Reset all BGP connections.
Remove all members of a BGP peer group.
Display peer groups and peers not in peer groups to which the
prefix has been advertised. Also display prefix attributes such as
the next hop and the local prefix.
Display all BGP routes that contain subnet and supernet network
masks.
Display routes that belong to the specified communities.
Display routes that are permitted by the community list.
Display routes that are matched by the specified AS path access
list.
Display the routes with inconsistent originating autonomous
systems.
Display the routes that have an AS path that matches the specified
regular expression entered on the command line.
Display the contents of the BGP routing table.
Display detailed information on the BGP and TCP connections to
individual neighbors.
Display routes learned from a particular BGP neighbor.
Display all BGP paths in the database.
Display information about BGP peer groups.
Display the status of all BGP connections.
Chapter 28
Configuring IP Unicast Routing
78-15870-01