display trap-info

Function

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.

Format

display trap-info [ interface-name | interface-type interface-number ]

Parameters

Parameter Description Value
interface-name

Indicates the interface name.

The value is character string.

interface-type

Indicates the interface.

-

interface-number

Indicates the interface number.

-

Views

100GE interface view, 25GE interface view, 400GE interface view, FlexE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
device-mgr read

Usage Guidelines

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

Example

The actual command output varies according to the device. The command output here is only an example.

# Check alarm configuration information about the GE 0/1/0 interface.
<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
Table 1 Description of the display trap-info command output
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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >