# Display the status of all traps on the DHCP module.
<AC6605>display snmp-agent trap feature-name dhcp all
------------------------------------------------------------------------------
Feature name: dhcp
Trap number : 15
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwNomatchSnpBindTblDhcpPktAlarm
off off
hwDhcpSnpChaddrAlarm off off
hwDhcpV6PktPrefixAlarm off on
hwUntrustedReplyPktAlarm off off
hwDhcpPktRateAlarm off on
hwSnpUserNumberAlarmIf on off
hwSnpUserNumberAlarmIfResume on off
hwSnpUserNumberAlarmVlan on off
hwSnpUserNumberAlarmVlanResume on off
hwSnpUserNumberAlarmGlobal on off
hwSnpUserNumberAlarmGlobalResume
on off
hwNdSnpUserNumberAlarmIf on off
hwNdSnpUserNumberAlarmIfResume on off
hwNdSnpUserNumberAlarmGlobal on off
hwNdSnpUserNumberAlarmGlobalResume
on off
hwNomatchSnpBindTblDhcpv6PktAlarm
off off
hwNomatchSnpBindTblNDPktAlarm off off
Table 6-68 Description of the display snmp-agent trap feature-name dhcp all command output
Item
|
Description
|
Feature name
|
Name of the module to which a trap belongs.
|
Trap number
|
Number of traps.
|
Trap name
|
Name of a trap. Traps on the DHCP module include:
- hwNomatchSnpBindTblDhcpPktAlarm: The device sends a Huawei proprietary trap when the number of DHCP Request packets that do not match DHCP snooping binding entries and are discarded on an interface exceeds the threshold.
- hwDhcpSnpChaddrAlarm: The device sends a Huawei proprietary trap when the number of discarded DHCP packets whose CHADDR field differs from the source MAC address exceeds the threshold.
- hwDhcpV6PktPrefixAlarm: The device sends a Huawei proprietary trap message when the DHCPv6 prefix length exceeds the threshold.
- hwUntrustedReplyPktAlarm: The device sends a Huawei proprietary trap message when the number of DHCP Reply packets discarded on an untrusted interface exceeds the threshold.
- hwDhcpPktRateAlarm: The device sends a Huawei proprietary trap message when the number of discarded DHCP packets whose rate exceeds the limit exceeds the threshold.
- hwSnpUserNumberAlarmIf: The device sends a Huawei proprietary trap message when the number of DHCP access users on an interface exceeds the upper threshold.
- hwSnpUserNumberAlarmIfResume: The device sends a Huawei proprietary trap message when the number of DHCP access users on an interface falls below the lower threshold.
- hwSnpUserNumberAlarmVlan: The device sends a Huawei proprietary trap message when the number of DHCP access users in a VLAN exceeds the upper threshold.
- hwSnpUserNumberAlarmVlanResume: The device sends a Huawei proprietary trap message when the number of DHCP access users in a VLAN falls below the lower threshold.
- hwSnpUserNumberAlarmGlobal: The device sends a Huawei proprietary trap message when the number of DHCP access users on the device exceeds the upper threshold.
- hwSnpUserNumberAlarmGlobalResume: The device sends a Huawei proprietary trap message when the number of DHCP access users on the device falls below the lower threshold.
- hwNdSnpUserNumberAlarmIf: The device sends a Huawei proprietary trap message when the number of ND access users on an interface exceeds the upper threshold.
- hwNdSnpUserNumberAlarmIfResume: The device sends a Huawei proprietary trap message when the number of ND access users on an interface falls below the lower threshold.
- hwNdSnpUserNumberAlarmGlobal: The device sends a Huawei proprietary trap message when the number of ND access users on the device exceeds the upper threshold.
- hwNdSnpUserNumberAlarmGlobalResume: The device sends a Huawei proprietary trap message when the number of ND access users on the device falls below the lower threshold.
- hwNomatchSnpBindTblDhcpv6PktAlarm: The device sends a Huawei proprietary trap message when the number of DHCPv6 Request packets discarded on an interface because they do not match the binding entries exceeds the threshold.
- hwNomatchSnpBindTblNDPktAlarm: The device sends a Huawei proprietary trap message when the number of ND packets discarded on an interface because they do not match the binding entries exceeds the threshold.
|
Default switch status
|
Default status of the trap function:
|
Current switch status
|
Trap status:
|