I am not able to figure out whether switch is operating on AC power or Battery power using below commands.
<S5700>dis dev
S5700-28P-LI-24S-BAT's Device status:
Slot Sub Type Online Power Register Status Role
-------------------------------------------------------------------------------
0 - S5700-28P-LI-24S Present PowerOn Registered Normal Master
5 PBB-12AHA Present PowerOn Registered Normal NA
<S5700>dis dev bat
--------------------------------------------------------------------------------
SlotID Type State Temperature(L/H) Remain Remain-Time Charge-Times
(c) (%) (mins)
--------------------------------------------------------------------------------
0 PBB-12AHA Full NA NA NA NA
<S5700>dis power
------------------------------------------------------------
Slot PowerID Online Mode State Power(W)
------------------------------------------------------------
0 PWRI Present PBB Full 60.00
<S5700>
Please help.
Thanks,
Nilesh.
