Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

BGP filtering question

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

BGP filtering question

L4 Transporter

I am trying to migrate from RouterOS BGP setup.

 

I have filter rule like

chain=BGPINFilter-common prefix=10.32.0.0/14 prefix-length=14-32 invert-match=no action=discard set-bgp-prepend-path=""

 

basically it drops all prefixs for 10.32.0.0/14 down to /32's

 

how can I do this on the pa.

I have something like this

set template ybopa config  network virtual-router vr_ybopa_default protocol bgp policy import rules BGPINFilter-common match address-prefix 10.32.0.0/14 exact no

 

I presume this means it will drop 10.32.0.0/14 and anything with longer prefix 

 

and if I select exact it will only match 10.32.0.0/14

1 accepted solution

Accepted Solutions

L2 Linker

Hi Alex,

 

Yes, your understanding is right on this.

 

So it would reject all the prefixes from /14-32 if exact match is no 

 

Also be little careful to have allow rule below deny for rest of the networks, it works in top down approach.

View solution in original post

1 REPLY 1

L2 Linker

Hi Alex,

 

Yes, your understanding is right on this.

 

So it would reject all the prefixes from /14-32 if exact match is no 

 

Also be little careful to have allow rule below deny for rest of the networks, it works in top down approach.

  • 1 accepted solution
  • 2479 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!