sorry to ask you a basic question:
according to BGP bast path selection:
2. local preference
3. original type: locally originated"network" command or "redistribut" command > "aggregate-addrfess"
My question here is if the route been redistributed, does it match origianl type (step 3) or match imcomplete?
and what is the difference between 3 and 5?
The first output looks odd to me if issued on the router where you perform the redistribute static.
You should have 0.0.0.0 instead of 172.16.0.1 IP address.
0.0.0.0 indicates the route is locally generated.
I quickly pull up my lab and duplicated your scenario.
Rack1R2(config)#ip route 18.104.22.168 255.255.255.255 null0
Rack1R2(config)#router bgp 1
Rack1R2#sh ip bgp 22.214.171.124
BGP routing table entry for 126.96.36.199/32, version 5
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Advertised to update-groups:
0.0.0.0 from 0.0.0.0 (188.8.131.52)
Origin incomplete, metric 0, localpref 100, weight 32768, valid, sourced, best
As for your 2nd query. The "i" stands for internal route. If you type show ip bgp, you will see a legend with information of what each character means.
Here is a sample legend
Rack1R2#sh ip bgp
BGP table version is 5, local router ID is 184.108.40.206
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Please rate helpful posts