Fix : OSPF import filter change
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
protocol ospf v3 ospf_ipv4 {
|
protocol ospf v3 ospf_ipv4 {
|
||||||
ipv4 {
|
ipv4 {
|
||||||
table ospf4;
|
table ospf4;
|
||||||
import all;
|
import filter {
|
||||||
|
bgp_large_community.add((UNET_ASN,1,0));
|
||||||
|
accept;
|
||||||
|
};
|
||||||
export filter {
|
export filter {
|
||||||
if bgp_large_community !~ [(UNET_ASN, 301,0)] then reject;
|
if bgp_large_community !~ [(UNET_ASN, 301,0)] then reject;
|
||||||
accept;
|
accept;
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
protocol ospf v3 ospf_ipv6 {
|
protocol ospf v3 ospf_ipv6 {
|
||||||
ipv6 {
|
ipv6 {
|
||||||
table ospf6;
|
table ospf6;
|
||||||
import all;
|
import filter {
|
||||||
|
bgp_large_community.add((UNET_ASN,1,0));
|
||||||
|
accept;
|
||||||
|
};
|
||||||
export filter {
|
export filter {
|
||||||
if bgp_large_community !~ [(UNET_ASN, 301,0)] then reject;
|
if bgp_large_community !~ [(UNET_ASN, 301,0)] then reject;
|
||||||
accept;
|
accept;
|
||||||
|
|||||||
Reference in New Issue
Block a user