view all routes to destination

m4rtinm4rtin Posts: 170Member
I receive 192.168.5.0/24 from two routers(10.10.10.64 and 10.11.11.56) via BGP:
C1841#sh ip bgp neighbors 10.10.10.64 routes | i 192.168.5.0
* i192.168.5.0      10.10.10.64             0    100      0 65449 65459 i
C1841#sh ip bgp neighbors 10.11.11.56 routes | i 192.168.5.0  
*> 192.168.5.0      10.11.11.56                          0 65449 65459 i
C1841#sh ip route 192.168.5.0                                   
Routing entry for 192.168.5.0/24
  Known via "bgp 65446", distance 20, metric 0
  Tag 1111, type external
  Last update from 10.11.11.56 4d08h ago
  Routing Descriptor Blocks:
  * 10.11.11.56, from 10.11.11.56, 4d08h ago
      Route metric is 0, traffic share count is 1
      AS Hops 2
      Route tag 1111

C1841#

However, in "sh ip route 192.168.5.0" only the best route is displayed. Is there a way to view all routes to 192.168.5.0/24 network?

Comments

  • networker050184networker050184 Posts: 11,962Mod Mod
    Show ip bgp 192.168.5.0.
    An expert is a man who has made all the mistakes which can be made.
  • chmorinchmorin Posts: 1,446Member ■■■■■□□□□□
    Show ip bgp 192.168.5.0.
    That.

    Show IP Route only shows the active routing table.
    Currently Pursuing
    WGU (BS in IT Network Administration) - 52%| CCIE:Voice Written - 0% (0/200 Hours)
    mikej412 wrote:
    Cisco Networking isn't just a job, it's a Lifestyle.
  • m4rtinm4rtin Posts: 170Member
    networker050184, chmorin: thanks! So as I understand, BGP is one of such routing protocols, which stores multiple routes to same destination in it's own routing table, but inserts only the best route to global routing table? And from this global routing table, a Cisco Express Forwarding database is created?
  • SteveO86SteveO86 Posts: 1,423Member
    m4rtin wrote: »
    networker050184, chmorin: thanks! So as I understand, BGP is one of such routing protocols, which stores multiple routes to same destination in it's own routing table, but inserts only the best route to global routing table? And from this global routing table, a Cisco Express Forwarding database is created?

    Totally correct.

    Here's a small look at CEF: Cisco Express Forwarding – CEF « CCIE or Null!
    My Networking blog
    Latest blog post: Let's review EIGRP Named Mode
    Currently Studying: CCNP: Wireless - IUWMS
Sign In or Register to comment.