Resets all BGP connections.clear ip bgp *
Removes all members of a BGP peer group.
clear ip bgp peer-group tag
Displays peer groups and peers not in peer groups to
which the prefix has been advertised. Also displays prefix
attributes such as the next hop and the local prefix.
show ip bgp prefix
Displays all BGP routes that contain subnet and supernet
network masks.
show ip bgp cidr-only
Displays routes that belong to the specified communities.
show ip bgp community [community-number]
[exact]
Displays routes that are permitted by the community list.show ip bgp community-list
community-list-number [exact-match]
Displays routes that are matched by the specified AS path
access list.
show ip bgp filter-list access-list-number
Displays the routes with inconsistent originating
autonomous systems.
show ip bgp inconsistent-as
Displays the routes that have an AS path that matches the
specified regular expression entered on the command line.
show ip bgp regexp regular-expression
Displays the contents of the BGP routing table.show ip bgp
Displays detailed information on the BGP and TCP
connections to individual neighbors.
show ip bgp neighbors [address]
Displays routes learned from a particular BGP neighbor.
show ip bgp neighbors [address]
[advertised-routes | dampened-routes |
flap-statistics | paths regular-expression |
received-routes | routes]
Displays all BGP paths in the database.show ip bgp paths
Displays information about BGP peer groups.
show ip bgp peer-group [tag] [summary]
Displays the status of all BGP connections.show ip bgp summary
The bgp log-neighbor changes command is enabled by default. It allows to log messages that are generated
when a BGP neighbor resets, comes up, or goes down.
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
146
Configuring IP Unicast Routing
Monitoring and Maintaining BGP