98 show ip bgp neighbors, Show ip bgp neighbors – PLANET XGS3-24040 User Manual
Page 562
35-275
Command Mode: Admin and configuration mode
Usage Guide: If same prefix comes from different origin AS, the AS will be regarded as inconsistent. This
command is for displaying this kind of routes.
Example:
Switch#sh ip bgp inconsistent-as
BGP table version is 2, local router ID is 11.1.1.100
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
* 100.1.1.0/24 10.1.1.68 0 0 300 ?
*> 10.1.1.64 0 0 100 ?
Total number of prefixes 1
35.98 show ip bgp neighbors
Command:
show ip bgp [
[advertised-routes|received {prefix-filter|routes}|routes]
Function: For displaying the BGP neighbor related messages.
Parameter:
Default: None
Command Mode: Admin and configuration mode
Usage Guide: Display detailed messages of all neighbors by this command without parameters.
Specifying IP address will show the detailed information of the neighbors with specified IP address. The
advertised-routes、received prefix-filter、received routes、routes parameters will respectively displays the
routes broadcast on local side, the received prefix filter, received routes (soft reconfiguration enabled)
and the routing message from specific neighbor.
Example:
Switch#sh ip bgp neighbor
BGP neighbor is 10.1.1.66, remote AS 200, local AS 100, external link
BGP version 4, remote router ID 11.1.1.100
BGP state = Established, up for 00:13:43
Last read 00:13:43, hold time is 240, keep alive interval is 60 seconds
Neighbor capabilities:
Route refresh: advertised and received (old and new)
Address family IPv4 Unicast: advertised and received
Received 17 messages, 0 notifications, 0 in queue
Sent 17 messages, 0 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 30 seconds