[j-nsp] export OSPF routes as type 1

Luca Salvatore Luca at ninefold.com
Mon Dec 3 06:20:36 EST 2012


Ah there it is! 
Don't i feel silly.

Thank you

________________________________________
From: Chris Kawchuk [juniperdude at gmail.com]
Sent: Monday, 3 December 2012 6:21 PM
To: Luca Salvatore
Cc: juniper-nsp at puck.nether.net
Subject: Re: [j-nsp] export OSPF routes as type 1

> I'm trying to export some OSPF routes as type 1 external instead of the default type 2 external.
> I can't seem to find where it is done - I thought it would be done in the policy map but I don't see an option.


policy-options {
    policy-statement my-ospf-export-policy {
        term static-and-direct-as-type-1 {
            from protocol [ static direct ];
            then {
                external {
                    type 1;
                }
                accept;
            }
        }
    }
}

- CK.


More information about the juniper-nsp mailing list