DVR’s (Digital Video Recorder) usually has composite video inputs (BNC or RCA type jacks). NVR’s (Network Video Recorder) typically record IP cameras directly off the network. Of course, DVR manufacturers are now producing hybrid solutions that are usually DVR’s with NVR software built in.
That being said, if you are recording video from an IP camera, the camera is plugged into the switch, and the NVR or DVR/NVR hybrid machine will plug into the switch as well. The recorder will then need to be configured to point to the camera, and have the recording parameters set up. The typical things you will set are recording frame rate, video quality, video size (1CIF, 4 CIF), etc. If you want to get into more advanced settings, you can do motion detection, record on alarm, etc. The available settings really depend on the type of recorder you have.