Closed kefins closed 2 years ago
@kefins Thanks for this.
set as-path replace
sounds like something we should be able to implement without much difficulty. IOS's version of this command is similar enough to FRR's that I think it should be a relatively simple change.bgp bestpath as-path multipath-relax
at the router bgp
level. It appears we support this. Regarding the slack thread about maximum-paths support: We simply treats the numerical argument as either 1
or infinity
, i.e. single path or multipath.aggregate-address 11.20.144.0 255.255.240.0 summary-only advertise-map RP_DENY_IBGP_PEER_IP attribute-map RP_DR_OPEN_SET_COMM
advertise-map
at this time. More generally, Batfish currently doesn't support setting properties of aggregate routes based on a combination of properties of contributors. Supporting this feature will require significant changes to Batfish's aggregate generation pipeline. Adding this support is not on the horizon at this time.@arifogel
Thank you for your replying.
It's really a good news, set as-path replace
is necessary for my snapshot, from which should verify a network loop. But now batfish gives no loop. So if there is a patch, please let me know as soon as possible.
Thank you again.
Hi, @arifogel
May I ask when will this patch be released? I need to verify a loop which was produced by bgp as-path replace
.
Turns out it was nothing like the FRR construct, but I was able to churn out support anyhow. May take some time for review, but should be in soon.
OK, thank you so much.
Hi, I got some warning while parsing Cisco IOS snapshot, here is the detail warning.
And the unrecognized commands are
set as-path replace 65031
andmaximum-paths eibgp as-path-relax
, the feature is not currently supported command isaggregate-address 11.20.144.0 255.255.240.0 summary-only advertise-map RP_DENY_IBGP_PEER_IP attribute-map RP_DR_OPEN_SET_COMM
.After talking about these commands with @arifogel , who said some of them had been support on FRR. I wonder if they can be migrated to Cisco IOS.
set as-path replace
maximum-paths eibgp as-path-relax
aggregate-address 11.20.144.0 255.255.240.0 summary-only