The display trap-info command displays alarm configuration information about an interface, including whether the alarm function is enabled on the interface, alarm threshold, detection interval , alarm blocking, current alarm state, and the number of current alarms.
Parameter | Description | Value |
---|---|---|
interface-name |
Specifies the name of an interface. |
The value is character string. |
interface-type |
Specifies the interface type. |
- |
interface-number |
Specifies the interface number. |
- |
slot slotid |
Specifies the ID of a slot. |
- |
card cardid |
Specifies the ID of a registered subcard. |
- |
Usage Scenario
You can run this command in the system view to view alarm configuration information about an interface, including whether the alarm function is enabled on the interface, alarm threshold, detection interval, alarm blocking, current alarm state, and the number of current alarms. If you specify the slot and card parameter, alarm configuration information about all ports on the specified subcard is displayed.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> system-view [~HUAWEI] display trap-info gigabitethernet 0/1/0 =================================================================================================== GigabitEthernet0/1/0 trap information =============|===================================================================================== trapEn hithre lothre interval downFlag alarmFlag statis -------------|------------------------------------------------------------------------------------- input-error enable 1000 100 10 disable none 0 output-error enable 1000 100 10 disable none 0 crc-error enable 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. |
interval | Detection interval. |
downFlag | Alarm blocking. |
alarmFlag | Current alarm state. |
statis | Number of current alarms. |