Method for configuring SNMP service on Windows server

  

SNMP (Simple Network Management Protocol) is used to manage communication lines. When configuring the SNMP service on a Windows server, it is too much trouble to manually fill in the information. The following is done using the command line to execute the configuration file.

Creating snmp.inf

[NetOptionalComponents]

SNMP = 1

[SNMP]

Contact_Name = "ITSupport"

Location = "ServerRoom"

Service = Physical, Applications, End-to-End

Community_Name = Type_your_string_here

Traps = Type_the_destination_IP

Send_Authentication = Yes

Accept_CommunityName = Type_your_string_here: Read_Only

Any_Host = no

Limit_Host = Type_the_destination_IP

Run the following command on the server

C:\\Windows\\System32\\Sysocmgr.exe /i:%windir%\\inf\\sysoc.inf /u:path_to_the_file/snmp.inf

Copyright © Windows knowledge All Rights Reserved