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

show ip bgp

ThiscommanddisplaysentriesintheBGProutingtable.

Syntax
show ip bgp [network][network-mask][longer-prefixes]
Mode
EXECconfiguration:XSR>
Examples
Thefollowingissampleoutputfromthecommand:
XSR#show ip bgp
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 300 100 300 ?
*> 192.1.1.0/24 192.168.72.100 0 300 100 300 ?
* 55.5.5.0/24 52.52.52.3 200 100 200 ?
*> 55.5.5.0/24 192.168.72.100 0 300 100 300 ?
*> 6.6.6.2/32 192.168.72.100 0 300 100 300 ?
Local Router ID: IP Address of the router
Status codes:
s – the bgp table entry is suppressed
* - the bgp table entry is valid
> - the bgp table entry is the best entry for the network
i – the bgp table entry is learned via IBGP
Origin Codes:
i – Entry originated from an IGP
e – Entry originated from an EGP
? – Entry originated from an unknown source (i.e redistribution)
network NumberofanetworkintheBGProutingtable.
network-mask AllBGProutesmatchingtheaddressandmaskpair.
longer-prefixes Routesandspecificroutersaredisplayed.