Hello,

I'm trying to re-announce a received subnet from peer A to peer B.
Here's what I've done :

#peer A
neighbor $peer4_IP {
         remote-as       $peer4_AS
         descr           $peer4_NAME
         local-address   $LOCAL_ADDR
         holdtime        20
         holdtime min    3
         announce        self
         set weight      200
         set localpref   200
}
#peer B
neighbor $peer3_IP {
         remote-as       $peer3_AS
         descr           $peer3_NAME
         multihop        2
         local-address   $LOCAL_ADDR
         holdtime        180
         holdtime min    3
         announce        self
         set localpref   150
}


allow to $peer3_IP prefix /< /24 prefix that I wan to redistribute to 
peer A>/ prefixlen <= 32 set prepend-self 1


Can anybody tell me what's wrong and how I can do that ?

Second question : how can I check the route I'm announcing to a neighbor 
with bgpctl (something like "bgpctl show neighbor NEIGH1 
advertised-routes") ?

Thanks
Cédric


-- 
OCEANET
---------------------------------------------------------------
[AGENCE DU MANS]
7, rue des Frênes
ZAC de la Pointe
72190 SARGE LES LE MANS
[t] +33 (0)2.43.50.26.50
[f] +33 (0)2.43.72.21.14

[AGENCE D'ANGERS]
5, rue Fleming
Angers Technopole
49066 ANGERS
[t] +33 (0)2.41.19.28.65
[f] +33 (0)2.52.19.22.00

http://www.oceanet.com
http://www.oceanet-telecom.com

Reply via email to