BGP Clear and Show Commands
6-128 Configuring the Border Gateway Protocol

show ip bgp inconsistent-as

ThiscommanddisplaysroutesthathaveincompleteoriginatingASs.
Syntax
show ip bgp inconsistent-as
Mode
EXECconfiguration:XSR>
Example
Thefollowingissampleoutputfromthecommand:
XSR#show ip bgp inconsistent-as
Local router ID is 1.1.1.4
Status codes: s suppressed, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? = incomplete
Network Next Hop Metric LocPrf Weight Path
*> 192.4.4.0/24 192.168.72.100 0 100 100 300 ?
*> 192.1.1.0/24 192.168.72.100 0 100 100 300 ?
*> 66.6.6.2/32 192.168.72.100 0 100 100 300 ?
*> 55.5.5.0/24 192.168.72.100 0 100 100 300 ?
*> 6.6.6.2/32 192.168.72.100 0 100 100 300 ?

show ip bgp neighbors

ThiscommanddisplaysinformationaboutTCPandBGPconnectionstoneighbors.
Syntax
show ip bgp neighbors [neighbor-address]
Mode
EXECconfiguration:XSR>
Example
Thefollowingissampleoutputfromthecommand.Theoutputisfilteredtoshowonlythatthe
192.168.72.100neighborandtherouterefreshcapabilityhasbeenexchangedwiththisneighbor.
XSR#show ip bgp neighbors 192.168.72.100
BGP neighbor is 192.168.72.100 remote AS 300 external link
BGP version 4, remote router ID 192.168.72.100
BGP state = ESTABLISHED
neighbor-address TheIPaddressoftheneighborwhoseroutestheXSRhaslearnedfrom.
Ifomitted,allneighborsaredisplayed.