Hi All,
At what situation will a redistribute OSPF routes in BGP will appear as IGP
origin?.
I am running MP-BGP on a PE router with OSPF as PE-CE routing protocol. I
redistribute OSPF into MP-BGP. To my knowledge it is suppose to be
incomplete origin. But it shows as IGP.
This influence the best path selection and I am into sub optimal routing
now.
R2#sh run | sec bgp
redistribute bgp 100 subnets
router bgp 100
bgp router-id 24.1.2.2
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 24.1.3.3 remote-as 100
neighbor 24.1.3.3 update-source Loopback0
!
address-family ipv4
neighbor 24.1.3.3 activate
no auto-summary
no synchronization
exit-address-family
!
address-family vpnv4
neighbor 24.1.3.3 activate
neighbor 24.1.3.3 send-community extended
exit-address-family
!
address-family ipv4 vrf CCIE_SITE_1
redistribute ospf 1 vrf CCIE_SITE_1 match internal external 1 external 2
no auto-summary
no synchronization
exit-address-family
R2#sh run | sec ospf
router ospf 1 vrf CCIE_SITE_1
router-id 10.1.28.2
domain-id 0.0.0.200
log-adjacency-changes
redistribute bgp 100 subnets
network 10.1.28.0 0.0.0.255 area 0
redistribute ospf 1 vrf CCIE_SITE_1 match internal external 1 external 2
R2#
R2#show ip route vrf CCIE_SITE_1 51.51.51.51
Routing entry for 51.51.51.51/32
Known via "ospf 1", distance 110, metric 20
Tag Complete, Path Length == 1, AS 200, , type extern 2, forward metric 2
Redistributing via bgp 100
Advertised by bgp 100 match internal external 1 & 2
Last update from 10.1.28.8 on FastEthernet0/0, 00:20:14 ago
Routing Descriptor Blocks:
* 10.1.28.8, from 10.1.18.1, 00:20:14 ago, via FastEthernet0/0
Route metric is 20, traffic share count is 1
Route tag 3489661128
R2#show ip bgp vp all 51.51.51.51
BGP routing table entry for 1000:1:51.51.51.51/32, version 69
Paths: (1 available, best #1, table CCIE_SITE_1)
Advertised to update-groups:
1
200
10.1.28.8 from 0.0.0.0 (24.1.2.2)
Origin *IGP*, metric 20, localpref 100, weight 32768, valid, sourced, best
Extended Community: RT:100:1 OSPF DOMAIN ID:0x0005:0x000000C80200
OSPF RT:0.0.0.0:5:1 OSPF ROUTER ID:10.1.28.2:1281,
mpls labels in/out 34/nolabel
R2#
Regards,
Nagendra
Blogs and organic groups at http://www.ccie.net
Received on Thu Jun 25 2009 - 21:54:01 ART
This archive was generated by hypermail 2.2.0 : Wed Jul 01 2009 - 20:02:37 ART