Protecting the CPU of a router from high rates of specific traffic types like NTP, SNMP, and SSH involves implementing Control Plane Policing (CoPP). CoPP uses policy maps and class maps to define actions for traffic that exceeds specified thresholds. The configurations must include a class map to classify the traffic, a policy map to define the policing actions, and applying the policy map to the control plane.