cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
509
Views
0
Helpful
3
Replies

BGP as-path Access-list

The_guroo_2
Level 2
Level 2

guys if we use permit ^$ what does that mean ??? will it allow routes or not???? cheers

3 Replies 3

Jon Marshall
Hall of Fame
Hall of Fame

It will allow routes from within the same AS but not from any other AS so they could be received from an IGBP session but not an EBGP session.

Jon

HI, [Pls Rate all Informative POST]

In addition to Jon POST, refer link below for cisco Document on, Using Regular Expression in BGP.

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094a92.shtml

Hope I am Informative.

Pls Rate all Informative POST

Best Regards,

Guru Prasad R

Hi:

That regexp (regular expression) is typically used to ensure that an AS that has connections to 2 separate Autonomous Systems (ISPs, typically) does not act as a transit AS and allow routes advertised by one ISP to be advertised over to the other.

So, AS 100 has a BGP connection to AS 200 and AS 300. As 300 advertises prefixes to AS 100, but AS 100 makes sure that it does not pass those routes, and instead advertises ONLY the local prefixes, as Jon pointed out.

HTH

Victor

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco