How to Configure SNMP on Huawei Routers?
In this article we will focus on How to Configure SNMP on Huawei devices. We will use the below simple topology and we will manage a router in Network Management System via SNMP.
Here, we will think that we are in a lab. Because normally, NMS IP generally is not in the same subnet with the managed device. It communicate with managed device over the company network. Here, we will think that NMS IP is 192.168.0.254 and our managed device IP will be 192.168.0.1.
Let’s start SNMP Configuration on the router. We will configure the router as SNMP Agent. Because it is the device that we would like to manage.
In the first palce let’s configure our interface IP address.
To start SNMP cofiguration, firstly we will enter the keyword “snmp-agent”. After that we will configure contact and location information. This information is required as a best practice. With this information, it is easy to determine contact people that is responsible NMS.
After that, we will determine the version of our SNMP. By default SNMPv3 is enabled. Here, we will configure this router with SNMPv2c.So, firstly we will disable SNMPv3.Then, we will enable SNMPv2c.