< Home

snmp-agent trap enable feature-name trunk

Function

The snmp-agent trap enable feature-name trunk command enables the trap function for the Trunk module.

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

By default, the trap function is disabled for the Trunk module.

Format

snmp-agent trap enable feature-name trunk [ trap-name { hwextallmemberdownnotify | hwextallmemberdownresume | hwextlinkdown | hwextlinkup } ]

undo snmp-agent trap enable feature-name trunk [ trap-name { hwextallmemberdownnotify | hwextallmemberdownresume | hwextlinkdown | hwextlinkup } ]

Parameters

Parameter Description Value
trap-name Enables the traps of Trunk events of specified types. -
hwextallmemberdownnotify Enables the device to send trap when the all member interfaces of a Trunk interface become Down. -
hwextallmemberdownresume Enables the device to send trap when at least one of the member interfaces of a Trunk interface becomes Up. -
hwextlinkdown Enables the device to send trap when the status of the link protocol on the interface became Down. -
hwextlinkup Enables the device to send trap when the status of the link protocol on the interface became Up. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The Trunk module is not configured with the function of excessive traps. To enable the traps of one or more events, you can specify trap-name.

Example

# Enables the device to send trap when the status of the link protocol on the interface became Down.

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