A method for managing a device, comprising: determining a power supply policy of each single board in the device according to a preset power management rule ; performing power management on each single board according to the power supply policy; characterized in that the preset power management rule comprises: when the device is working in a Virtual Router Redundancy Protocol, VRRP, master/standby redundancy backup mode : if the current device serves as a standby device, turning off power supplies of part of the single boards or chips of the device in a time period to reduce energy consumption; and when a master device fails, the current device switching to a master device and turning on the power supplies of the turned-off single boards or chips to adapt to service requirements; and, when the device is working in a VRRP master/standby mutual redundancy backup mode, the device is one of a first device and a second device and the first device and the second device belong to two VRRP groups which backup each other: a bandwidth of service traffic of the device is lower than a threshold, turning off power supplies of chips on part or all of single boards of the device. determining a power supply policy of each single board in the device according to a preset power management rule ; performing power management on each single board according to the power supply policy; characterized in that the preset power management rule comprises: when the device is working in a Virtual Router Redundancy Protocol, VRRP, master/standby redundancy backup mode : if the current device serves as a standby device, turning off power supplies of part of the single boards or chips of the device in a time period to reduce energy consumption; and when a master device fails, the current device switching to a master device and turning on the power supplies of the turned-off single boards or chips to adapt to service requirements; and, when the device is working in a VRRP master/standby mutual redundancy backup mode, the device is one of a first device and a second device and the first device and the second device belong to two VRRP groups which backup each other: a bandwidth of service traffic of the device is lower than a threshold, turning off power supplies of chips on part or all of single boards of the device. when the device is working in a Virtual Router Redundancy Protocol, VRRP, master/standby redundancy backup mode : if the current device serves as a standby device, turning off power supplies of part of the single boards or chips of the device in a time period to reduce energy consumption; and when a master device fails, the current device switching to a master device and turning on the power supplies of the turned-off single boards or chips to adapt to service requirements; and, when the device is working in a VRRP master/standby mutual redundancy backup mode, the device is one of a first device and a second device and the first device and the second device belong to two VRRP groups which backup each other: a bandwidth of service traffic of the device is lower than a threshold, turning off power supplies of chips on part or all of single boards of the device. <EOS>