[Xorp-users] ospf nssa problem
Patricio Latini
p_latini at hotmail.com
Fri Jun 24 12:05:55 PDT 2011
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
More information about the Xorp-users
mailing list