set inlinepower trap
4-4 Configuring System Power and PoE
set inlinepower trap
UsethiscommandtoenableordisablethesendingofanSNMPtrapmessageforaunitormodule
wheneverthestatusofitsportschanges,orwhenevertheunit’spowerusagethresholdiscrossed.
Syntax
set inlinepower trap {disable | enable} module-number
Parameters
Defaults
Sendingoftrapsisdisabledbydefault.
Mode
Switchcommand,read‐write.
Usage
Themodule’sorunit’spowerusagethresholdmustbesetusingthesetinlinepowerthreshold
commandasdescribedonpage4‐3.
Example
Thisexampleshowshowtoenableinlinepowertrapmessagingonmodule1:
B5(su)->set inlinepower trap enable 1
set inlinepower detectionmode
UsethiscommandtospecifythemethodtheswitchwillusetodetectPDs(powereddevices)
connectedtoitsports.
Syntax
set inlinepower detectionmode {auto | ieee)
Parameters
Defaults
Defaultdetectionmodeisauto.
Mode
Switchcommand,read‐write.
disable|enable Disablesorenablesinlinepowertrapmessaging.
module‐number Specifiesthemoduleorunitonwhichtodisableorenabletrapmessaging.
auto Specifiesthattheswitchwillusethestandard802.3afdetectionmethod
first.Ifthatfails,thentheswitchwillusethelegacy(pre802.3af
standard)capacitancemethodofdetection.
ieee Specifiesthattheswitchwillonlyusethestandard802.3afdetection
method.