< Home

snmp-agent trap enable feature-name emdi

Function

The snmp-agent trap enable feature-name emdi command enables the trap function for the eMDI module.

The undo snmp-agent trap enable feature-name emdi command disables the trap function for the eMDI module.

By default, the trap function is enabled for the eMDI module.

Format

snmp-agent trap enable feature-name emdi [ trap-name { hwemdiindicatoroverthreshold | hwemdiindicatoroverthresholdresume | hwemdireceiveduplicatepackets | hwemdireceiveduplicatepacketsresume } ]

undo snmp-agent trap enable feature-name emdi [ trap-name { hwemdiindicatoroverthreshold | hwemdiindicatoroverthresholdresume | hwemdireceiveduplicatepackets | hwemdireceiveduplicatepacketsresume } ]

Parameters

Parameter Description Value

trap-name

Enables the trap function for the specified event.

-

hwemdiindicatoroverthreshold

Enables the trap function of a monitoring indicator detected by an eMDI instance exceeded the alarm threshold in three consecutive monitoring intervals.

-

hwemdiindicatoroverthresholdresume

Enables the trap function of a monitoring indicator detected by an eMDI instance fell below the alarm threshold in 60 consecutive monitoring intervals.

-

hwemdireceiveduplicatepackets

Enables the trap function of the out-of-order packet rate detected by an eMDI instance was greater than the packet loss rate in three consecutive monitoring intervals.

-

hwemdireceiveduplicatepacketsresume

Enables the trap function of the out-of-order packet rate detected by an eMDI instance was less than the packet loss rate in 60 consecutive monitoring intervals.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The Simple Network Management Protocol (SNMP) is a network management standard widely used on the TCP/IP network. It uses a central computer (a network management station) that runs network management software to manage network elements. The SNMP agent reports trap messages to the network management station so that the network management station can obtain the network status in a timely manner, and the network administrator can take measures accordingly.

The snmp-agent trap enable feature-name emdi command enables the trap function for the eMDI module.

Precautions

To enable the trap function for one or several events, specify trap-name. If trap-name is not specified, all trap functions are enabled for the eMDI module.

Example

# Enable the trap function of a monitoring indicator detected by an eMDI instance exceeded the alarm threshold in three consecutive monitoring intervals.

<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable feature-name emdi trap-name hwemdiindicatoroverthreshold
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >