[j-nsp] policy map two routing protocol,

Aamir Saleem aamirwwol at gmail.com
Wed Dec 24 08:15:45 EST 2008


Hi Ahmad.

This cannot be done with the given policy because there will be AND
operation between aggregate and ospf protocol. In your policy 10.10/16 and
192.168/16 routes must be matched with aggregate and ospf protocol. which
will not heppen if both routes cannot be learned from both protocols.
Following policy may be used to get desired results.
policy-statement example {
    term 1 {
        from {
            protocol aggregate;
            route-filter 10.10.0.0/16 exact;
        }
        then accept;
    }
    term 2 {
        from {
            protocol ospf;
            route-filter 192.168.0.0/16 exact;
        }
        then accept;
    }
}

Regards.

Aamir


More information about the juniper-nsp mailing list