Cisco Systems 78-11741-02 Wireless Office Headset User Manual


 
Configuring BGP
BGP Configuration Examples
IPC-332
Cisco IOS IP Configuration Guide
To display various routing statistics, use the following commands in EXEC mode, as needed:
Logging Changes in Neighbor Status
To enable the logging of messages generated when a BGP neighbor resets, comes up, or goes down, use
the following command in router configuration mode:
BGP Configuration Examples
The following sections provide BGP configuration examples:
BGP Route Map Examples
BGP Neighbor Configuration Examples
Command Purpose
Router# show ip bgp prefix
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.
Router# show ip bgp cidr-only
Displays all BGP routes that contain subnet and supernet
network masks.
Router# show ip bgp community community-number
[exact]
Displays routes that belong to the specified communities.
Router# show ip bgp community-list
community-list-number [exact]
Displays routes that are permitted by the community list.
Router# show ip bgp filter-list access-list-number
Displays routes that are matched by the specified autonomous
system path access list.
Router# show ip bgp inconsistent-as
Displays the routes with inconsistent originating autonomous
systems.
Router# show ip bgp regexp regexp
Displays the routes that have an autonomous system path that
matches the specified regular expression entered on the
command line.
Router# show ip bgp
Displays the contents of the BGP routing table.
Router# show ip bgp neighbors [neighbor-address]
Displays detailed information on the BGP and TCP
connections to individual neighbors.
Router# show ip bgp neighbors [address]
[received-routes
| routes | advertised-routes |
paths regexp | dampened-routes]
Displays routes learned from a particular BGP neighbor.
Router# show ip bgp paths
Displays all BGP paths in the database.
Router# show ip bgp peer-group [tag] [summary]
Displays information about BGP peer groups.
Router# show ip bgp summary
Displays the status of all BGP connections.
Command Purpose
Router(config-router)# bgp log-neighbor-changes
Logs messages generated when a BGP neighbor goes up or
down, or resets