With Windows 10 operating system, there are many tasks and tools that you can take advantage of for a new and more complete experience. One of them is the SNMP service on Windows 10.
This application layer protocol enables information sharing in hardware or software. It can accept many forms of data from any network device. This includes performance counters, uptime, device parameters, etc. More and more useful information will be revealed in the next sections!
SNMP Service
What Is It?
The application layer protocol is the Simple Network Management Protocol. It enables network devices to exchange data despite having different hardware or software configurations.
The management tools can recognize devices without this one, log network changes, track network performance, or determine a network device’s state in real time. Previously, you could enable or disable it using the Control Panel’s Turn Windows Features on and off section.
Microsoft has deprecated the feature starting with Windows 1803 and later. It’s due to the potential security issues and suggests utilizing the Common Information Model (CIM) in its place.
SNMP Agent
An application that is bundled inside the network element is the Agent. When the Agent is enabled, it can gather the device’s management information database locally and make it available to the manager when contacted. These agents could be generic or tailored to a particular vendor.
Its important function:
- Gathers management data about its immediate environment
- Retrieving and storing management data as specified by the MIB.
- Gives the manager notice of an occurrence.
- Serves as a proxy for a network node that is not controllable.
https://thietbikythuat.com.vn/wp-content/uploads/2021/03/SNMP-hoat-dong.png
Basic And Popular Commands of SNMP
- GET: This operation involves the Manager sending a request to a managed device. To obtain the values from devices will be carried out.
- GET NEXT: It is the procedure is comparable to GET. This one action obtains the value of the following OID in the MIB tree, which is a significant distinction.
- GET BULK: To retrieve a huge amount of data from a MIB table, utilize the operation.
- SET: The managers utilize this operation to assign the value.
- TRAPS: They are started by the Agents. The Agent sends a signal to the Manager when an event occurs.
- INFORM: This is similar to TRAP but contains confirmation that the manager received the message.
- RESPONSE: This command is used to transmit the signal or value of responses to the Manager-directed operations.
SNMP Service On Windows 10: Installing, Enabling & Configuring
Installing
- First, check if this service is available on your device via Get-serviced PowerShell.
- Choose Programs and Features, and turn Windows features on or off.
- Then enter SNMP and its WMI SNMP Provider, click OK, and that’s all!
Note: If the program isn’t available, you can download it through Powershell with the command Enable-WindowsOptionalFeature -online -FeatureName SNMP
https://i.ytimg.com/vi/mE793eEpffo/maxresdefault.jpg
Enabling
Enabling From Setting
The SNMP service is available for Windows 10 desktops and Windows servers. It is a component of the Features on demand in Windows 10 (like OpenSSH).
- Open the Settings feature on your device.
- Click on Apps and choose Apps & Features.
- Choose Optional Features, and select Add a feature.
- Search for and choose the SNMP on the list
- Click on Install to finish this process.
Enabling With PowerShell
- Using the combination of Windows + X to open the PowerShell
- Select the Admin mode
- Type the command Add-WindowsCapability -Online -Name “SNMP.Client—-0.0.1.0” to install this service.
- If you use the DISM tool, command DISM /online /add-capability /capabilityname:SNMP.Client—-0.0.1.0” is helpful
- After that, you should verify the service by typing Get-WindowsCapability -Online -Name “SNMP*”.
Configuring
Configuring from Panel
- You should inspect the service first by pressing Windows + R, then type services.msc. Then press Enter to launch it.
- It would be helpful to double-click on the icon and choose Start. Remember to turn the Startup Type to Automatic one that it will run automatically next time.
- Fill in the Location and Contact fields when you return to the Agent tab.
- Open the Security tab and add the names of the hosts you wish to authenticate.
- All IP limitations are lifted, and all hosts can transmit SNMP packets when the Accept packets are selected.
- Remember to click Apply, go back to the General tab and choose OK to exit.
Configuring via Group Policy
To configure it with Group Policy, you’ll need some GPO parameters. Some parameters available are:
- Specify communities: This allows setting a community list for this service.
- Specify permitted managers: this gives you the option to provide a list of hosts that are allowed to submit the queries to the Agent on this computer.
- Specify traps for the public community: permits the Simple Network Management Protocol’s trap configuration to be set up.
Configuring process:
- You can find the parameters in gpmc.msc or gpedit.msc.
- Or go to Computer Configuration, choose Policies, and enter Administrative Templates definitions. After that, click on Network and enter SNMP to complete.
Conclusion
All the need-to-know information about SNMP service on Windows 10 is revealed! It would be helpful to follow our guidelines slowly and properly to finish this task.
Last but not least, pay attention when entering command lines. Incorrect input may slow down the process or affect other software.
Leave a Reply