29
Logging in through SNMP
You can run SNMP on an NMS to access the device MIB and perform GET and SET operations to
manage and monitor the device. The device supports SNMPv1, SNMPv2c, and SNMPv3, and can work
with various network management software products, including IMC. For more information about SNMP,
see
Network Management and Monitoring Configuration Guide.
By default, SNMP access is disabled. To enable SNMP access, log in to the device through any other
method and configure SNMP login.
Configuring SNMP login
Connect the PC (the NMS) and the device to the network, making sure they can reach each other, as
shown in
. This document describes only the basic SNMP configuration procedures on the
device.
Figure 12
Network diagram
IMPORTANT:
To make SNMP operate correctly, make sure the SNMP settings (including the SNMP version) on the
NMS are consistent with those on the device.
Prerequisites
•
Assign an IP address to a Layer 3 interface on the device.
•
Configure routes to make sure the NMS and the Layer 3 interface can reach each other.
Configuring SNMPv3 settings
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enable the SNMP agent.
snmp-agent
Optional.
By default, the SNMP agent is
disabled.
You can enable SNMP agent with this
command or any command that
begins with
snmp-agent
.
3.
Configure an SNMP
group and specify its
snmp-agent
group
v3
group-name
By default, no SNMP group is