The snmp-agent trap enable feature-name ifpdt command enables the trap function for the IFPDT module.
The undo snmp-agent trap enable feature-name ifpdt command disables the trap function for the IFPDT module.
The default configuration of the snmp-agent trap enable feature-name ifpdt command can be checked using the display snmp-agent trap feature-name ifpdt all command.
snmp-agent trap enable feature-name ifpdt [ trap-name { hwcablesnrabnormal | hwcablesnrdetectnotsupport | hwcablesnrnormal | hwportnosupportoetrap | hwtrunkmemspeeddifferentalarm | hwtrunkmemspeeddifferentresume | hwporterrorrateexceed | hwsubifnumexceededspecalarm | hwsubifnumexceededspecalarmresume | hwVxlanTrunkHashNotSupport | hwinputratechangeoverthresholdnotice | hwoutputratechangeoverthresholdnotice | hwphysicalportinbroadcastrapidchange | hwportprotectgroupunavailable | hwportprotectgroupavailable | hwportprotectgroupdelete | hwPortLRMStateAbnormal | hwPhysicalPortCrcRatioExceed | hwPhysicalPortCrcRatioResume | hwInputDiscardNotice | hwOutputDiscardNotice } ]
undo snmp-agent trap enable feature-name ifpdt [ trap-name { hwcablesnrabnormal | hwcablesnrdetectnotsupport | hwcablesnrnormal | hwportnosupportoetrap | hwtrunkmemspeeddifferentalarm | hwtrunkmemspeeddifferentresume | hwporterrorrateexceed | hwsubifnumexceededspecalarm | hwsubifnumexceededspecalarmresume | hwVxlanTrunkHashNotSupport | hwinputratechangeoverthresholdnotice | hwoutputratechangeoverthresholdnotice | hwphysicalportinbroadcastrapidchange | hwportprotectgroupunavailable | hwportprotectgroupavailable | hwportprotectgroupdelete | hwPortLRMStateAbnormal | hwPhysicalPortCrcRatioExceed | hwPhysicalPortCrcRatioResume | hwInputDiscardNotice | hwOutputDiscardNotice } ]
Only the S5720-EI supports hwporterrorrateexceed parameter in the command.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support hwsubifnumexceededspecalarm or hwsubifnumexceededspecalarmresume parameter in the command.
Only the XGE interfaces S5730-36C-HI, S5730-36C-HI-24S, S5730-36C-PWH-HI, S5730-60C-HI, S5730-60C-PWH-HI, S5730-68C-HI-48S, S5730-HI, S5731-H, S5731-S, S5731S-H, and S5731S-S and the interfaces on the ES5D21X08S00 of the S5730-HI and S6720-EI support the hwPortLRMStateAbnormal parameter in the command.
Only the S2720-EI, S5720-EI, S5720-HI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5720S-LI, S5720S-SI, S5730-HI, S5731-H, S5731S-H, S5731-S, S5731S-S, S6720-EI, S6720-SI, and S6720S-EI support hwPhysicalPortCrcRatioExceed or hwPhysicalPortCrcRatioResume parameter in the command.
Parameter |
Description |
Value |
---|---|---|
trap-name | Enables the trap function for a specified event of the IFPDT module. | - |
hwcablesnrabnormal | Enables the trap function for the event that the network cable quality is abnormal. | - |
hwcablesnrdetectnotsupport | Enables the trap function for the event that the network cable quality cannot be checked. | - |
hwcablesnrnormal | Enables the trap function for the event that the network cable quality is normal. | - |
hwportnosupportoetrap | Enables the trap function for the event that a stack interface connects to a copper module or a GE optical module. | - |
hwtrunkmemspeeddifferentalarm | Enables the trap function for the event that rates of active interfaces of the Eth-Trunk are different. | - |
hwtrunkmemspeeddifferentresume | Enables the trap function for the event that rates of active interfaces of the Eth-Trunk are changed to be the same. | - |
hwporterrorrateexceed | Enables the trap function for the event that the rate of CRC, Giants, and Runts error packets received by an interface is greater than or equal to 1000 packets per second. | - |
hwsubifnumexceededspecalarm | Enables the trap function for the event that the number of sub-interfaces on the switch exceeds the maximum value. | - |
hwsubifnumexceededspecalarmresume | Enables the trap function for the event that the number of sub-interfaces on the switch is within the normal range. | - |
hwVxlanTrunkHashNotSupport | Enables the trap function for the event that VXLAN packets fail to be sent in common IP load balancing mode on an Eth-Trunk interface. | - |
hwinputratechangeoverthresholdnotice | Enables the trap function for a sudden traffic volume change in the inbound direction of interfaces. | - |
hwoutputratechangeoverthresholdnotice | Enables the trap function for a sudden traffic volume change in the outbound direction of interfaces. | - |
hwphysicalportinbroadcastrapidchange | Enables the trap function for the event that the rapid-change-ratio of inputbroadcast exceeded the threshold. | - |
hwportprotectgroupunavailable | Enables the trap function for the event that the port protection group function becomes unavailable. | - |
hwportprotectgroupavailable | Enables the trap function for the event that the port protection group function becomes available. | - |
hwportprotectgroupdelete | Enables the trap function for the event that the port protection group is deleted. | - |
hwPortLRMStateAbnormal | Enables the trap function when the transceiver installed on an interface does not match the LRM mode of the interface. | - |
hwPhysicalPortCrcRatioExceed | This object indicates that the percentage of received CRC packets on an interface against all the received packets exceeds the alarm threshold. | - |
hwPhysicalPortCrcRatioResume | This object indicates that the percentage of received CRC packets on an interface against all the received packets is lower than the alarm threshold. | - |
hwInputDiscardNotice | Enables the trap function for the event that the number of discarded incoming packets on an interface due to a network congestion exceeds the threshold. | - |
hwOutputDiscardNotice | Enables the trap function for the event that the number of discarded outgoing packets on an interface due to a network congestion exceeds the threshold. | - |