update
parent
485d5fe9e0
commit
4a00d50144
2
ansible
2
ansible
|
@ -1 +1 @@
|
|||
Subproject commit 7a151339890f07698fe8f61f4edff8b2a6469769
|
||||
Subproject commit 9e8f3f2707b0ee53c3b23656efaa89db9aae0138
|
|
@ -6,7 +6,8 @@ function net186_import_filter(int POPID)
|
|||
|
||||
if (LOCAL_ASN, 122, REGION) !~ bgp_large_community then bgp_large_community.add((LOCAL_ASN, 122, REGION));
|
||||
|
||||
if bgp_large_community ~ [(LOCAL_ASN, 110, 0), (LOCAL_ASN, 110, 2), (LOCAL_ASN, 110, 20)] then bgp_local_pref = 500;
|
||||
if public_bgp_path.len = 1 then bgp_local_pref = 550;
|
||||
else if bgp_large_community ~ [(LOCAL_ASN, 110, 0), (LOCAL_ASN, 110, 2), (LOCAL_ASN, 110, 20)] then bgp_local_pref = 500;
|
||||
else if bgp_large_community ~ [(LOCAL_ASN, 110, 1), (LOCAL_ASN, 110, 10)] then bgp_local_pref = 400;
|
||||
else bgp_local_pref = 300;
|
||||
|
||||
|
|
Loading…
Reference in New Issue