Enabling or disabling ports for allocating power using LLDP