Chapter 3 EnergyWise CLI Commands

energywise query

These examples show how to change the power level of all the domain members and end points.

Switch# energywise query importance 90 name * set level 0 EnergyWise query, timeout is 3 seconds:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!

Success rate is (48/48) setting entities

Queried: 48

Responded: 48

Time: 0.996 seconds

Switch# energywise query importance 90 name * set level 10

EnergyWise query, timeout is 3 seconds:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!

Success rate is (48/48) setting entities

Queried: 48

Responded: 48

Time: 0.996 seconds

These examples show how to filter results with keywords.

Switch(config)# interface gigabitethernet0/2

Switch(config-if)#energywise keywords lobby,sattelite

Switch(config-if)#energywise keywords public

Switch(config-if)# end

Switch# show running-config interface gigabitethernet0/2

!

interface GigabitEthernet0/2

energywise level 0 recurrence importance 90 at 0 8 * * *

energywise level 10 recurrence importance 90 at 0 20 * * *

energywise importance 50 energywise role role.lobbyaccess energywise keywords lobby,sattelite,public energywise name lobbyInterface.2

end

Switch# energywise query importance 90 keyword lobby collect usage

EnergyWise query, timeout is 3 seconds:

Host

Name

 

Usage

 

Level

Imp

----

----

 

-----

 

-----

---

2.2.4.30

lobbyInterface.17

15.4

(W)

10

1

2.2.5.30

pc.1

 

200.0

(W)

8

85

2.2.6.30

pc.2

 

200.0

(W)

8

85

Queried: 3

Responded: 3

Time:

1.1 seconds

 

 

 

Switch# energywise query importance 90 keyword lobby sum usage

EnergyWise query, timeout is 3 seconds:

Total

Usage

 

 

-----------

 

 

415.4

(W)

 

 

Queried: 3

Responded: 3

Time: 0.11 seconds

 

Cisco EnergyWise Configuration Guide

3-18

OL-19806-03

Page 62
Image 62
Cisco Systems OL-19806-03 manual These examples show how to filter results with keywords