change 4.0
This commit is contained in:
@@ -5,7 +5,7 @@ template bgp unet_bgp_up0 {
|
||||
table unet4;
|
||||
import filter {
|
||||
if !unet_is_valid_network_v4_allnet() then reject;
|
||||
if unet_is_self_net() then reject;
|
||||
if is_unet_self_net() then reject;
|
||||
bgp_large_community.add((UNET_ASN,200,0));
|
||||
accept;
|
||||
};
|
||||
@@ -21,7 +21,7 @@ template bgp unet_bgp_up0 {
|
||||
table unet6;
|
||||
import filter {
|
||||
if !unet_is_voalid_net_v6() then reject;
|
||||
if unet_is_self_net_v6() then reject;
|
||||
if is_unet_self_net() then reject;
|
||||
bgp_large_community.add((UNET_ASN,200,0));
|
||||
accept;
|
||||
};
|
||||
@@ -42,7 +42,7 @@ template bgp unet_bgp_up1 {
|
||||
table unet4;
|
||||
import filter {
|
||||
if !unet_is_valid_network_v4() then reject;
|
||||
if unet_is_self_net() then reject;
|
||||
if is_unet_self_net() then reject;
|
||||
bgp_large_community.add((UNET_ASN,200,0));
|
||||
accept;
|
||||
};
|
||||
@@ -68,13 +68,13 @@ template bgp unet_ibgp {
|
||||
import filter {
|
||||
if bgp_large_community ~ [(UNET_ASN, 1,*)] then reject;
|
||||
if !unet_is_valid_network_v4_allnet() then reject;
|
||||
if unet_is_self_net() then reject;
|
||||
if is_unet_self_net() then reject;
|
||||
accept;
|
||||
};
|
||||
export filter {
|
||||
if bgp_large_community ~ [(UNET_ASN, 1,*)] then reject;
|
||||
if !unet_is_valid_network_v4_allnet() then reject;
|
||||
if unet_is_self_net() then reject;
|
||||
if is_unet_self_net() then reject;
|
||||
accept;
|
||||
};
|
||||
};
|
||||
@@ -85,13 +85,13 @@ template bgp unet_ibgp {
|
||||
import filter {
|
||||
if bgp_large_community ~ [(UNET_ASN, 1,*)] then reject;
|
||||
if !unet_is_voalid_net_v6() then reject;
|
||||
if unet_is_self_net_v6() then reject;
|
||||
if is_unet_self_net() then reject;
|
||||
accept;
|
||||
};
|
||||
export filter {
|
||||
if bgp_large_community ~ [(UNET_ASN, 1,*)] then reject;
|
||||
if !unet_is_voalid_net_v6() then reject;
|
||||
if unet_is_self_net_v6() then reject;
|
||||
if is_unet_self_net() then reject;
|
||||
accept;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user