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

Fat AP and Cloud AP V200R008C00 CLI-based Configuration Guide

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).
Common Configuration Errors

Common Configuration Errors

This chapter describes the common SNMP configuration errors, including the fault symptoms and troubleshooting procedures.

The SNMP Host Cannot Connect to the NMS

Fault Description

The SNMP host cannot connect to the NMS.

Procedure

Check whether the SNMP configuration on the host is correct according to the following table.

Table 28-6  SNMP configuration

Item

Method

Procedure

Check whether the host supports the SNMP version used by the NMS for sending a login request.

Run the display snmp-agent sys-info version command to view the SNMP version of the host.

If the host does not support the SNMP version, run the snmp-agent sys-info version command to set the SNMP version on the host.

View the community string configured on the host.

Run the display snmp-agent community command.

If the community string used by the NMS for sending a login request is different from that configured on the host, run the snmp-agent community command to configure a read-write community string, which must be the same as that configured on the host.

If SNMPv3 is used, check whether information about the SNMP user group and users is correct.

  • Run the display snmp-agent group command to view information about the SNMPv3 user group.
  • Run the display snmp-agent usm-user command to view information about the SNMPv3 user.
If information is incorrect, modify the configurations.
  • Run the snmp-agent group command to view information about the SNMPv3 user group.
  • Run the snmp-agent usm-user command to view information about the SNMPv3 user.

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 access point is correctly configured.

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

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

Configuration Example

Command

Configure a host for sending trap messages. The host uses SNMPv2c. 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 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 version v3 huawei huawei_group

Configure a host for sending trap messages. The host uses SNMPv3. 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-01-11

Document ID: EDOC1000176006

Views: 116063

Downloads: 309

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