Configuring a Device to Communicate with an NMS by Running SNMPv1
Context
To allow a device to communicate with an NMS running SNMPv1, configure SNMPv1 on the device. The SNMP parameters must be configured on both the managed device (agent) and NMS. This section describes only the SNMP configurations on the agent side. For details about SNMP configurations on an NMS, see the NMS operation guide.
A lack of authentication capabilities in SNMPv1 and SNMPv2c results in vulnerability to security threats, so SNMPv3 is recommended.
Pre-configuration Tasks
Before configuring the router to communicate with an NMS through SNMPv1, configure a routing protocol to ensure that a reachable route exists between the router and NMS.
Configuration Process
When you configure the router to communicate with the NMS using SNMPv1, only Configuring Basic SNMPv1 Functions is mandatory and the optional steps are performed in any sequence.
The NMS using the specified community name can access the Viewdefault view. The internet MIB (OID: 1.3.6.1) and the lagMIB (OID: 1.2.840.10006.300.43) can be operated in this view.
The managed device sends traps generated by the modules that are enabled by default to the NMS.
To allow the NMS that uses the specified community name to manage specified objects on the device, perform the operations in Restricting Management Rights of the NMS.
To allow a specified module on the managed device to report traps to the NMS, perform the operations in Configuring the Trap Function.
If the NMS and managed device are both Huawei products, perform the operations in Enabling the SNMP Extended Error Code Function to allow the device to send more types of error codes. This allows more specific error identification and facilitates your fault location and rectification.