PowerAruba / PowerArubaCX

PowerShell module to manage ArubaCX switches
Apache License 2.0
14 stars 5 forks source link

PoE enable / disable #68

Open luanoprzybilski opened 4 months ago

luanoprzybilski commented 4 months ago

It would be nice if I could enable/disable PoE interface with these modules.

alagoutte commented 2 months ago

Yes

no yet cmdlet available, you can look following API call with Invoke-ArubaCXMethod :

Invoke-ArubaCXMethod -uri "system/interfaces/$interface/poe_interface"

and replace $interface by the interface (like 1/1/1 by replace / by %2f like this 1%2f1%2f1)

and after change admin_state settings

alagoutte commented 2 months ago

Hi @luanoprzybilski it is good ?

luanoprzybilski commented 2 months ago

Yes


Von: Alexis La Goutte @.> Gesendet: Wednesday, April 24, 2024 6:39:08 AM An: PowerAruba/PowerArubaCX @.> Cc: Luano Przybilski @.>; Mention @.> Betreff: Re: [PowerAruba/PowerArubaCX] PoE enable / disable (Issue #68)

Caution: This is an external email. Please take care when clicking links or opening attachments.

Hi @luanoprzybilskihttps://github.com/luanoprzybilski it is good ?

— Reply to this email directly, view it on GitHubhttps://github.com/PowerAruba/PowerArubaCX/issues/68#issuecomment-2074013513, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BELLZKTR5IDD7265PBOSODLY64ZOZAVCNFSM6AAAAABEEY47NOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZUGAYTGNJRGM. You are receiving this because you were mentioned.Message ID: @.***>