更新倒表方式
This commit is contained in:
@@ -7,15 +7,39 @@ protocol device {
|
||||
scan time 10;
|
||||
};
|
||||
|
||||
protocol kernel {
|
||||
protocol kernel kernel_main4 {
|
||||
scan time 20;
|
||||
ipv4 {
|
||||
import none;
|
||||
export filter {
|
||||
if unet_is_valid_network_v4() then {
|
||||
krt_prefsrc = UNET_V4_kernel;
|
||||
accept;
|
||||
}
|
||||
if bgp_large_community ~ [(UNET_ASN, 10,4)] then accept;
|
||||
reject;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
protocol kernel kernel_t102v4 {
|
||||
scan time 20;
|
||||
kernel table 102;
|
||||
ipv4 {
|
||||
table t102v4;
|
||||
import none;
|
||||
export filter {
|
||||
if bgp_large_community ~ [(UNET_ASN, 10,10204)] then accept;
|
||||
reject;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
protocol kernel kernel_t102v6 {
|
||||
scan time 20;
|
||||
kernel table 102;
|
||||
ipv6 {
|
||||
table t102v6;
|
||||
import none;
|
||||
export filter {
|
||||
if bgp_large_community ~ [(UNET_ASN, 10,10206)] then accept;
|
||||
reject;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user