I have two rout maps which I apply to a BGP import, the first is responsible for setting informational communities and the second one does the actual filtering. However it still allows RPKI invalid routes to pass.
route-map rm-as41051-in {
rule 1 {
action permit
call rm-internet-in
set {
large-community {
add 213422:1:41051
}
}
}
}
route-map rm-internet-in {
rule 1 {
action deny
match {
as-path apl-bogon-asns
}
}
rule 2 {
action deny
match {
ipv6 {
address {
prefix-list pl6-bogons
}
}
}
}
rule 3 {
action deny
match {
ipv6 {
address {
prefix-list pl6-tiny-prefix
}
}
}
}
rule 4 {
action deny
match {
rpki invalid
}
}
rule 5 {
action deny
match {
ipv6 {
address {
prefix-list pl6-ixp-lan
}
}
}
}
rule 65535 {
action permit
set {
large-community {
add 213422:0:3
}
}
}
}
Does anyone know why the call does not do what I expect it to?
I’m on Stream Q2