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

MSR50-40 Router with BGP AS-Path Prepend

 
SOLVED
Go to solution
Highlighted
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:

 

http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02659395/c02659395.pdf

 

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:

 

http://wiki.nil.com/AS-path_prepending_(technical_details)

router bgp 65000
 no synchronization
 bgp log-neighbor-changes
 network 10.7.1.0 mask 255.255.255.0
 neighbor 10.0.1.2 remote-as 64800
 neighbor 10.0.1.6 remote-as 64800
 neighbor 10.0.1.6 route-map prepend out
!
route-map prepend permit 10
 set as-path prepend 65000 65000 65000
1 REPLY 1
Highlighted
Occasional Advisor
Solution

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.

 

Example:

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