Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

BGP Route statement

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

1 ACCEPTED SOLUTION

Accepted Solutions
Super Bronze

Re: BGP Route statement

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...

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!
1 REPLY
Super Bronze

Re: BGP Route statement

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...

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!
158
Views
0
Helpful
1
Replies
CreatePlease to create content