Buffalo Mayor Sean Ryan committed Thursday to having National Grid replace all downed street lights, which could take up to two years.