Add iBGP peer template

This commit is contained in:
graffen 2018-09-14 20:30:58 +00:00
parent 76161cbefb
commit bd999815ed
1 changed files with 21 additions and 0 deletions

View File

@ -14,6 +14,27 @@ template bgp dnpeers {
#source address 172.20.170.192;
};
template bgp iBGP_Peer {
local as OWNAS;
igp table T_OSPF;
path metric on;
import keep filtered;
# import where iBGP_import_peer_policy();
# export where iBGP_export_peer_policy();
import all;
export all;
source address OWNIP;
next hop self;
}
template pipe iBGP_Pipe {
# table name will come from peer definition
peer table master;
import all;
export all;
}
protocol pipe {
table master;
peer table T_BGP4;