The switches I'm using for feeding multiple Ethernets to Raspberry Pi are Zyxel GS1200 series. Their manuals should be available online to look how they are used.
The other inexpensive switches are pretty similar. Most of them are using chips like the ks8995 from Micrel. There is a pretty good description of the works in the datasheet. The switch devices do not always use all the features of the chips, however.