Here is a good link describing the wiring schemes.
http://www.infocellar.com/networks/new-tech/PoE/PoE.htm