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

Configuration Guide - Device Management

S1720, S2700, S5700, and S6720 V200R011C10

This document describes the principles and configurations of the Device Management features, and provides configuration examples of these features.
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).
Configuration Examples for Fault Management

Configuration Examples for Fault Management

Networking Requirements

As shown in Figure 5-1, the route between the device and the NMS is reachable. Users want to view alarms generated by the device on the NMS in real time. Users must monitor the LinkDown alarm to ensure the normal interconnection of the device.

Figure 5-1  Networking for configuring alarm management

Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure the alarm severity to critical, allowing users to monitor LinkDown alarms on the NMS in real time based on the alarm filtering rules.

  2. Configure the alarm reporting delay function to prevent repetitive or flapping alarms from being reported to the NMS.

Procedure

  1. Configure an SNMPv2 user and an NMS host.

    <HUAWEI> system-view
    [HUAWEI] sysname Switch
    [Switch] snmp-agent
    [Switch] snmp-agent sys-info version v2c
    [Switch] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname public
    [Switch] snmp-agent trap enable feature-name ifnet trap-name linkdown
    [Switch] snmp-agent trap enable feature-name ifnet trap-name linkup
    

  2. Set the severity for the linkDown alarm to critical.

    [Switch] alarm
    [Switch-alarm] alarm linkDown severity critical
    

  3. Enable the alarm reporting delay function.

    [Switch-alarm] delay-suppression enable
    [Switch-alarm] suppression alarm linkdown cause-period 2
    [Switch-alarm] suppression alarm linkup clear-period 5
    [Switch-alarm] return
    

  4. Verify the configuration.

    # Run the display alarm information [ name alarm-name ] command to view the alarm configuration.

    <Switch> display alarm information name linkdown
    **********************************                                                                                                  
      AlarmName: linkDown                                                                                                               
      AlarmType: Alarm                                                                                                                  
      AlarmLevel: Critical                                                                                                              
      Suppress Period: 2s                                                                                                               
      CauseAlarmName: NA                                                                                                                
      Match VB Name: ifIndex                                                                                                            
    **********************************   
    <Switch> display alarm information name linkup
    **********************************                                                                                                  
      AlarmName: linkUp                                                                                                                 
      AlarmType: Resume Alarm                                                                                                           
      AlarmLevel: Cleared                                                                                                               
      Suppress Period: 5s                                                                                                              
      CauseAlarmName: linkDown                                                                                                          
      Match VB Name: ifIndex                                                                                                            
    ********************************** 

Configuration Files

Configuration file of the Switch

#                                                                                                                                   
sysname Switch                                                                                                                      
#
snmp-agent                                                                                                                          
snmp-agent local-engineid 800007DB03000BC0005E0B                                                                                    
snmp-agent sys-info version v2c v3                                                                                                  
snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname cipher %^%#Ey)G6^#X.6{X|aE9BbKSSI0WC7l/0>o/ueKU7;SV%^%# 
snmp-agent trap enable feature-name IFNET trap-name linkDown                                                                        
snmp-agent trap enable feature-name IFNET trap-name linkUp  
#
alarm
 suppression alarm-name linkUp clear-period 5                                                                                      
 suppression alarm-name linkDown cause-period 2 
#
return
Translation
Download
Updated: 2019-09-23

Document ID: EDOC1000178167

Views: 208703

Downloads: 1000

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