WAN Routing
Showing results for 
Search instead for 
Did you mean: 

MSR50-40 Router with BGP AS-Path Prepend

Go to solution
Occasional Advisor

MSR50-40 Router with BGP AS-Path Prepend

Hi Guys - I'm purchasing some new routers for my ISP circuits.  Need to find out of the MSR50-40 router will allow you to apply AS-Path Prepends.  In looking at the documentation - they show an example of the AS-Path without any prepending.  Anyone make this work before?


This is the example from the HP guide:




Configure node 10 in permit mode of routing policy policy1: add AS number 200 before the original 
AS_PATH attribute of BGP routing information matching AS-PATH list 1. 
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply as-path 200


This site has an example of what I'm trying to do.  The AS-Path 65000 is prepended three times at the end:



router bgp 65000
 no synchronization
 bgp log-neighbor-changes
 network mask
 neighbor remote-as 64800
 neighbor remote-as 64800
 neighbor route-map prepend out
route-map prepend permit 10
 set as-path prepend 65000 65000 65000
Occasional Advisor

Re: MSR50-40 Router with BGP AS-Path Prepend

For those interested - an HP Solutions architect came back with the required settings for the AS Path Prepend on the MSR Series Routers.  These routers do support the feature.


R&D confirmed to me that BGP prepend is supported on MSR. This is the configuration command:


apply as-path as-number&<1-10> [ replace ]


If I understand the parameter correctly it functions similar to the Cisco equipment but the syntax is a little different.



This is the typical command we would see the prepend the as number 3 times:


set as-path prepend 65000 65000 65000


MSR50 Equivalent:

The HP MSR syntax has an integer after your AS number that shows how many times you wish to prepend:


apply as-path 65000 3