[j-nsp] export OSPF routes as type 1

Chris Kawchuk juniperdude at gmail.com
Mon Dec 3 02:21:15 EST 2012


> 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