If you want to query alarms generated on the FW on a terminal, you can configure the FW to output alarms to the terminal.
After this configuration, you can log in to the FW using Telnet or STelnet and view alarms to know the operating status of the FW.
system-view
info-center source { module-name | default } channel { channel-number | channel-name } trap { state { off | on } | level severity } *
info-center monitor channel { channel-number | channel-name }
By default, channel 1 is used.
quit
terminal monitor
terminal trapping
terminal echo synchronous