How do i setup a BGP inbound filter that allows only 1 AS

Reply
Highlighted
L4 Transporter

How do i setup a BGP inbound filter that allows only 1 AS

Been looking and googling and can't find it .

 

so I have created a BGP import filter.

attached to router group.

But the match ...  "AS Path Regular Expression"

 

what do i put in there to limit it to 1 AS

 

Find it hard to believe somebody hasn't done this. Also the doco ... sigh

 

I'm thinking something like

 

^[^_]*$

might work . not even sure is pa regex is standards compliant

Highlighted
L4 Transporter

Gave it a try

seems to work !

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 Live Community as a whole!

The Live Community thanks you for your participation!