Although SNMP Simple Network Management Protocol is a common method, some friends do not apply to this Protocol. Next we will briefly discuss how to disable the SNMP protocol service in various systems. We hope you can learn these methods.
Disable the SNMP protocol service
To avoid the security risks caused by the SNMP service, the most thorough method is to disable SNMP. If you do not use the Simple Network Management Protocol of SNMP to manage the network, there is no need to run it; if you do not know whether it is necessary to run SNMP, you may not actually need it. Even if you plan to use SNMP later, you should disable it as long as it is useless now, enable SNMP until it is used 。
The following describes how to disable the SNMP service on common platforms 。
◆ Disable the SNMP protocol service for Windows XP and Windows 2000
In XP and Windows 2 K, right-click "my computer" and choose "manage". Expand "services and applications", "services ", select the SNMP service from the service list and stop the service. Then, open the "properties" dialog box of the service and set the start type to "disabled" (according to Microsoft's default settings, windows 2 K/XP does not install the SNMP service by default, but many software will automatically install the service )。
◆ Disable the SNMP protocol service in Windows NT 4.0
Select "start" "Configure", open the service setup program, select the SNMP service in the service list, stop the service, and disable the Startup type 。
◆ Disable the SNMP protocol service in Windows 9x
Open the network setup program of the control panel. On the "configuration" Page, select "Microsoft SNMP agent" from the list of installed components ", click "delete". Check HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ RunServices and HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ runregistration key to confirm that snmp.exe does not exist 。
◆ Cisco Systems hardware disables the SNMP protocol service
For Cisco network hardware, run the "no SNMP-server" command to disable the SNMP service. If you want to check whether SNMP is disabled, you can run the "show SNMP" command. These commands are only applicable to platforms running Cisco IOS. For non-IOS Cisco devices, see the random documentation 。
◆ HP hardware disables the SNMP protocol service
For all HP network devices that use the JetDirect card (most HP network printers use it), use telnet to connect to the IP address of the JetDirect card, and then execute the following command:
- SNMP-config: 0
- quit
These commands disable the SNMP service of the device. However, disabling the SNMP service affects the service discovery and the port monitoring mechanism that uses SNMP to obtain the device status 。
◆ Red Hat Linux disables the SNMP protocol service
For Red Hat Linux, you can use Linuxconf to delete SNMP lines from the automatically started service list, or directly Delete the lines that start SNMP from the/etc/services file. For other Linux systems, the operation method should be similar 。