Cisco Systems OL-19806-03 manual Examples, To power on the lab IP phones

Page 34

Chapter 1 Managing Single Entities

Examples

Examples

Setting the Domain, page 1-26

Manually Managing Power, page 1-26

Automatically Managing Power, page 1-27

Note In the examples, the interface-id is in this format: type slot-or-module-number/port-number; for example, gigabitethernet 0/5. To specify an interface, see your device software documentation.

Setting the Domain

Switch# show energywise

 

 

 

 

 

Interface

Role

Name

Usage

Lvl

Imp

Type

---------

----

----

-----

---

---

----

 

fanfare

jsmith

1009.0(W)

5

100

paren

Switch# configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)# energywise domain cisco security ntp-shared-secret cisco protocol udp port

43440 ip 2.2.4.30

Switch(config)#

energywise importance 50

Switch(config)#

energywise keywords lab1,devlab

Switch(config)#

energywise name LabSwitch

Switch(config)#

energywise neighbor member1 43440

Switch(config)#

energywise role role.labaccess

Switch(config)#

energywise allow query save

Switch(config)#

end

Switch# show energywise domain

Name

: member1

Domain

: cisco

Protocol

: udp

 

IP

: 2.2.2.21

Port

: 43440

Switch# show energywise neighbors

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

 

 

S - Switch, H - Host, I - IGMP, r - Repeater, P

- Phone

Id

Neighbor Name

Ip:Port

Prot

Capability

--

-------------

-------

----

----------

1

member-21

2.2.2.21:43440

udp

S I

2

member-31

2.2.4.31:43440

static

S I

3

member-22

2.2.2.22:43440

cdp

S I

Manually Managing Power

 

 

 

To power on the lab IP phones:

 

 

 

Switch# configure terminal

 

 

 

Enter configuration commands, one per line. End with CNTL/Z.

 

 

 

Switch(config)# energywise domain cisco security shared-secret cisco protocol udp port

 

 

 

43440 ip 2.2.4.44

 

 

 

Switch(config)# interface gigabitethernet0/3

 

 

 

Switch(config-if)#energywise importance 65

 

 

 

Switch(config-if)#energywise name labphone.5

 

 

 

Switch(config-if)#energywise role role.labphone

 

 

 

Switch(config-if)# end

 

 

 

Cisco EnergyWise Configuration Guide

 

 

 

 

 

 

 

 

 

1-26

 

OL-19806-03

 

 

 

 

Image 34
Contents Cisco EnergyWise Configuration Guide Americas HeadquartersCisco EnergyWise Configuration Guide N T E N T S Important Notice C-1 Purpose AudienceConventions Preface Related Publications For information about the Cisco network devices, seeObtaining Documentation, Support, and Security Guidelines Managing Single Entities Overview Network management stations Domain membersCreating an EnergyWise Domain Power Levels Category Level DescriptionRecurring Event Definition DefaultsAttributes Secure Domain CommunicationMIBs Switch Connected to an IP Phone Management station Domain memberSwitch Connected to a PC Switch and PC ScenarioConfiguration Guidelines Cisco EnergyWise Configuration Guide Using the Call In-Progress Feature This is the configuration for the PoE portEnergyWise Entity PoE Mode Auto Never Static PoE and EnergyWise InteractionsPreventing Network Access to a Non-Cisco End Point CLI Compatibility Issues PC without Access to the EnergyWise Network and the InternetManually Managing Power Enabling EnergyWise, Configuring Entity Attributes,Command Purpose Energywise keywords word,word Shared-secret 0 7 mgmt-password portEnergywise importance importance Energywise management securityEnergywise role role Energywise name nameEnergywise neighbor hostname ip-address Energywise allow query save setEnergywise level level Copy running-config startup-configInterface interface-id Show energywise childrenEnergywise name name Energywise role roleEnergywise activitycheck Configuring Recurring EventsShow running-config Energywise allow query setMonday , Tuesday , Wednesday , Thursday , Friday Energywise level level recurrence importance Copy running-config startup-configShow energywise recurrence Dayofmonth month Dayofweek timerange Command Mode PurposeDisabling EnergyWise To power on the lab IP phones ExamplesAutomatically Managing Power To power off anIP phone connected to a PoE portIf the time range has end times and days such as Pc-mgrManaging Multiple Entities Running QueriesManaging Multiple Entities Running Queries Multiple Switches Connected to Multiple End Points Management station End point Domain memberEnergywise query importance importance Using Queries to Manage Power in the DomainDelta usage timeout timeout Keywords word,word, ... name name collectOptional Runs a query to power on or off the domain members Keywords word,word, ... name name set levelQuerying with the Name Attribute Setting the Time-Out Value Verify the power levelsOL-19806-03 EnergyWise CLI Commands Clear energywise neighbors Endpoint Debug energywiseDebug energywise endpoint management ManagementSave-Responds to a query to save the running configuration Energywise global configurationDomain member, configures the switch to Energywise allow query save setNeighbor hostname Level levelName name Role roleKeywords Neighbors are not assigned Role is the model numberAllow query save set keywords were added Management passwords Activitycheck Energywise interface configurationNo energywise domain Allow query setImportance importance Keywords word,wordRecurrence Time-rangeSecurity Command Default Command Modes Command HistoryUdp port Absolute Command Description Ntp-shared-secret Energywise domainSecurity Protocol udp portRelated Commands Description Command Modes Command HistoryUsage Guidelines Examples Energywise query Timeout timeoutCollect delta usage Members and end points Set level levelSum delta usage Delta-Display the delta vectorSwitch# energywise query importance 90 name * collect delta These examples show how to filter results with keywords Switch# energywise query importance 90 name * set levelLevel-change Snmp-server enable traps energywiseEvent-occured Neighbor-addedTo send EnergyWise traps to the NMS To send only EnergyWise event traps to the NMSShow energywise Switch# show energywise children Domain Cisco Protocol Statistics Energywise interface configuration Energywise global configurationEnables and configures EnergyWise on the entity Configures EnergyWise on the PoE portOL-19806-03 Using CLI Commands Verifying the Power Usage Cisco EnergyWise and Catalyst 4500 Switches OL-19806-03 Cisco EnergyWise and Catalyst 6500 Switches OL-19806-03 Important Notice DisclaimerCisco EnergyWise Configuration Guide Statement 1071-Warning Definition Bewaar Deze InstructiesWarnung Wichtige Sicherheitshinweise Avvertenza Importanti Istruzioni Sulla SicurezzaAviso Instruções Importantes DE Segurança Guarde Estas InstruçõesGEM Disse Anvisninger Page OL-19806-03