How do I Program the cable box to control the volume and on/off functionality on a Samsung Series 6 TV?

How do I program the Cox cable box to control the volume and on/off functionality on a Samsung Series 6 TV?