He encircled the edge of his head
He made a haircut of his hair in a round shape surrounding the head (see Rashi's commentary here).
("You shall not cut the corners of your head, nor shall you mar the corners of your beard" - and he read 19:27, and so on: "You shall not cut the corners of your head - this is the portion of his hair that extends behind his ears and to his forehead, and the circumference of his head is found to be a round calf, with the roots of his hair above the back of his ears and above his many folds" - Rashdi"i and he read 19:27, and so on: "If you circumcise the corners of your head The one who is planted and the one who corrupts his beard, which was this, is also one of the ways of the rebels of Akkum" - Abarbanel and he read 18:23)
Translation
Expression (Hebrew)
הִקִּיף פְּאַת רֹאשׁוֹ
Definition (Hebrew)
עָשָׂה תִּסְפֹּרֶת לְשַׁעֲרוֹ בְּצוּרָה עֲגֻלָּה הַמַּקִּיפָה אֶת הָרֹאשׁ (רְאֵה פֵּרוּשׁ רָשִׁ"י לְהַלָּן).
("לֹא תַקִּפוּ פְּאַת רֹאשְׁכֶם וְלֹא תַשְׁחִית אֵת פְּאַת זְקָנֶךָ"- וַיִּקְרָא יט כז, וְכֵן:"לֹא תַקִּפוּ פְּאַת רֹאשְׁכֶם- זֶה הַמַּשְׁוֶה צְדָעָיו לַאֲחוֹרֵי אָזְנוֹ וּלְפַדַּחְתּוֹ, וְנִמְצָא הֶקֵּף רֹאשׁוֹ עָגֹל סָבִיב, שֶׁעַל אֲחוֹרֵי אָזְנָיו עִקְּרֵי שְׂעָרוֹ לְמַעְלָה מִצְּדָעָיו הַרְבֵּה"- רָשִׁ"י וַיִּקְרָא יט כז, וְכֵן:"אֵם לְהַקִּיף פְּאַת רֹאשׁ הַנּוֹטֵעַ וְהַשְׁחָתַת זְקָנוֹ שֶׁהָיָה זֶה גַּם כֵּן מִדַּרְכֵי כָּמְרֵי עַכּוּ"ם"- אַבַּרְבַּנְאֵל וַיִּקְרָא יח כג)