R3204P16-HP Load Balancing Module System Maintenance Configuration Guide-6PW101

55
Execute the shutdown or undo shutdown command to an idle interface on the agent, and the NMS
receives the corresponding trap.
SNMPv3 configuration example
Network requirements
As shown in Figure 26, the NMS connects to the agent through an Ethernet. The IP address of the
NMS is 1.1.1.2/24, and the IP address of the agent is 1.1.1.1/24.
The NMS monitors and manages the interface status of the agent using SNMPv3. The agent reports
errors or faults to the NMS. The inbound port for traps on the NMS is 5000.
Authentication is required when the NMS and the agent establish an SNMP connection. The
authentication protocol is MD5 and the authentication key is authkey. The packets transmitted
between the NMS and the agent needs to be encrypted. The privacy protocol is DES and the
privacy password is prikey.
Figure 26 Network diagram for SNMPv3
Configuration procedure
1. Configure the agent
# Configure the IP address of the agent as 1.1.1.1/24 and make sure that the agent and the NMS can
reach each other. (The configuration procedure is omitted here)
# Configure the access right: the user can read and write the objects under the snmp node with the OID
o f 1.3 . 6.1. 2.1.11, and cannot access other MIB objects. Set the username to managev3user,
authentication algorithm to MD5, authentication key to authkey, the encryption algorithm to DES56, and
the privacy key to prikey.
<Sysname> system-view
[Sysname] undo snmp-agent mib-view ViewDefault
[Sysname] snmp-agent mib-view included test interfaces
[Sysname] snmp-agent group v3 managev3group read-view test write-view test
[Sysname] snmp-agent usm-user v3 managev3user managev3group authentication-mode md5
authkey privacy-mode des56 prikey
# Configure the contact person and physical location information of the agent.
[Sysname] snmp-agent sys-info contact Mr.Wang-Tel:3306
[Sysname] snmp-agent sys-info location telephone-closet,3rd-floor
# Enable sending of traps to the NMS at IP address of 1.1.1.2/24, using public as the community name.
[Sysname] snmp-agent trap enable
[Sysname] snmp-agent target-host trap address udp-domain 1.1.1.2 udp-port 5000 params
securityname public v3
2. Configure 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