Add: complete the filter of internal network and downstream
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-12-27 15:31:54 +08:00
parent fdc14ca1cc
commit db8827f83e
7 changed files with 54 additions and 48 deletions

View File

@ -16,13 +16,11 @@ template bgp pub_peer {
};
}
# WIP
template bgp pub_downstream {
local as LOCAL_ASN;
# template bgp pub_downstream {
# local as LOCAL_ASN;
# ipv6 {
# import where downstream_import_filter(6939);
# export where downstream_export_filter(6939);
# };
# }
ipv6 {
import where downstream_import_filter(6939);
export where downstream_export_filter(6939);
};
}

View File

@ -1,23 +1,14 @@
# WIP
# template bgp net186 {
# local as SELFASN;
template bgp net186 {
local as SELFASN;
# interpret communities off;
interpret communities off;
# bfd on;
ipv6 {
next hop self;
# ipv6 {
# next hop self;
gateway direct;
# gateway direct;
# import filter {
# };
# export filter {
# };
# }
# }
import where net186_import_filter(101);
export where net186_import_filter(101);
};
}