The United Nations said Tuesday it was protecting 10,000 civilians at two bases in South Sudan's capital Juba, and urged the warring groups to refrain from ethnic violence.