32-58
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter32 Configuring IP Unicast Routing
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 d ata ba ses .
You can use the information to get 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.
Table32-8 lists th e privil ege d E XEC c omm an ds for c lea ri n g a nd dis p layi n g B GP. For explanations of
the display fields, see the Cisco IOS IP Command Reference, Volume 2 of 3: Routing Protocols, Release
12.2.
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.
Table32-11 IP BGP Clear and Show Commands
Command Purpose
clear ip bgp address Reset a particular BGP connection.
clear ip bgp * Reset all BGP connections.
clear ip bgp peer-group tag Remove all members of a BGP peer group.
show ip bgp prefix 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.
show ip bgp cidr-only Display all BGP routes that contain subnet and supernet network
masks.
show ip bgp community [community-number] [exact] Display routes that belong to the specified communities.
show ip bgp community-list community-list-number
[exact-match]Display routes that are permitted by the community list.
show ip bgp filter-list access-list-number Display routes that are matched by the specified AS path access
list.
show ip bgp inconsistent-as Display the routes with inconsistent originating autonomous
systems.
show ip bgp regexp regular-expression Display the routes that have an AS path that matches the specified
regular expression entered on the command line.
show ip bgp Display the contents of the BGP routing table.
show ip bgp neighbors [address] Display detailed information on the BGP and TCP connections to
individual neighbors.
show ip bgp neighbors [address] [advertised-routes |
dampened-routes | flap-statistics | paths
regular-expression | received-routes | routes]
Display routes learned from a particular BGP neighbor.
show ip bgp paths Display all BGP paths in the database.
show ip bgp peer-group [tag] [summary] Display information about BGP peer groups.
show ip bgp summary Display the status of all BGP connections.