How to connect 2 poe switch to nvr and router ?

Apr 12, 2023
23
3
india
Hello everyone. Posting first time here so please forgive any error. I want to connect my hikvision 7616ni k2 nvr to two hikvision
DS-3E0310P-E/M poe switch with router. What's the way to do it. This poe switch has 8 10/100 poe ports with 2 gigabit rj45 uplink ports . I don't want to use router as middleman.

ps: thanks in advance