Local attack defense restricts the packets to be sent to the CPU through attack source tracing, TCP/IP attack defense, CAR, application layer association, and management/control plane protection to ensure the device security and normal service processing on the CPU.