107
2.
Configuring the SNMP NMS
SNMPv3 uses an authentication and privacy security model. On the NMS, the user needs to specify the
username and security level, and based on that level, configure the authentication mode, authentication
password, privacy mode, and privacy password. In addition, the timeout time and number of retries
should also be configured. The user can inquire and configure the device through the NMS.
NOTE:
The configurations on the agent and the NMS must match.
3. Verify the configuration
• After the configuration, an SNMP connection is established between the NMS and the agent. The
NMS can get and configure the values of some parameters on the agent through MIB nodes.
• Execute the shutdown or undo shutdown command to an idle interface on the agent, and the NMS
receives the corresponding trap.
Configuring SNMP logging example
Network requirements
• As shown in Figure 40, the NMS and the agent are connected through an Ethernet.
• The IP address of the NMS is 1.1.1.2/24
• The IP address of the agent is 1.1.1.1/24
• Configure SNMP logging on the agent to record the operations performed by the NMS to the agent
Figure 40 Network diagram for SNMP logging
Configuration procedure
NOTE:
For the configurations for the NMS and agent, see Configuring SNMPv1/SNMPv2c example an
d
Configuring SNMPv3 example.
# Enable logging display on the terminal. (This function is enabled by default so that you can omit this
configuration).
<Sysname> terminal monitor
<Sysname> terminal logging