Fortinet white logo
Fortinet white logo

New Features

Increased AS path item for BGP route maps

Increased AS path item for BGP route maps

The maximum item for set-aspath in BGP route maps has been increased from 79 to 255 characters. This allows support for longer AS path prepending, enabling advanced self-healing configurations in large-scale networks.

The following example demonstrates how set-aspath allows repeated, multiple entries up to 255:

config router route-map
    edit "22"
        config rule
            edit 1
                set set-aspath 4294967295 4294967295 4294967295 4294967295 4294967295 4294967295 4294967295 4267295 4294967295 4294967295 4294967295 4294967295
                unset set-ip-prefsrc
            next
        end
    next
end

Multiple entries are also supported here:

get router info bgp network
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

VRF 0 BGP table version is 17, local router ID is 10.200.1.1
   Network          Next Hop            Metric     LocPrf Weight RouteTag Path
*> 10.200.1.0/24    0.0.0.0                       100  32768        0 i <0/1>
*>i10.200.1.100/32  10.200.1.100    0             100      0        0 4294967295 4294967295 4294967295 4294967295 4294967295 4294967295 4294967295 4267295 4294967295 4294967295 4294967295 4294967295 i <0/1>
*>i10.200.1.101/32  10.200.1.101    0             100      0        0 i <0/1>

Total number of prefixes 3

Increased AS path item for BGP route maps

Increased AS path item for BGP route maps

The maximum item for set-aspath in BGP route maps has been increased from 79 to 255 characters. This allows support for longer AS path prepending, enabling advanced self-healing configurations in large-scale networks.

The following example demonstrates how set-aspath allows repeated, multiple entries up to 255:

config router route-map
    edit "22"
        config rule
            edit 1
                set set-aspath 4294967295 4294967295 4294967295 4294967295 4294967295 4294967295 4294967295 4267295 4294967295 4294967295 4294967295 4294967295
                unset set-ip-prefsrc
            next
        end
    next
end

Multiple entries are also supported here:

get router info bgp network
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

VRF 0 BGP table version is 17, local router ID is 10.200.1.1
   Network          Next Hop            Metric     LocPrf Weight RouteTag Path
*> 10.200.1.0/24    0.0.0.0                       100  32768        0 i <0/1>
*>i10.200.1.100/32  10.200.1.100    0             100      0        0 4294967295 4294967295 4294967295 4294967295 4294967295 4294967295 4294967295 4267295 4294967295 4294967295 4294967295 4294967295 i <0/1>
*>i10.200.1.101/32  10.200.1.101    0             100      0        0 i <0/1>

Total number of prefixes 3