This section describes how to configure FM.
As shown in Figure 1, log in to the Device as a user.
To help rapidly locate and rectify the faults on the Device, configure FM.
The configuration roadmap is as follows:
Configure a suppression period for an alarm
Edit and applying an alarm filtering table
To complete the configuration, you need the following data:
Alarm name
Alarm suppression period
Name of the alarm filtering table
Alarm severity
Name of the NMS host
<HUAWEI> system-view [~HUAWEI] sysname Device [*HUAWEI] commit [~Device] alarm
# Set the severity of the alarm named hwOpticalInvalid to Critical.
[~Device-alarm] alarm-name hwBTBChassisRunningModeConflict severity critical
# Set the generation period to 5s and clearing period to 15s for the alarm named hwOpticalInvalid in alarm suppression.
[*Device-alarm] suppression alarm-name hwBTBChassisRunningModeConflict cause-period 5 [*Device-alarm] suppression alarm-name hwBTBChassisRunningModeConflict clear-period 15 [*Device-alarm] commit
After the configuration is complete, run the display alarm information name hwBTBChassisRunningModeConflict command to verify the configuration.
[~Device-alarm] display alarm information name hwBTBChassisRunningModeConflict -------------------------------------------------------------------------------- Feature : DEVM AlarmName : hwBTBChassisRunningModeConflict AlarmId : 0x801002B Severity : Critical Cause Suppress Time : 5 Clear Suppress Time : 15 --------------------------------------------------------------------------------
# Create an alarm filtering table named mask1 and enter the mask1 view.
[~Device-alarm] mask name mask1
# Configure filtering rules.
[*Device-alarm-mask1] mask feature-name PMSERVER [*Device-alarm-mask1] mask severity minor [*Device-alarm-mask1] mask severity warning [*Device-alarm-mask1] commit
# After the configuration is complete, run the display this command in the mask1 view to verify the configuration.
[~Device-alarm-mask1] display this mask severity Minor mask severity Warning mask alarm-name PmThresholdAlarm
# Configure the NMS host named target-host1 to use the alarm filtering table named mask1.
[~Device-alarm-mask1] quit [~Device-alarm] snmp target-host target-host1 mask name mask1 [*Device-alarm] commit
# After the configuration is complete, run the display this command in the alarm management view to verify the configuration.
[~Device-alarm] display this snmp target-host target-host1 mask name mask1
[~Device-alarm] correlation-analyze enable [*Device-alarm] alarm correlation-suppress enable target-host 192.168.3.1 securityname aaa123
#
sysname Device
#
alarm
suppression alarm-name hwBTBChassisRunningModeConflict cause-period 5
suppression alarm-name hwBTBChassisRunningModeConflict clear-period 15
alarm-name hwBTBChassisRunningModeConflict severity Critical
snmp target-host target-host1 mask name mask1
#
mask name mask1
mask severity Minor
mask severity Warning
mask alarm-name PmThresholdAlarm
#
return