Hi guys
im new to juniper and wanted some help on inbound route filtering.
A peer is sending me a default route along with other prefixes and I wanted to write a term within a policy statement whereby I just allow the default route - set it with a local pref of 75 and ignore all other prefixes received from them.
so Far i have this :
term FROM_PEER1 {
from {
next-hop x.x.x.x;
route-filter 0.0.0.0/0 exact;
}
then {
local-preference 75;
accept;
}
}
It kind of works - I get a default route with a local pref of 75 - BUT im also getting all other prefixes they are sending.
In cisco - I would right an ACL allowing 0.0.0.0/0 and then deny any any -
Any ideas where Im going wrong with my syntax above?
thanks
Sol