cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
422
Views
0
Helpful
2
Replies

Getting the maximum port power available from the switch using LLDP

cdpetersen
Level 1
Level 1

I have a device that uses LLDP commands to the Cisco switch to secure the maximum power supported/set on the port.  Currently I request a wattage using the "PD requested power value" parameter.  The switch will comeback and tell me if it can or cannot support that wattage.  If it can, I try a higher wattage.  If it can't, I try a lower wattage.  I do this until I zero in on the highest wattage that the switch will support.  This is all well and good but each try will take around two seconds for the switch to reply.  So this method takes some time.

 

Is there a better way for a device to find out dynamically the maximum power that a port can support?

 

Is there an LLDP or other protocol command that will do this that I am missing?

2 Replies 2

Leo Laohoo
Hall of Fame
Hall of Fame

@cdpetersen wrote:

The switch will comeback and tell me if it can or cannot support that wattage.


I don't understand what you're doing here.  The output to the command "sh power inline <PORT>" will determine what is the maximum power the switch can provide to a port.  

Another thing, let's say the switch can support Jumbo PoE (100w) and you've got a powered device that can only take 7.7w PoE.  You're not going to enable Jumbo PoE on the port, are you? 

The documentation for the powered device will specify the requirement, won't it?

Think of it from the device standpoint.  The device has no user interface.  It is simply a box with an Ethernet port on it.  There is no access to the switch console. No network administrator.  It is at an employee's desk.  They have been told that the Ethernet drop at their desk has POE enabled.  The administrator has enabled for than the default power for the port.  They bring the device and plug it into the Ethernet drop.  The device independently needs to find out what power is available to that drop over the Ethernet connection using a protocol layer over Ethernet that the Cisco switch supports.  Currently to acquire power from a UPOE switch, we are using the LLDP protocol layer.  From what we see, LLDP only allows you to request power not get the maximum amount available with one command.  Using LLDP, if you request more power than available, LLDP will return that no power is set.  We then go and try again until we focus in on the highest wattage that we were able to request.  The device would like to know the maximum amount of power available from the beginning so the device can request that amount the first time.

 

Consider this device as a power converter.  This device is taking POE power and converting it to a different voltage for another device to use.  This device can take a wide variety of power ranges.  Knowing the maximum amount available on the port will allow the other device to use the maximum amount of power if it chooses.