No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - Network Management and Monitoring

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the network management feature supported by the device.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
NM Station Fails to Receive Traps Sent from the Host

NM Station Fails to Receive Traps Sent from the Host

Fault Description

The NM station fails to receive alarms sent from the host.

Procedure

Check whether the target host of SNMP traps on the router is correctly configured.

If the target host of SNMP traps is configured incorrectly, see the following configuration examples.

Table 1-7  Typical configuration of the host that sends traps

Configuration Example

Command

Configure a host for sending trap messages. The host uses SNMPv2c and contain no VPN instance information. The port number is 162 by default, the security name is huawei, and the IP address is 192.168.1.1.

<Huawei> system-view
[Huawei] snmp-agent sys-info version v2c
[Huawei] snmp-agent target-host trap-paramsname abc v2c securityname huawei
[Huawei] snmp-agent target-host trap-hostname aaa address 192.168.1.1 trap-paramsnam abc

Configures an SNMPv3 user named huawei that belongs to the user group named huawei_group. The alarm right (Notify-view) for the SNMPv3 user is Huawei_view, which indicates that the user has the right to access all the nodes under the ISO through SNMP.

# Configure a MIB view.

<Huawei> system-view
[Huawei] snmp-agent mib-view Huawei_view include iso

# Configure a user group.

[Huawei] snmp-agent group v3 huawei_group noauth read-view Huawei_view write-view Huawei_view notify-view Huawei_view

# Configure users.

[Huawei] snmp-agent usm-user v3 huawei group huawei_group

Configure a host for sending trap messages. The host uses SNMPv3 and contain no VPN instance information. The port number is 162 by default, the security name is huawei, and the IP address is 192.168.1.1 (huawei must be a real user).

<Huawei> system-view
[Huawei] snmp-agent target-host trap-paramsname abc v3 securityname huawei authentication
[Huawei] snmp-agent target-host trap-hostname aaa address 192.168.1.1 trap-paramsname abc

Check the status of the trap function. If the trap function is disabled, enable the trap function.

# Check the status of the trap function.

[Huawei] display snmp-agent trap all

# Enable the trap function.

[Huawei] snmp-agent trap enable
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100069336

Views: 30871

Downloads: 177

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next