diff --git a/src/sonic-config-engine/minigraph.py b/src/sonic-config-engine/minigraph.py index 21df24f22564..5590492aa1a8 100644 --- a/src/sonic-config-engine/minigraph.py +++ b/src/sonic-config-engine/minigraph.py @@ -1946,7 +1946,8 @@ def parse_xml(filename, platform=None, port_config_file=None, asic_name=None, hw if static_routes: # Enable static Route BFD by default for static route in chassis-packet if switch_type == "chassis-packet": - static_routes['bfd'] = "true" + for pfx, data in static_routes.items(): + data.update({"bfd":"true"}) results['STATIC_ROUTE'] = static_routes for nghbr in list(neighbors.keys()):