更新INET协议栈格式
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
template bgp tpl_bgp_up {
|
||||
template bgp tpl_inet4_up {
|
||||
graceful restart;
|
||||
local as LOCAL_ASN;
|
||||
ipv4 {
|
||||
@@ -19,6 +19,11 @@ template bgp tpl_bgp_up {
|
||||
accept;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
template bgp tpl_inet6_up {
|
||||
graceful restart;
|
||||
local as LOCAL_ASN;
|
||||
ipv6 {
|
||||
table inet6;
|
||||
import filter {
|
||||
@@ -39,7 +44,7 @@ template bgp tpl_bgp_up {
|
||||
};
|
||||
}
|
||||
|
||||
template bgp tpl_ibgp {
|
||||
template bgp tpl_inet4_ibgp {
|
||||
graceful restart;
|
||||
local as LOCAL_ASN;
|
||||
med metric;
|
||||
@@ -61,6 +66,13 @@ template bgp tpl_ibgp {
|
||||
accept;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
template bgp tpl_inet6_ibgp {
|
||||
graceful restart;
|
||||
local as LOCAL_ASN;
|
||||
med metric;
|
||||
direct;
|
||||
ipv6 {
|
||||
table inet6;
|
||||
next hop self;
|
||||
@@ -79,4 +91,5 @@ template bgp tpl_ibgp {
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
include "/etc/bird/peers/inet/*";
|
||||
Reference in New Issue
Block a user