[Xorp-users] OSPF route export

Ben Greear greearb at candelatech.com
Thu Feb 17 09:55:33 PST 2011


On 02/17/2011 06:35 AM, Dan Moormann wrote:
> I've been working with xorp in the lab and I'm having trouble getting OSPF to export any routes.
> I have it neighbor'd up and receiving routes without a problem, but it won't export any.
>   I have set up a basic policy to export static and connected but neither works.  Am I missing something?
>
>    policy-statement static {
>          term export {
>              from {
>                  protocol: "static"
>              }
>          }
>          then {
>              accept {
>              }
>          }
>      }
>      policy-statement connected {
>          term export {
>              from {
>                  protocol: "connected"
>              }
>          }
>          then {
>              accept {
>              }
>          }
>      }
>
>      router-id: 216.20.1.76
>      area 0.0.0.0 {
>          interface eth0 {
>              vif eth0 {
>                  address 216.20.1.76 {
>                  }
>              }
>          }
>      }
>      export: "static,connected"

I checked my config-file generator and I put the policy statements
outside of the protocol block (except for the export: statement)

I'm not sure your way is wrong, but it might be worth a try...

Thanks,
Ben

>
>
>
>
> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-users mailing list