China is considering establishing a stock exchange to attract overseas-listed firms and bolster the global status of its onshore share markets, two people with knowledge of the matter told Reuters.