diff --git a/ansible/library/generate_golden_config_db.py b/ansible/library/generate_golden_config_db.py index f18db16d0f6..f80ca119484 100644 --- a/ansible/library/generate_golden_config_db.py +++ b/ansible/library/generate_golden_config_db.py @@ -362,8 +362,9 @@ def generate(self): # update dns config config = self.update_dns_config(config) - # To enable bmp feature - if self.check_version_for_bmp() is True: + # To enable bmp feature when the image version is >= 202411 and the device is not supervisor + # Note: the Chassis supervisor is not holding any BGP sessions so the BMP feature is not needed + if self.check_version_for_bmp() is True and device_info.is_supervisor() is False: if multi_asic.is_multi_asic(): config = self.overwrite_feature_golden_config_db_multiasic(config, "bmp") else: