display trap-info (system view)

Function

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.

Format

display trap-info { interface-name | interface-type interface-number | slot slotid card cardid }

Parameters

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.

-

Views

System 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 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.

Example

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

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

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