Distributed Algorithms For Energy Savings In The Core Network