The snmp-agent trap enable feature-name trunk command enables the trap function for Trunk interfaces, including Eth-Trunk.
The undo snmp-agent trap enable feature-name trunk command disables the trap function for the Trunk interface.
By default, the trap function is disabled for the Trunk interface.
snmp-agent trap enable feature-name trunk [ trap-name { hwextallmemberdownnotify | hwextallmemberdownresume | hwextlinkdown | hwextlinkup | hwExtTrunkMemberCountExceedThreshold | hwExtTrunkMemberCountExceedThresholdResume | hwexttrunkworkingstatuschange } ]
undo snmp-agent trap enable feature-name trunk [ trap-name { hwextallmemberdownnotify | hwextallmemberdownresume | hwextlinkdown | hwextlinkup | hwExtTrunkMemberCountExceedThreshold | hwExtTrunkMemberCountExceedThresholdResume | hwexttrunkworkingstatuschange } ]
| 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. |
- |
hwExtTrunkMemberCountExceedThreshold |
Enables the device to send trap when the number of the member interfaces of an Eth-Trunk interface in LACP mode exceeded the upper threshold. |
- |
hwExtTrunkMemberCountExceedThresholdResume |
Enables the device to send trap when the number of the member interfaces of an Eth-Trunk interface in LACP mode fell below the upper threshold. |
- |
hwexttrunkworkingstatuschange |
Enables or disables the trap function when the working status of an Eth-Trunk interface in master/backup mode changes. |
- |