Logging in through SNMP
You can use 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 via any other
method.
Configuring SNMP login
Connect the PC (the NMS) and the device to the network, making sure they can reach each other, as
shown in
Figure
Figure 21 Network diagram
IMPORTANT:
This document describes only the basic SNMP configuration procedures on the device. To make
SNMP work 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
1.
Enter system view.
2.
Enable the SNMP
agent.
3.
Configure an SNMP
group and specify its
access right.
21.
Command
system-view
snmp-agent
snmp-agent group v3
group-name [ authentication |
privacy ] [ read-view read-view ]
[ write-view write-view ]
[ notify-view notify-view ] [ acl
acl-number | acl ipv6
ipv6-acl-number ] *
Remarks
N/A
Optional.
By default, the SNMP agent is
disabled.
You can enable SNMP agent with
this command or any command that
begins with snmp-agent.
By default, no SNMP group is
configured.
56