[Xorp-users] ospf nssa problem

buge buge at rdsmail.ro
Mon Jun 27 00:46:17 PDT 2011


thx Patricio

I have another issue:
the ospf process remain in Loading state:
root at ERppp-1-101> show ospf4 neighbor
  Address         Interface             State      ID              Pri  Dead
172.19.213.193   vlan20/vlan20      Loading   172.19.213.193   255    37

 protocols {
   ospf4 {
     router-id: 172.19.209.190
     rfc1583-compatibility: false
     ip-router-alert: false */
/*      traceoptions {
        flag {
           all {
           }
        }
      }                 */
     area 0.0.8.0 {
     area-type: "nssa"
     default-lsa {
                disable: false
                metric: 0
            }
     interface vlan2000 {
        link-type: "p2p"
          vif vlan2000 {
             address 172.19.213.194 {
             priority: 1
             hello-interval: 10
             router-dead-interval: 40
             interface-cost: 10000
             retransmit-interval: 5
            transit-delay: 1
             neighbor 172.19.213.193{
             router-id: 172.19.213.193
            }
            disable: false
             }
          }
       }



Patricio Latini wrote:
> In my case, and I have it working it is also a good policy to have a filter
> for the routes in my case i had to add within the protocol
>
>         export: "connected-to-ospf"
>
> and then:
>
> policy {
>     policy-statement "connected-to-ospf" {
>         term permit {
>             from {
>                 protocol: "connected"
>                 network4: 172.16.0.0/12
>             }
>             then {
>                 accept {
>                 }
>             }
>         }
>         term drop {
>             from {
>                 protocol: "connected"
>             }
>             then {
>                 reject {
>                 }
>             }
>         }
>     }
> }
>
>
> -----Original Message-----
> From: xorp-users-bounces at xorp.org [mailto:xorp-users-bounces at xorp.org] On
> Behalf Of buge
> Sent: Friday, June 24, 2011 11:33 AM
> To: xorp-users at xorp.org
> Subject: Re: [Xorp-users] ospf nssa problem
>
> I solve this problem:
> the issue was from missing quote
>
> area-type: "nssa"
>
>
> but i cannot redistribute connected interfaces into ospf.
>
> buge wrote:
>   
>> I want to configure ospf in nssa area and non-broadcast peers.
>> Here is my code:
>>
>> protocols {
>>    ospf4 {
>>      router-id: 172.19.209.190
>>      area 0.0.8.0 {
>>     area-type: nssa
>>      interface vlan20 {
>>      link-type: p2p
>>           vif vlan20 {
>>              address 172.19.213.193 {
>>              priority: 0
>>              hello-interval: 10
>>              router-dead-interval: 40
>>              interface-cost: 10000
>>              retransmit-interval: 5
>> /*             transit-delay: uint(0..3600) */
>>              }
>>           }
>>        }
>>      }
>>   }
>> }
>>
>>
>> I receive the following errors:
>> ERROR xorp_rtrmgr:2589 RTRMGR +369 main_rtrmgr.cc run ] rtrmgr 
>> shutting down due to an init error: PARSE ERROR [Config File 
>> config.boot, line
>> 25]: syntax error; Last symbol parsed was "area-type"
>> ERROR xorp_rtrmgr:2686 RTRMGR +369 main_rtrmgr.cc run ] rtrmgr 
>> shutting down due to an init error: PARSE ERROR [Config File 
>> config.boot, line
>> 27]: syntax error; Last symbol parsed was "link-type"
>>
>> _______________________________________________
>> Xorp-users mailing list
>> Xorp-users at xorp.org
>> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
>>   
>>     
>
> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20110627/1ed6792e/attachment.html 


More information about the Xorp-users mailing list