Cisco Systems 3560 Manual De Usuario

Descargar
Página de 1288
 
4-15
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 4      Configuring Cisco EnergyWise
Managing Multiple Entities
Examples
  •
  •
  •
In these examples, Switch 1 and Switch 2 are in the same domain. The entity called shipping.1 is a PoE 
port on Switch 1, and the entity called shipping.2 is a PoE port on Switch 2.
Querying with the Name Attribute
To show the power usage of the domain entities with names beginning with shipping and with 
importance values less than or equal to 80, run this query on Switch 1:
Switch# energywise query importance 80 name shipping.* collect usage
EnergyWise query, timeout is 3 seconds:
Host            Name            Usage
----            ----            -----
192.168.20.1    shipping.1      6.3 (W)
192.168.20.2    shipping.2      8.5 (W)
Queried:  2    Responded:  2      Time:  0.4 seconds
The first row (shipping.1) is from Switch 1. The second row (shipping.2) is from Switch 2, a neighbor 
of Switch 1.
Step 2
energywise query importance importance 
{keywords word,word,... | name nameset level 
level
(Optional) Run a query to power on or power off the domain 
entities or PoE ports.
Caution
Use this query with care because it affects the entity on 
which you enter the command and other domain 
entities that match the query criteria.
  •
importance importance—Filter the results based on the 
importance value. Only entities with values less than or equal 
to the specified value appear. The importance range is from 
1 to 100. 
  •
(Optional) keywords word,word,...Filter the results based 
on one or more of the specified keywords. 
  •
(Optional) name name —Filter the results based on the name. 
For the wildcard, use * or name* with the asterisk at the end 
of the name phrase.
  •
set level level—Set the power level of the entities or PoE 
ports. The range is from 0 to 10.
Repeat this step to run another query.
Command
Purpose