[j-nsp] JNCIP book, OSPF policy

Ahmad Alhady ahmad.alhady at yahoo.com
Fri Dec 19 01:42:27 EST 2008


Hi all,

in JNCIP book there are 2 diffrent rip import policies.

lab at r6# show policy-options policy-statement rip-in
term 1 {
from {
protocol rip;
next-hop 172.16.40.1;
}
then accept;
}
term 2 {
then reject;
}


lab at r7# show policy-options policy-statement rip-in
term 1 {
from {
protocol rip;
route-filter 192.168.0.0/22 orlonger;
}
then accept;
}
term 2 {
then reject;



1st one is ensuring to not get RIP from R7

and 2nd one is ensuring to not get OSPF routes from RIP routetr

why we dont do like this


lab at r7# show policy-options policy-statement rip-in
term 1 {
from {
protocol rip;
next-hop 172.16.40.1;
route-filter 192.168.0.0/22 orlonger;
}
then accept;
}
term 2 {
then reject;

so Dont accept except ONLY RIP routes from RIP router....


?!!


Ahmad



      


More information about the juniper-nsp mailing list