What does it mean to send Yuan Er to Anxi?

The poem and calligraphy work "Farewell to the Second Envoy of Yuan Dynasty in Anxi" is a very famous farewell poem by Wang Wei, a famous poet in the Tang Dynasty. Also known as "Weicheng Song"

Full text: The morning rain in Weicheng is light and dusty, and the guesthouses are green and willows are new. I advise you to drink a glass of wine and leave Yangguan in the west without any old friends.

Translation: The early morning drizzle wets the dust in Weicheng; the green-brick and green-tiled hotel and the surrounding willow trees look particularly fresh and clear. Please have another drink at the farewell bar; because after you leave Yangguan in the west, you will not see your old friends there.