[rbak-nsp] OSPF

Maciej Hiller maciej.hiller at host24.pl
Fri Aug 29 05:21:47 EDT 2014


the area id you can see

#sh os area

   --- OSPF Area 0.0.0.0 Instance 1/Router ID 10.255.255.5 ---

Area Type      : Regular           Interface Count: 3
LSA Count      : 1068              LSA Checksum   : 0x02263880
ABR Count      : 3                 ASBR Count     : 12
Adjacent Nbrs  : 2                 Up Interfaces  : 3
Demand DC Clear: 15                Demand Indicate: 0
Demand DoNotAge: 0                 Max Indicate ID: 0.0.0.0

Interface List:
10.0.1.10       10.0.1.14       10.255.255.5

try turn debug on ospf

[local]#debug ospf neighbor
[local]#terminal monitor

neighbor go down

Aug 29 11:15:16: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: 10.0.1.9 EVENT: 
Inactivity Timer STATE: Full
Aug 29 11:15:16: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: Neighbor 10.0.1.9 
change from <Full> to <Down>

neighbor go up

Aug 29 11:15:48: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: Neighbor 10.0.1.9 
change from <Down> to <Down>
Aug 29 11:15:48: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: Neighbor 10.0.1.9 ID 
10.255.255.12 created on Interface 10.0.1.10 area 0.0.0.0
Aug 29 11:15:48: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: 10.0.1.9 EVENT: Hello 
Received STATE: Down
Aug 29 11:15:48: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: Neighbor 10.0.1.9 
change from <Down> to <Init>
Aug 29 11:15:48: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: 10.0.1.9 EVENT: 1 Way 
STATE: Init
Aug 29 11:15:48: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: 10.0.1.9 EVENT: Hello 
Received STATE: Init
Aug 29 11:15:48: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: 10.0.1.9 EVENT: 2 Way 
STATE: Init
Aug 29 11:15:48: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: Neighbor 10.0.1.9 
change from <Init> to <2-Way>
Aug 29 11:15:48: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: Neighbor 10.0.1.9 
change from <2-Way> to <ExStart>
Aug 29 11:15:48: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: Number of exchanging 
neighbors increased to 1 global: 1
Aug 29 11:15:48: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: NBR 10.0.1.9 - is 
Master in exchange
Aug 29 11:15:48: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: 10.0.1.9 EVENT: 
Negotiation Done STATE: ExStart
Aug 29 11:15:48: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: Neighbor 10.0.1.9 
change from <ExStart> to <Exchange>
Aug 29 11:15:49: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: 10.0.1.9 EVENT: 
Exchange Done STATE: Exchange
Aug 29 11:15:49: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: Neighbor 10.0.1.9 
change from <Exchange> to <Full>
Aug 29 11:15:49: [0001]: %OSPF-7-NEIGHBOR: OSPF-1: Number of exchanging 
neighbors decreased to 0 global: 0

Maciej.

W dniu 2014-08-29 01:05, Brandon Leeberg napisał(a):
> The highlighted area below, from your config, is where I see 0.0.0.0
> 
>  --- OSPF Neighbors for Instance 1/Router ID 10.255.255.5 ---
> 
> NeighborID NeighborAddress Pri State DR-State IntfAddress TimeLeft
> 
> 10.255.255.12 10.0.1.9 128 Full Other 10.0.1.10 34
> 
> Brandon
> 
> -----Original Message-----
>  From: redback-nsp [mailto:redback-nsp-bounces at puck.nether.net] On
> Behalf Of Maciej Hiller
>  Sent: Thursday, August 28, 2014 3:33 PM
>  To: redback-nsp at puck.nether.net
>  Subject: Re: [rbak-nsp] OSPF
> 
> have you got set the router-id ?
> 
> (config-ospf)#router-id 10.255.255.5
> 
> if not, ospf take the ID from ip address on loopback interface
> 
> 0.0.0.0 looks like area id :)
> 
> try to set router-id
> 
> Maciej
> 
> W dniu 2014-08-29 00:10, Brandon Leeberg napisał(a):
> 
>> I have it set up correctly, based on the config you sent me (THANK
> 
>> YOU!), but for some reason, the OSPF neighbor state is reporting as
> 
>> DOWN. It lists the neighbor's IP address, but for the neighbor ID,
> it
> 
>> reports as 0.0.0.0
> 
>> 
> 
>> Any idea why?
> 
>> 
> 
>> Thanks!
> 
>> 
> 
>> Brandon
> 
>> 
> 
>> -----Original Message-----
> 
>> From: redback-nsp [mailto:redback-nsp-bounces at puck.nether.net] On
> 
>> Behalf Of Maciej Hiller
> 
>> Sent: Thursday, August 28, 2014 1:08 PM
> 
>> To: redback-nsp at puck.nether.net
> 
>> Subject: Re: [rbak-nsp] OSPF
> 
>> 
> 
>> Hi Brandon
> 
>> 
> 
>> it is working config
> 
>> 
> 
>> #sh conf cont local
> 
>> Building configuration...
> 
>> 
> 
>> Current configuration:
> 
>> !
> 
>> context local
> 
>> !
> 
>> no ip domain-lookup
> 
>> !
> 
>> interface TO-RTR-A p2p
> 
>> ip address 10.0.1.14/30
> 
>> ip mtu 9170
> 
>> !
> 
>> interface TO-RTR-B p2p
> 
>> ip address 10.0.1.10/30
> 
>> ip mtu 9170
> 
>> !
> 
>> interface lo loopback
> 
>> ip address 10.255.255.5/32
> 
>> !
> 
>> router ospf 1
> 
>> area 0.0.0.0
> 
>> interface lo
> 
>> passive
> 
>> interface 10.0.1.10
> 
>> authentication md5 OSPF-AUTH-KEY1
> 
>> interface 10.0.1.14
> 
>> authentication md5 OSPF-AUTH-KEY1 !
> 
>> key-chain OSPF-AUTH-KEY1 key-id 1
> 
>> key-string encrypted ************************** !
> 
>> router mpls
> 
>> interface TO-RTR-A
> 
>> interface TO-RTR-B
> 
>> !
> 
>> router ldp
> 
>> interface TO-RTR-A
> 
>> interface TO-RTR-B
> 
>> interface lo
> 
>> !
> 
>> 
> 
>> #sh ospf nei
> 
>> 
> 
>> --- OSPF Neighbors for Instance 1/Router ID 10.255.255.5 ---
> 
>> 
> 
>> NeighborID NeighborAddress Pri State DR-State IntfAddress
> 
>> TimeLeft
> 
>> 10.255.255.12 10.0.1.9 128 Full Other 10.0.1.10
> 
>> 34
> 
>> 10.255.255.10 10.0.1.13 128 Full Other 10.0.1.14
> 
>> 35
> 
>> 
> 
>> #sh ldp nei
> 
>> PeerFlags: A - LocalActiveOpen, D - Deleted, R - Reseting, E -
> 
>> OpenExtraDelay
> 
>> N - OpenNoDelay, P - SetMD5Passwd, T - RetainRoute, F -
> 
>> FlushState
> 
>> X - ExplicitNullEnabled, C - ExplicitNullStatusChanging
> 
>> G - Graceful Restart Supported, L - Session Life Extended
> 
>> * - Reachable via RSVP-TE LSP , U - Unrecognized
> 
>> Notification Capable
> 
>> V - Reachable Via Tunnel-Shortcut , W - Typed wildcard FEC
> 
>> capable SHld - Session Holdtime Left, HHld - Hello Holdtime Left
> 
>> 
> 
>> NeighborAddr LDP Identifier State Flag SHld HHld
> 
>> Interface
> 
>> 10.255.255.10 10.255.255.10:0 Oper G 20 14
> 
>> TO-RTR-A
> 
>> 10.255.255.12 10.255.255.12:0 Oper G 20 10
> 
>> TO-RTR-B
> 
>> 
> 
>> Regards,
> 
>> 
> 
>> Maciej
> 
>> 
> 
>> W dniu 2014-08-28 19:09, Brandon Leeberg napisał(a):
> 
>>> Forgive me in advance, as I am a redback novice.
> 
>>> 
> 
>>> What we are trying to do is create an MPLS circuit between two
> 
>>> redback routers (SEOS 11.1.2.5p2). Local contexts are already
> 
>>> connected, and I believe I have the MPLS and PW config down, but I
> am
> 
>>> having a heck of a time configuring OSPF. I have a loopback on each
> 
> 
>>> of the two routers (local contexts), and every config I have tried
> 
>>> has failed to bring up an OSPF neighbor connection. LDP connection
> 
>>> came up between the two without any issue. Can someone provide some
> 
> 
>>> configuration examples for connecting router 1 (loopback
> 
>>> 10.255.255.1) to router 2
> 
>>> (10.255.255.2) via OSPF?
> 
>>> 
> 
>>> Any assistance is much appreciated!
> 
>>> 
> 
>>> Brandon
> 
>>> 
> 
>>> _______________________________________________
> 
>>> redback-nsp mailing list
> 
>>> redback-nsp at puck.nether.net
> 
>>> https://puck.nether.net/mailman/listinfo/redback-nsp [1]
> 
>> _______________________________________________
> 
>> redback-nsp mailing list
> 
>> redback-nsp at puck.nether.net
> 
>> https://puck.nether.net/mailman/listinfo/redback-nsp [1]
> 
> _______________________________________________
> 
> redback-nsp mailing list
> 
> redback-nsp at puck.nether.net
> 
> https://puck.nether.net/mailman/listinfo/redback-nsp [1]
> 
> Links:
> ------
> [1] https://puck.nether.net/mailman/listinfo/redback-nsp


More information about the redback-nsp mailing list