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


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


Configuration Guide - Device Management

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of Device Management, including device status query, hardware management, Stack, SVF, cloud-based management, PoE, monitoring interface, OPS, energy-saving management, information center, fault management, NTP, synchronous ethernet, PTP.

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).
Example for Configuring Fault Management

Example for Configuring Fault Management

Networking Requirements

As shown in Figure 11-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 11-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.


  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 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 local-engineid 800007DB03000BC0005E0B                                                                                    
snmp-agent sys-info version v2c v3                                                                                                  
snmp-agent target-host trap address udp-domain 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  
 suppression alarm-name linkUp clear-period 5                                                                                      
 suppression alarm-name linkDown cause-period 2 
Updated: 2019-04-20

Document ID: EDOC1100065674

Views: 76508

Downloads: 513

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next