Summary

Yosef Karo Translation:Shulchan Aruch — 334

But if before he's outcast he spoke to appease the rav and he disregarded him and outcast him, he's not outcast at all to his students, and as soon as he says he'll repair what he's done wrong according to what chakhamim tell him, there's no nidui on him (MHRYK shoresh 169) . A community who ordained that a man may not cast [people] out for his honor, their takanah [ordinance] has no bearing. So if the rav stands and outcasts for his honor his nidui is nidui. (Resp. Rashba #169)
סעיף יח רב מצד המלכות ואינו רב בתורה אינו יכול לנדות לכבודו.
Source: Wikisource

Yosef Karo Translation:Shulchan Aruch — 334

Someone outcast by a student for offending his honor is not outcast to his teacher, but he's outcast to other people. (BY, from the plain language of Rambam) (who are not sages, but not sages even those lesser than him) This is specific to someone outcast not in the teacher's presence; but in the teacher's presence it's contempt (Apkiruta) , and his Rav does not honor him and may well do so.
(A rav who decreed cherem or nidui for something and his students cannot bear his decrees, do not need to fulfill them.)
Source: Wikisource

Yosef Karo Translation:Shulchan Aruch — 334

So one who guards his soul should stay far from this.
סעיף לב המנדה עצמו בעולם הזה ובעולם הבא י"א שאין לו התרה לכן שומר נפשו ירחק ממנו.
(ועיין לעיל סימן רכ"ח סעיף מ"ה) . ‎
33 A Talmid chakham who outcast to himself, may release himself, even if he was outcast according to someone else's opinion, and even for a thing that obligates a person for nidui. There's an opinion that if he was liable for nidui he cannot release himself, and an opinion that if it was by way of oath (shavua) he cannot release himself.
Source: Wikisource

Get perspective with Kwize: daily news enlightened by great literature