The weight attribute is proprietary to Cisco and is an attribute that is determined locally on the router. The preference in selection is to the highest weight on the router.