q
This commit is contained in:
@@ -5,7 +5,7 @@ template bgp dn42_bgp_up {
|
||||
table dn42v4;
|
||||
import filter {
|
||||
if !is_dn42_prefix() then reject;
|
||||
if is_self_net_dn42v4() then reject;
|
||||
if is_dn42_self_net() then reject;
|
||||
bgp_large_community.add((DN42_ASN,200,0));# 传输到Ebgp
|
||||
accept;
|
||||
};
|
||||
@@ -22,7 +22,7 @@ template bgp dn42_bgp_up {
|
||||
table dn42v6;
|
||||
import filter {
|
||||
if !is_dn42_prefix() then reject;
|
||||
if is_self_net_dn42v6() then reject;
|
||||
if is_dn42_self_net() then reject;
|
||||
bgp_large_community.add((DN42_ASN,200,0));# 传输到Ebgp
|
||||
accept;
|
||||
};
|
||||
@@ -48,13 +48,13 @@ template bgp dn42_ibgp {
|
||||
import filter {
|
||||
if bgp_large_community ~ [(DN42_ASN, 1,*)] then reject;
|
||||
if !is_dn42_prefix() then reject;
|
||||
if is_self_net_dn42v4() then reject;
|
||||
if is_dn42_self_net() then reject;
|
||||
accept;
|
||||
};
|
||||
export filter {
|
||||
if bgp_large_community ~ [(DN42_ASN, 1,*)] then reject;
|
||||
if !is_dn42_prefix() then reject;
|
||||
if is_self_net_dn42v4() then reject;
|
||||
if is_dn42_self_net() then reject;
|
||||
accept;
|
||||
};
|
||||
};
|
||||
@@ -65,13 +65,13 @@ template bgp dn42_ibgp {
|
||||
import filter {
|
||||
if bgp_large_community ~ [(DN42_ASN, 1,*)] then reject;
|
||||
if !is_dn42_prefix() then reject;
|
||||
if is_self_net_dn42v6() then reject;
|
||||
if is_dn42_self_net() then reject;
|
||||
accept;
|
||||
};
|
||||
export filter {
|
||||
if bgp_large_community ~ [(DN42_ASN, 1,*)] then reject;
|
||||
if !is_dn42_prefix() then reject;
|
||||
if is_self_net_dn42v6() then reject;
|
||||
if is_dn42_self_net() then reject;
|
||||
accept;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user