000
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
function function_dn42_ibgp_import() {
|
||||
bgp_large_community.delete((DN42_ASN,3,1));
|
||||
if is_dn42_self_net() then return false;
|
||||
if !is_dn42_prefix() then return false;
|
||||
if bgp_large_community ~ [(DN42_ASN, 1,*)] then return false;
|
||||
@@ -6,6 +7,7 @@ function function_dn42_ibgp_import() {
|
||||
}
|
||||
|
||||
function function_dn42_ibgp_export() {
|
||||
bgp_large_community.delete((DN42_ASN,3,1));
|
||||
if is_dn42_self_net() then return false;
|
||||
if !is_dn42_prefix() then return false;
|
||||
if bgp_large_community ~ [(DN42_ASN, 1,*)] then return false;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
function function_inet_ibgp_import() {
|
||||
bgp_large_community.delete((LOCAL_ASN,3,1));
|
||||
if is_self_net() then return false;
|
||||
if is_bogon_prefix() then return false;
|
||||
if bgp_large_community ~ [(LOCAL_ASN, 1,*)] then return false;
|
||||
@@ -6,6 +7,7 @@ function function_inet_ibgp_import() {
|
||||
}
|
||||
|
||||
function function_inet_ibgp_export() {
|
||||
bgp_large_community.delete((LOCAL_ASN,3,1));
|
||||
if is_self_net() then return false;
|
||||
if is_bogon_prefix() then return false;
|
||||
if bgp_large_community ~ [(LOCAL_ASN, 1,*)] then return false;
|
||||
|
||||
Reference in New Issue
Block a user