[j-nsp] BGP: Prepending AS number
Peter Sanchez
pjs at packet-addiction.org
Sun Jan 15 13:47:20 EST 2006
Hey everyone. New to Juniper and this list. My background is in Cisco/
Foundry so I am trying to get the hang of JunOS.
I have a working BGP peer with MCI, but I want to prepend my AS
number to make this link less preferred. As I said, right now, the
peer is working fine, I just can't see the prepended AS number from
public route servers.
BGP "group":
group MCI {
type external;
import martian-route-filter;
authentication-key "$9$AauCtBElKW-dsvWJGiHTQIEcrWL"; ##
SECRET-DATA
export adv-filter-->MCI;
peer-as 701;
neighbor 157.130.247.5;
}
and here is the adv-filter-->MCI policy statement:
policy-statement adv-filter-->MCI {
term adv-networks {
from {
protocol [ ospf bgp ];
route-filter 198.32.64.0/24 exact;
route-filter 192.0.32.0/21 exact;
}
then {
as-path-prepend "26711 26711";
accept;
}
}
term reject-others {
then reject;
}
}
I cleared the neighbor session, both soft and hard bounced it.
Is there anything else I am missing? According to the docs I found
this should work just fine.
This is an M7i, running JunOS 6.4 (6.4R1.6)
Let me know if you need any other info.
Thanks!
Peter
More information about the juniper-nsp
mailing list