We are studying intrusion detection today. We design a Component-based Mlti-Level Distributed Intrusion Detection System (CMLDIDS). It combine the network-based IDS and host-based IDS into a system, and provide detection, report and response together.