Cisco Systems OL-19806-03 manual Clear energywise neighbors

Page 46

Chapter 3 EnergyWise CLI Commands

clear energywise neighbors

clear energywise neighbors

Syntax Description

Command Default

Command Modes

To delete the discovered neighbors and end points running agents or clients from the EnergyWise neighbor table, use the clear energywise neighbors command in privileged EXEC mode. The switch immediately rediscovers them.

clear energywise neighbors

This command does not have arguments or keywords.

Default is not defined.

Privileged EXEC

Command History

 

Release

Modification

 

 

 

12.2(50)SE

This command was introduced on the Catalyst 3750-E, 3750, 3560-E, 3560, and 2960

 

 

 

switches.

 

 

 

 

 

 

 

12.2(52)SG

This command was introduced on Catalyst 4500 switches.

 

 

 

 

 

 

12.2(33)SXI4

This command was introduced on the Catalyst 6500 switches. See the Cisco IOS

 

 

 

Release Notes for Cisco EnergyWise, EnergyWise Phase 2 for the specific devices.

 

 

 

 

 

 

15.0(1)M2

This command was introduced on Cisco Integrated Service Routers Generation 2

 

 

 

(ISR G2), including Cisco 3900, 2900, and 1900 ISRs.

 

 

 

 

 

If the end point is a PC running an agent or client and you enter the clear energywise neighbors

Usage Guidelines

 

 

 

privileged EXEC command, the PC is removed from the neighbor table.

 

 

You can verify that the tables were deleted by entering the show energywise neighbors privileged EXEC

 

 

command.

 

 

 

 

 

Examples

 

This example shows how to delete the neighbor tables:

 

 

Switch# clear energywise neighbors

 

 

 

Cleared all non static energywise neighbors

 

 

 

 

 

Related Commands

 

Command

 

Description

 

 

 

 

 

 

show energywise neighbors

Displays the EnergyWise neighbor tables.

 

 

 

 

 

Cisco EnergyWise Configuration Guide

3-2

OL-19806-03

 

 

Image 46
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