route-filter 0.0.0.0/0 through 0.0.0.0/7 reject;
high1432007
Member Posts: 37 ■■□□□□□□□□
in Juniper
Hi all,
Qusetion from JNCIP study guide,
No default route or any 0.x prefix with a mask length up to /7
I believe answer is below,
route-filter 0.0.0.0/0 through 0.0.0.0/7 reject;
My question is above statement can be replace by below
route-filter 0.0.0.0/0 prefix-length-range /0-/7 reject; ????
tks
Qusetion from JNCIP study guide,
No default route or any 0.x prefix with a mask length up to /7
I believe answer is below,
route-filter 0.0.0.0/0 through 0.0.0.0/7 reject;
My question is above statement can be replace by below
route-filter 0.0.0.0/0 prefix-length-range /0-/7 reject; ????
tks
Comments
-
dwater2010 Member Posts: 33 ■■□□□□□□□□I guess in 0.0.0.0/0 prefix length you will match the any prefix not the default route. You can try it quickly in lab to see, I have tried it once and if I remember it then it was not giving me the desired output. Lets wait what experts says about it.
-
Aldur Member Posts: 1,460dwater2010 wrote: »I guess in 0.0.0.0/0 prefix length you will match the any prefix not the default route.
Yup, dwater is right, that'll block any prefix and not just defaults."Bribe is such an ugly word. I prefer extortion. The X makes it sound cool."
-Bender