Cisco Systems OL-19806-03 manual Snmp-server enable traps energywise, Event-occured, Level-change

Page 63

Chapter 3 EnergyWise CLI Commands

snmp-server enable traps energywise

snmp-server enable traps energywise

To enable the switch to send Simple Network Management Protocol (SNMP) notifications for EnergyWise traps or inform requests to the network management system (NMS), use the snmp-server enable traps energywise command in global configuration mode. To return to the default setting, use the no form of this command.

snmp-server enable traps energywise [event-occured][level-change][neighbor-added][neighbor-deleted]

no snmp-server enable traps energywise

Syntax Description

 

event-occured

(Optional) Enable EnergyWise event traps.

 

 

level-change

(Optional) Enable EnergyWise entity power-level change traps.

 

 

 

 

 

 

neighbor-added

(Optional) Enable EnergyWise entity traps when neighbors are added.

 

 

 

 

 

 

neighbor-deleted

(Optional) Enable EnergyWise entity traps when neighbors are removed.

 

 

 

 

 

 

 

Command Default

 

The sending of EnergyWise traps is disabled.

 

 

 

Command Modes

 

Global configuration

 

 

 

 

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.

 

 

 

 

 

Use the snmp-server host global configuration command to specify the host (network management

Usage Guidelines

 

 

 

system [NMS]) that receives the traps.

If you do not specify any keywords, all of the EnergyWise traps are enabled.

You can verify your setting by entering the show energywise or the show running-configprivileged EXEC command.

 

 

Cisco EnergyWise Configuration Guide

 

 

 

 

 

 

OL-19806-03

 

 

3-19

 

 

 

 

 

Image 63
Contents Americas Headquarters Cisco EnergyWise Configuration GuideCisco EnergyWise Configuration Guide N T E N T S Important Notice C-1 Audience PurposeConventions Preface For information about the Cisco network devices, see Related PublicationsObtaining Documentation, Support, and Security Guidelines Managing Single Entities Overview Domain members Network management stationsCreating an EnergyWise Domain Category Level Description Power LevelsSecure Domain Communication Definition DefaultsAttributes Recurring EventMIBs Management station Domain member Switch Connected to an IP PhoneSwitch and PC Scenario Switch Connected to a PCConfiguration Guidelines Cisco EnergyWise Configuration Guide This is the configuration for the PoE port Using the Call In-Progress FeaturePoE and EnergyWise Interactions EnergyWise Entity PoE Mode Auto Never StaticPreventing Network Access to a Non-Cisco End Point PC without Access to the EnergyWise Network and the Internet CLI Compatibility IssuesEnabling EnergyWise, Configuring Entity Attributes, Manually Managing PowerCommand Purpose Energywise management security Shared-secret 0 7 mgmt-password portEnergywise importance importance Energywise keywords word,wordEnergywise allow query save set Energywise name nameEnergywise neighbor hostname ip-address Energywise role roleShow energywise children Copy running-config startup-configInterface interface-id Energywise level levelEnergywise role role Energywise name nameEnergywise allow query set Configuring Recurring EventsShow running-config Energywise activitycheckMonday , Tuesday , Wednesday , Thursday , Friday Copy running-config startup-config Energywise level level recurrence importanceShow energywise recurrence Command Mode Purpose Dayofmonth month Dayofweek timerangeDisabling EnergyWise Examples To power on the lab IP phonesTo power off anIP phone connected to a PoE port Automatically Managing PowerPc-mgr If the time range has end times and days such asRunning Queries Managing Multiple EntitiesManaging Multiple Entities Running Queries Management station End point Domain member Multiple Switches Connected to Multiple End PointsKeywords word,word, ... name name collect Using Queries to Manage Power in the DomainDelta usage timeout timeout Energywise query importance importanceKeywords word,word, ... name name set level Optional Runs a query to power on or off the domain membersQuerying with the Name Attribute Verify the power levels Setting the Time-Out ValueOL-19806-03 EnergyWise CLI Commands Clear energywise neighbors Management Debug energywiseDebug energywise endpoint management EndpointEnergywise allow query save set Energywise global configurationDomain member, configures the switch to Save-Responds to a query to save the running configurationRole role Level levelName name Neighbor hostnameNeighbors are not assigned Role is the model number KeywordsAllow query save set keywords were added Management passwords Allow query set Energywise interface configurationNo energywise domain ActivitycheckTime-range Keywords word,wordRecurrence Importance importanceCommand Default Command Modes Command History SecurityUdp port Absolute Command Description Protocol udp port Energywise domainSecurity Ntp-shared-secretCommand Modes Command History Related Commands DescriptionUsage Guidelines Examples Timeout timeout Energywise queryCollect delta usage Delta-Display the delta vector Set level levelSum delta usage Members and end pointsSwitch# energywise query importance 90 name * collect delta Switch# energywise query importance 90 name * set level These examples show how to filter results with keywordsNeighbor-added Snmp-server enable traps energywiseEvent-occured Level-changeTo send only EnergyWise event traps to the NMS To send EnergyWise traps to the NMSShow energywise Switch# show energywise children Domain Cisco Protocol Statistics Configures EnergyWise on the PoE port Energywise global configurationEnables and configures EnergyWise on the entity Energywise interface configurationOL-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 Disclaimer Important NoticeCisco EnergyWise Configuration Guide Bewaar Deze Instructies Statement 1071-Warning DefinitionAvvertenza Importanti Istruzioni Sulla Sicurezza Warnung Wichtige SicherheitshinweiseGuarde Estas Instruções Aviso Instruções Importantes DE SegurançaGEM Disse Anvisninger Page OL-19806-03