解决环路
This commit is contained in:
@@ -5,7 +5,6 @@ protocol pipe unet4_inet4_sync {
|
|||||||
export filter {
|
export filter {
|
||||||
if bgp_large_community ~ [(UNET_ASN, 3,*)] then reject;
|
if bgp_large_community ~ [(UNET_ASN, 3,*)] then reject;
|
||||||
if is_bogon_prefix() then reject;
|
if is_bogon_prefix() then reject;
|
||||||
bgp_path.empty;
|
|
||||||
accept;
|
accept;
|
||||||
};
|
};
|
||||||
import none;
|
import none;
|
||||||
@@ -17,7 +16,6 @@ protocol pipe unet6_inet6_sync {
|
|||||||
export filter {
|
export filter {
|
||||||
if bgp_large_community ~ [(UNET_ASN, 3,*)] then reject;
|
if bgp_large_community ~ [(UNET_ASN, 3,*)] then reject;
|
||||||
if is_bogon_prefix() then reject;
|
if is_bogon_prefix() then reject;
|
||||||
bgp_path.empty;
|
|
||||||
accept;
|
accept;
|
||||||
};
|
};
|
||||||
import none;
|
import none;
|
||||||
@@ -31,7 +29,6 @@ protocol pipe unet4_dn42v4_sync {
|
|||||||
export filter {
|
export filter {
|
||||||
if bgp_large_community ~ [(UNET_ASN, 3,*)] then reject;
|
if bgp_large_community ~ [(UNET_ASN, 3,*)] then reject;
|
||||||
if !is_dn42_prefix() then reject;
|
if !is_dn42_prefix() then reject;
|
||||||
bgp_path.empty;
|
|
||||||
accept;
|
accept;
|
||||||
};
|
};
|
||||||
import none;
|
import none;
|
||||||
@@ -43,7 +40,6 @@ protocol pipe unet6_dn42v6_sync {
|
|||||||
export filter {
|
export filter {
|
||||||
if bgp_large_community ~ [(UNET_ASN, 3,*)] then reject;
|
if bgp_large_community ~ [(UNET_ASN, 3,*)] then reject;
|
||||||
if !is_dn42_prefix() then reject;
|
if !is_dn42_prefix() then reject;
|
||||||
bgp_path.empty;
|
|
||||||
accept;
|
accept;
|
||||||
};
|
};
|
||||||
import none;
|
import none;
|
||||||
|
|||||||
Reference in New Issue
Block a user