Re: OSPF Domain-id

From: Alberto Santos <albertofsantos_at_gmail.com>
Date: Sat, 18 Jun 2011 13:14:13 -0300

Hey Bilal

The domain-id is took from OSPF when redistributing into BGP and than
compared when redistributed into OSPF in remote PE, if it's different, set
as external otherwise set as internal OIA. so looking into BGP table at
remote PE router won't help, because BGP won't change it because it's
different in OSPF, you may compare the route received via BGP and the domain
id from show ip ospf from yours VRF to see if is going to be external or
not.
you see a route as OIA when removing the domain-id because it's took the
process id to set the domain ID which are the same at the both routers

PE2 (local originated)
00000063 = 0.0.0.99

PE1 (remote PE)
compare 00000063 with sh ip ospf, which is 0.0.0.11. so external it is.

if you don't want to do hex2dec try to see yours local BGP routes and
compare between hex's.

Thanks

Alberto

On 18 June 2011 11:45, Bilal Hansrod <bilal.hansrod_at_gmail.com> wrote:

> Hello Experts,
>
> I have simple MPLS topology running OSPF betwen CE-PE and MP-BGP. When I
> change domain-id on PE, I can't see the change in real domain-id by running
> show bgp vpnv4 unicast vrf VPN_A 172.16.8.0, but still the OSPF route type
> changes to E2.
>
> C1 - PE1 - RR - PE2 - C2
>
> Both C routers running OSPF between PE with same OSPF process number.
>
> The command output as below:
>
> PE1
>
> Rack1R6#show bgp vpnv4 unicast vrf VPN_A 172.16.8.0
> BGP routing table entry for 100:1:172.16.0.0/16, version 57
> Paths: (1 available, best #1, table VPN_A)
> Not advertised to any peer
> Local
> 150.1.5.5 (metric 66) from 150.1.4.4 (150.1.4.4)
> Origin incomplete, metric 2, localpref 100, valid, internal, best
> Extended Community: RT:100:1 OSPF DOMAIN ID:0x0005:0x000000630200
> OSPF RT:0.0.0.0:2:0 OSPF ROUTER ID:172.16.5.5:0
> Originator: 150.1.5.5, Cluster list: 150.1.4.4
> mpls labels in/out nolabel/29
>
> Configuration:
> router ospf 10 vrf VPN_A
> domain-id 0.0.0.11
> log-adjacency-changes
> redistribute bgp 100 subnets tag 666
> network 0.0.0.0 255.255.255.255 area 1
>
>
>
> PE2
>
> ack1R5#show bgp vpnv4 unicast vrf VPN_A 172.16.8.0
> BGP routing table entry for 100:1:172.16.0.0/16, version 37
> Paths: (1 available, best #1, table VPN_A)
> Advertised to update-groups:
> 1
> Local
> 0.0.0.0 from 0.0.0.0 (150.1.5.5)
> Origin incomplete, metric 2, localpref 100, weight 32768, valid,
> sourced, best
> Extended Community: RT:100:1 OSPF DOMAIN ID:0x0005:0x000000630200
> OSPF RT:0.0.0.0:2:0 OSPF ROUTER ID:172.16.5.5:0
> mpls labels in/out 29/aggregate(VPN_A)
>
> router ospf 10 vrf VPN_A
> domain-id 0.0.0.99
> log-adjacency-changes
> summary-address 172.16.0.0 255.255.0.0
> redistribute bgp 100 subnets tag 667
> network 0.0.0.0 255.255.255.255 area 1
>
>
> Should I not be seeing different domain-id for this route; however, both of
> them shows 63- When I see routes on C routes it changes to E2 and when I
> remove the domain-id's, I see routes as IA.
>
> Any help will be highly appreciated.
>
> Thanks,
>
> Bilal Hansrod
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>

-- 
*
*
Blogs and organic groups at http://www.ccie.net
Received on Sat Jun 18 2011 - 13:14:13 ART

This archive was generated by hypermail 2.2.0 : Fri Jul 01 2011 - 06:24:28 ART