19 lines
578 B
Plaintext
19 lines
578 B
Plaintext
template bgp tpl_inet6_ixp {
|
|
graceful restart;
|
|
local as LOCAL_ASN;
|
|
ipv6 {
|
|
table inet6;
|
|
import filter {
|
|
if is_self_net_v6() then reject;
|
|
if is_bogon_prefix() || (bgp_path.len > 100) then reject;
|
|
accept;
|
|
};
|
|
export filter {
|
|
if !is_self_net_v6() then reject;
|
|
if is_bogon_prefix() || (bgp_path.len > 100) then reject;
|
|
if bgp_large_community !~ [(LOCAL_ASN, 200,0)] then reject;
|
|
bgp_large_community.empty;
|
|
accept;
|
|
};
|
|
};
|
|
} |