BGP Route statement

Answered Question

I am not clear on the exact meaning of "match as-path 3" in the following route statement, how does it translate?


route-map SET_LOC_PREF permit 10

match as-path 3


Correct Answer by Aaron Harrison about 6 years 11 months ago

Hi


Elsewhere in your config, you should have a line starting:


ip as-path access-list 3


That is what the '3' refers to ... the regular expressions after the permit/deny statements in the ACL match the AS-Path attribute of the BGP prefixes..


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



Regards


Aaron


Please rate helpful posts...

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Aaron Harrison Wed, 03/10/2010 - 15:14

Hi


Elsewhere in your config, you should have a line starting:


ip as-path access-list 3


That is what the '3' refers to ... the regular expressions after the permit/deny statements in the ACL match the AS-Path attribute of the BGP prefixes..


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



Regards


Aaron


Please rate helpful posts...

Actions

This Discussion