Add iBGP peer template
This commit is contained in:
parent
76161cbefb
commit
bd999815ed
21
bgp.conf
21
bgp.conf
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue