< Home

snmp-agent trap enable feature-name dldp

Function

The snmp-agent trap enable feature-name dldp command enables the trap function for the DLDP module.

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

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

Format

snmp-agent trap enable feature-name dldp [ trap-name trap-name ]

undo snmp-agent trap enable feature-name dldp [ trap-name trap-name ]

Parameters

Parameter

Description

Value

trap-name trap-name

Specifies the name of an alarm.

  • hwdldpunidirectionallink: A unidirectional link alarm is generated.

  • hwdldploopdetect: A loopback alarm is generated.

  • hwdldploopresume: A loopback alarm is cleared.

  • hwdldplinkresume: A unidirectional link alarm is cleared.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

You can specify trap-name to enable the trap function for one or more events of the DLDP module.

Example

# Enable the alarm named hwdldpunidirectionallink.

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