How to set uvm_config_db for multiple instances.?

Have you tried using only output_intf instead of output_intf[i] in the instance creation and set?