fix
This commit is contained in:
@@ -22,7 +22,7 @@ function function_dn42_bgp_export_to_upstream1() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function function_inet_control_bgp_upstream1(int peer_asn){
|
function function_dn42_control_bgp_upstream1(int peer_asn){
|
||||||
# 1.禁止带有 201 0 (禁止一切外发) 301 0(禁止下游段子转发)的发出去
|
# 1.禁止带有 201 0 (禁止一切外发) 301 0(禁止下游段子转发)的发出去
|
||||||
if bgp_large_community ~ [(DN42_ASN, 201, 0)] then return false;
|
if bgp_large_community ~ [(DN42_ASN, 201, 0)] then return false;
|
||||||
if bgp_large_community ~ [(DN42_ASN, 301, 0)] then return false;
|
if bgp_large_community ~ [(DN42_ASN, 301, 0)] then return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user