Hi to all
Many years ago, I did the following configuration:
prefix-list ASXXXXX-BH-out {
rule 1 {
action permit
ge 32
prefix 0.0.0.0/0
}
}
I have to adming that I don’t really remember what it does.
It should “catch” all prefixes greater than /32, right? Thus, it should catch everything.
What is strange is that these prefixes should be put in blackholing, due to this:
route-map eBGP-EXPORT {
rule 1 {
action permit
description "BGP Blackholing IPv4"
match {
ip {
address {
prefix-list ASXXXXX-BH-out
}
}
tag 666
}
set {
community XXXXX:666
}
}
If I set a null-route to a single ip with this:
set protocol static route 1.2.3.4/32 blackhole
In fact, on my peer router, I’m able to see 1.2.3.4/32 with the proper community set to XXXXX:666
Some questions:
- why is this working?
- my prefix-list, shouldn’t catch everything and thus setting the same community to everything?