Quantcast
Channel: All EdgeRouter posts
Viewing all articles
Browse latest Browse all 60861

Issues with BGP AS pre pend

$
0
0

 

Hello,

 

Im am having some Issues with AS pre pend using EdgeRouter pros.

 

When I run "show ip bgp neighbors advertised-routes"
The path that is displayed looks like how I have configured the devices,
but the received routes on the cisco show it as wrong.
I cant seem to rectify this issue.

 

Below is the advertised routes of the ER and the received of the Cisco .

 

ER-Pro
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 8.8.8.0/24 2.2.2.2 100 32768 AS i
*> 9.9.9.0/25 2.2.2.2 100 0 AS AS i
*> 9.9.9.128/25 2.2.2.2 100 0 AS AS i

 

CISCO 7301
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path
*> 8.8.8.0/24 2.2.2.2 0 AS AS i
*> 9.9.9.0/25 2.2.2.2 0 AS i
*> 9.9.9.128/25 2.2.2.2 0 AS i

 

These are the commands on the ER

 

set policy route-map OUT rule 10 action permit
set policy route-map OUT rule 10 match ip address prefix-list 1
set policy route-map OUT rule 10 set as-path-prepend AS
set policy route-map OUT rule 11 action permit
set policy route-map OUT rule 11 match ip address prefix-list 2
set policy route-map OUT rule 11 set as-path-prepend 'AS AS'
set policy route-map OUT rule 12 action permit
set policy route-map OUT rule 12 match ip address prefix-list 3
set policy route-map OUT rule 12 set as-path-prepend 'AS AS'
set policy prefix-list 1 rule 1 action permit
set policy prefix-list 1 rule 1 prefix 8.8.8.0/24
set policy prefix-list 3 rule 1 action permit
set policy prefix-list 3 rule 1 prefix 9.9.9.0/25
set policy prefix-list 2 rule 1 action permit
set policy prefix-list 2 rule 1 prefix 9.9.9.128/25

 

Any help is appreciated.


Viewing all articles
Browse latest Browse all 60861

Trending Articles