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

Announcements

Changes to the LIVEcommunity experience are coming soon... Here's what you need to know.

Reply
Alex_Samad
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


Accepted Solutions
Alex_Samad
L4 Transporter

Gave it a try

seems to work !

View solution in original post


All Replies
Alex_Samad
L4 Transporter

Gave it a try

seems to work !

View solution in original post

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!