I need help with my route map
I want to deny ingress and egress all network larger than /24
I need help with my route map
I want to deny ingress and egress all network larger than /24
hi ,
it’s an example that you could be used , i’ve made it for ingress but you can replicate the same logic for egress :
#prefix-list
set policy prefix-list IMPORT-IN rule 10 action 'permit'
set policy prefix-list IMPORT-IN rule 10 le '24'
set policy prefix-list IMPORT-IN rule 10 prefix '0.0.0.0/0'
#route-map
set policy route-map IMPORT-V4-IN rule 10 action 'permit'
set policy route-map IMPORT-V4-IN rule 10 match ip address prefix-list 'IMPORT-IN'
set policy route-map IMPORT-V4-IN rule 20 action 'deny'
set protocols bgp neighbor x.x.x.x address-family ipv4-unicast route-map import 'IMPORT-V4-IN'
in our documentation there is more, eg. where you can find more information :
https://docs.vyos.io/en/latest/configuration/protocols/bgp.html#route-filtering
Hello,
thank you for your answer, is there someone where you can make this configuration in exchange for payment?
Hello
it wouldn’t be something complex to do , if you have more requirement or advance configuration ,VyOS has different types of support and professional services. If you are interest in one of this services, please let us know and someone of vyos sales teams will get in contact with you.