Hello what is alternative on VyOS for black hole and null ip or ip network i mine
example on brocade is:
[color=#000000][size=small][font=Menlo, Monaco, Consolas,][color=#000000][size=small][font=Menlo, Monaco, Consolas,] and etc…[/font][/size][/color][/font][/size][/color]
[color=#000000][size=small][font=Menlo, Monaco, Consolas,][color=#000000][size=small][font=Menlo, Monaco, Consolas,]But cant find syntax for VyOS[/font][/size][/color][/font][/size][/color]
[color=#000000][size=small][font=Menlo, Monaco, Consolas,][color=#000000][size=small][font=Menlo, Monaco, Consolas,]Thx[/font][/size][/color][/font][/size][/color]
Igor
2
- create the static route to blackhole (null0)
set protocols static route 192.0.2.1/32 blackhole tag 666
- create the community list to match it in the route-map
policy {
community-list RTBH {
rule 10 {
action permit
description “RTBH”
regex 123:666
-
create the route map match your RTBH community next-hop the blackholed route and don’t export the community outside from your ASN
route-map RTBH_DOWNSTREAM {
rule 10 {
action permit
match {
community {
community-list RTBH
}
}
set {
community no-export
ip-next-hop 192.0.2.1
local-preference 200
After add the route-map in import filter on your BGP session for your downstream
@Dmitry I know it’s a old post but It can probably help some guys can you confirm if it’s correct ?