Optional) Configuring The Trap Function - Huawei NetEngine5000E Configuration Manual

Core router
Table of Contents

Advertisement

HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
Step 6 Run:
snmp-agent group v3 group-name authentication
Authentication is configured for a specified SNMPv3 user group.
Step 7 Run:
snmp-agent group v3 group-name privacy
Privacy is configured for a specified SNMPv3 user group.
Step 8 Run:
snmp-agent usm-user v3 user-name group-name [ [ authentication-mode { md5 | sha }
password ] [ privacy-mode des56 password ] ] [acl acl-number ]
Authentication and privacy are configured for SNMPv3 users in a user group.
Step 9 Run:
commit
The configuration is committed.
----End

3.4.4 (Optional) Configuring the Trap Function

This section describes how to specify the alarms to be sent to the NM station, which help you
to locate important problems. After relevant parameters are set, the security of alarm sending
can be improved.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
snmp-agent trap enable
Alarm sending is enabled.
Step 3 Run:
snmp-agent trap enable feature-name feature-name trap-name trap-name
A trap function of a feature module is enabled. This means that an alarm of a specified feature
can be sent to the NM station.
Issue 01 (2011-10-15)
The ACL is applied.
NOTE
If the snmp-agent trap enable command is run to enable the trap functions of all modules, or the snmp-
agent trap enable feature-name command is run to enable three or more trap functions of a module, note
the following points:
l To disable the trap functions of all modules, you need to run the snmp-agent trap disable command.
l To restore the trap functions of all modules to the default status, you need to run the undo snmp-agent
trap enable or undo snmp-agent trap disable command.
l To disable one trap function of a module, you need to run the undo snmp-agent trap enable feature-
name command.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 SNMP Configuration
81

Advertisement

Table of Contents
loading

Table of Contents