08-09-2021 10:06 AM
HI team ,
In bgp table one i (origin code , prefix are generated by network command) and what is mean of other i(internal). ????
According to cisco it is internal but I tried to find out in varies documents but still I m very confused .
My query might me silly , but your reply will help other guys too.
thnks in advance
Solved! Go to Solution.
08-12-2021 09:34 AM
08-12-2021 10:49 AM
hi
its really confusing as per attached file ...bgp local rib table must have only single path for each prefix (if bgp multipath is not configured ).......... but as I tested in lab bgp lacal rib table having all available path after applying policies to adj in rib table (like eigrp ).
.either output of lab is wrong or the statement in attached file is wrong
pls find the out of lab
CSS2#sh ip bgp vpnv4 all
BGP table version is 4, local router ID is 2.2.2.2
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
Route Distinguisher: 1:1 (default for vrf BEARER)
* 11.11.11.11/32 172.12.1.2 0 10 10 10 10 ?
*>i 1.1.1.1 0 100 0 10 ?
* i 1.1.1.1 0 100 0 10 ?
*> 33.33.33.33/32 172.12.1.2 0 0 10 10 10 10 ?
08-12-2021 03:30 PM
This is correct; what else would you want to see? Show ip bgp shows all valid paths and selected best. Note that between 2 and more same prefixes, the oldest one is at the bottom while newer one on the top. You can see valid and all available paths and make selection why was this particular one selected as Best. If you would not see others (2nd best and so forth), you could not have make a policy to make one preferred over the other one. you would have to check your neighbor and ask him to tell you what prefixes with what attributes he sends you. If you only see one of 33.33.33.33/32 and one of 11.11.11.11/32 , you would not be able to make changes if you wish to make traffic manipulation, aka traffic engineering.
Only best routes are passed over to Routing table (RIB). So, you have 2 useful tables with BGP, BGP local table and RIB with other protocols as well. Similarly in EGIRP, you must use "show ip eigrp topology all-links" to see all available paths in contrast to only best one with "show ip eigrp topology ".
Regards, ML
**Please Rate All Helpful Responses **
08-13-2021 12:29 AM
08-11-2021 07:17 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide