From: Hyunseog Ryu (r.hyunseog@ieee.org)
Date: Sat Jul 01 2006 - 23:31:30 ART
I believe the big difference between those are whether it is valid route
or not.
For an example, show ip bgp neigh x.x.x.x received-routes shows the info
before prefix filtering and/or route-map applied, and show ip bgp neigh
x.x.x.x routes shows the info after prefix filtering and/or route-map
applied.
So if you don't have "inbound soft reconfiguration" configured, you may
not use "show ip bgp neigh x.x.x.x received-routes" because the IOS
needs to save the memory for not keeping BGP route info from each
neighbor by throwing those after filtering/route-map applied.
That's my 2 cents.
Hyun
Mathew Fernando wrote:
> Hi Group,
>
> What is the difference between "sho ip bgp nei received-routes" & "sho
> ip bgp nei routes"?
> See below, for the option "received-routes", it says we need "Inbound
> soft reconfiguration".
>
> R5#sho ip bgp nei 150.1.4.4 ?
> advertised-routes Display the routes advertised to a BGP neighbor
> dampened-routes Display the dampened routes received from neighbor
> flap-statistics Display flap statistics of the routes learned from
> neighbor
> paths Display AS paths learned from neighbor
> received Display information received from a BGP neighbor
> received-routes Display the received routes from neighbor
> routes Display routes learned from neighbor
> | Output modifiers
> <cr>
>
> R5#
> R5#sho ip bgp nei 150.1.4.4 received-routes
> % Inbound soft reconfiguration not enabled on 150.1.4.4
> R5#
> R5#sho ip bgp nei 150.1.4.4 routes
> BGP table version is 110, local router ID is 150.1.5.5
> Status codes: s suppressed, d damped, h history, * valid, > best, i -
> internal,
> r RIB-failure, S Stale
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
> *> 28.119.16.0/24 150.1.4.4 0 100 54 i
> *> 28.119.17.0/24 150.1.4.4 0 100 54 i
> *> 112.0.0.0 150.1.4.4 0 100 54 50 60 i
> *> 113.0.0.0 150.1.4.4 0 100 54 50 60 i
> *> 114.0.0.0 150.1.4.4 0 100 54 i
> *> 115.0.0.0 150.1.4.4 0 100 54 i
> *> 116.0.0.0 150.1.4.4 0 100 54 i
> *> 117.0.0.0 150.1.4.4 0 100 54 i
> *> 118.0.0.0 150.1.4.4 0 100 54 i
> *> 119.0.0.0 150.1.4.4 0 100 54 i
> *> 150.1.1.0/24 150.1.4.4 0 100 i
> * 155.1.37.0/24 150.1.4.4 0 100 700 i
> * 155.1.67.0/24 150.1.4.4 0 100 700 i
> *> 155.1.146.0/24 150.1.4.4 0 100 i
>
> Total number of prefixes 14
> R5#
This archive was generated by hypermail 2.1.4 : Tue Aug 01 2006 - 07:13:46 ART