The display trap-info command to view alarm configuration information about an interface, including whether the alarm function is enabled on the interface, alarm threshold, alarm interval, alarm blocking, current alarm state, and the number of current alarms.
Usage Scenario
You can run this command in the interface view to view alarm configuration information about an interface, including whether the alarm function is enabled on the interface, alarm threshold, alarm interval, alarm blocking, current alarm state, and the number of current alarms
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> system-view [~HUAWEI] interface gigabitethernet 0/1/0 [~HUAWEI-GigabitEthernet0/1/0] display trap-info =================================================================================================== GigabitEthernet0/1/0 trap information =============|===================================================================================== trapEn hithre lothre interval downFlag alarmFlag statis -------------|------------------------------------------------------------------------------------- input-error disable 1000 100 10 disable none 0 output-error disable 1000 100 10 disable none 0 crc-error disable 1000 100 10 disable none 0 symbol-error enable 1000 100 10 disable none 0
Item | Description |
---|---|
trapEn | Whether the alarm function is enabled. |
hithre | Value of trap high threshold. |
lothre | Value of trap low threshold. |
downFlag | alarm blocking. |
alarmFlag | current alarm state. |
statis | the number of current alarms. |
interva | detection interval. |