Hi,
In BGP configuration i want to advertise routes with one AS to FW.
*> 10.0.0.0/24 10.10.1.1 0 0 0 65001 65101 65111 65150?
Do someone know how to do it?
Regards
Hi,
In BGP configuration i want to advertise routes with one AS to FW.
*> 10.0.0.0/24 10.10.1.1 0 0 0 65001 65101 65111 65150?
Do someone know how to do it?
Regards
Hello Maja
It depends on exactly what you want to do. Do you want this route to be shared with its neighbors and to have some ASes removed from the AS path so that only one AS will remain? That means that you want to replace the 65001 65101 65111 65150 AS path with something else, correct? If this is the case, it’s not something that is commonly done and it is not quite straightforward. There are ways to do it, but it is difficult for good reason… to allow BGP to remain stable. You can prepend certain AS numbers using a route map and the set as-path
command, but changing the actual AS path directly is more difficult. IF this is what you want to do, let me know so I can shed some more light on it…
However, it is more likely that you want to advertise only routes that have a single AS in their AS Path, correct? If that is the case, you can use AS path filtering that will only allow particular AS Paths to be advertised, and others not to be advertised. Take a look at this lesson for more information:
One last thing. Because your ASes are private ASes in the range of 64512 to 65534, you can use the Remove Private AS Numbers feature to have them all removed. Then you could add whatever AS numbers you like using the AS path prepending feature. This resolves your particular scenario, but would not work if your ASes were public. For more info about the remove private AS feature, take a look at:
I hope this has been helpful!
Laz