Looking for a way to strip my own ASN from advertisements being passed in from one peer out to another in a similar fashion to what is done in IX's to lower the AS-path distance between peers.
Is this possible on RouterOS at present? I can't seem to find any info about any similar commands to the cisco/junos equivalents.
Ie:
Code: Select all
neighbor <ip / peer group> attribute-unchanged as-path
Code: Select all
function bgp_out(int peerasn; bool prepend_self)
{
if prepend_self then
{
bgp_path.prepend(ixasn);
}