An alarm refers to the notification MA5600 of the system after a fault is detected. After an alarm is generated, the system broadcasts the alarm to the terminals, mainly including the NMS and command line interface (CLI) terminals.
Alarms are classified into fault alarm and recovery alarm. After a fault alarm is generated at a certain time, the fault alarm lasts till the fault is rectified to clear the alarm.
You can modify the alarm settings according to your requirements. The settings are alarm severity, alarm output mode through the CLI and alarm statistics switch.
When managing alarms on the GUI through the NMS, you can set filtering criteria to mask unimportant alarms and events. Such filtering function facilitates the focus of the important alarms and eliminates the load of the NMS.
Procedure
The output of all alarms at level warning is shielded to the CLI terminal, the alarm jitter-proof function is enabled, the alarm jitter-proof period is set to 15s, the level of alarms with IDs 0x0a310021 and 0x2e314021 are modified to critical, do as follows:
huawei(config)#undo alarm output alarmlevel warning
huawei(config)#alarm jitter-proof on
huawei(config)#alarm jitter-proof 15
huawei(config)#alarm alarmlevel 0x0a310021 critical
huawei(config)#alarm alarmlevel 0x2e314021 critical
To create ONT alarm policy profile 10, filter the following alarms, and bind this profile to GPON ONT 1 connected to port 0/3/0, do as follows:
0x2e112003 (The signal degrade of ONTi (SDi) occurs)
0x2e112004 (The signal fail of ONTi (SFi) occurs)
0x2e112006 (The loss of frame of ONTi (LOFi) occurs)
0x2e313015 (The hardware of the ONT is faulty)
0x2e313016 (The ONT switches to the standby battery)
0x2e313017 (The standby battery of the ONT is lost)
0x2e313018 (The standby battery of the ONT cannot be charged)
0x2e313019 (The voltage of the standby battery of the ONT is too low)
0x2e31301a (The shell of the ONT is opened)
0x2e313024 (The loss of signals occurs on the ethernet port of the ONT)
0x2e313025 (No signal is received in the video UNI of the ONT)
0x2e31302a (The E1/T1 port loss of signal (LOS) occurs at the ONT)
huawei(config)#ont-alarm-policy policy-id 10
huawei(config-ont-alarm-policy-10)#alarm filter 0x2e112003
huawei(config-ont-alarm-policy-10)#alarm filter 0x2e112004
huawei(config-ont-alarm-policy-10)#alarm filter 0x2e112006
huawei(config-ont-alarm-policy-10)#alarm filter 0x2e313015
huawei(config-ont-alarm-policy-10)#alarm filter 0x2e313016
huawei(config-ont-alarm-policy-10)#alarm filter 0x2e313017
huawei(config-ont-alarm-policy-10)#alarm filter 0x2e313018
huawei(config-ont-alarm-policy-10)#alarm filter 0x2e313019
huawei(config-ont-alarm-policy-10)#alarm filter 0x2e31301a
huawei(config-ont-alarm-policy-10)#alarm filter 0x2e313024
huawei(config-ont-alarm-policy-10)#alarm filter 0x2e313025
huawei(config-ont-alarm-policy-10)#alarm filter 0x2e31302a
huawei(config-ont-alarm-policy-10)#commit
huawei(config-ont-alarm-policy-10)#quit
huawei(config)#interface gpon 0/3
huawei MA5600T (config-if-gpon-0/3)#ont alarm-policy 0 1 policy-id 10