In this study, we used a lepidopteran pest O. furnacalis to analyze the regulatory mechanism of NO on AMP production and found that bacterial infection can upregulate the expression of NOS, CanA and certain AMPs through NO production. The gene discussed is NOS2; the disease is bacterial infectious disease.