Cisco Systems OL-19806-03 manual Energywise domain, Security, Ntp-shared-secret, Protocol udp port

Page 57

Chapter 3 EnergyWise CLI Commands

energywise domain

energywise domain

To enable EnergyWise on an entity, assign the entity to a domain, set the domain security mode, and set the domain password, use the energywise domain command in global configuration mode . To disable EnergyWise and to remove the EnergyWise configuration, use the no form of this command.

energywise domain domain-namesecurity {ntp-shared-secret shared-secret} [0 7] shared-secret[protocol udp port udp-port-number[interface interface-idip ip-address]]

no energywise domain

Syntax Description

 

domain domain-name

Assign the entity to a domain with the specified domain-name.

 

 

 

 

You can enter alphanumeric characters and symbols such as #, (, $, !, and

 

 

 

 

&.

 

 

 

 

 

 

 

Do not enter an asterisk (*) or a blank space between the characters or

 

 

 

 

symbols.

 

 

 

 

 

 

 

 

security

Sets the domain security mode and the domain password to authenticate all

 

 

 

{ntp-shared-secret

communication in the domain.

 

 

 

shared-secret} [0 7]

ntp-shared-secret—Uses a strong password with Network Time

 

 

 

domain-password

 

 

 

Protocol (NTP). If the time between members varies ±30 seconds, the

 

 

 

 

 

 

 

 

entity drops events.

 

 

 

 

shared-secret—Sets a strong password without NTP.

 

 

 

 

(Optional) 0—Uses an unencrypted password.

 

 

 

 

(Optional) 7—Uses a hidden password.

 

 

 

 

If you do not enter 0 or 7, the default is 0.

 

 

 

 

For the domain-password

 

 

 

 

You can enter alphanumeric characters and symbols such as #, (, $,

 

 

 

 

!, and &.

 

 

 

 

Do not enter an asterisk (*) or a blank space between the characters

 

 

 

 

or symbols.

 

 

 

 

 

 

 

 

protocol udp port

(Optional) Specifies UDP as the communication protocol, and specifies the

 

 

 

udp-port-number

UDP port that communicates with the domain.

 

 

 

 

The range is from 1 to 65000.

 

 

 

 

 

 

 

 

interface interface-id

(Optional) Specifies the port that communicates with the domain if the IP

 

 

 

 

address is dynamically assigned.We recommend that you specify the

 

 

 

 

interface-id. You should use this in a bridged network.

 

 

 

 

 

 

 

 

ip ip-address

(Optional) Specifies the IP address that communicates with the domain if the

 

 

 

 

interface is a switched virtual interface (SVI) and VLAN trunking protocol

 

 

 

 

(VTP) pruning is enabled. You should use this in a routed network.

 

 

 

 

 

 

 

 

 

 

 

Command Default

 

EnergyWise is disabled, and the entity is not assigned to a domain.

 

 

 

The domain password is not set.

 

 

 

The udp-port-number is 43440.

 

 

 

 

Cisco EnergyWise Configuration Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-19806-03

 

 

 

 

3-13

 

 

 

 

 

 

 

Image 57
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 LevelsAttributes Definition DefaultsRecurring Event Secure Domain CommunicationMIBs 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 importance importance Shared-secret 0 7 mgmt-password portEnergywise keywords word,word Energywise management securityEnergywise neighbor hostname ip-address Energywise name nameEnergywise role role Energywise allow query save setInterface interface-id Copy running-config startup-configEnergywise level level Show energywise childrenEnergywise role role Energywise name nameShow running-config Configuring Recurring EventsEnergywise activitycheck Energywise allow query setMonday , 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 PointsDelta usage timeout timeout Using Queries to Manage Power in the DomainEnergywise query importance importance Keywords word,word, ... name name collectKeywords 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 Debug energywise endpoint management Debug energywiseEndpoint ManagementDomain member, configures the switch to Energywise global configurationSave-Responds to a query to save the running configuration Energywise allow query save setName name Level levelNeighbor hostname Role roleNeighbors are not assigned Role is the model number KeywordsAllow query save set keywords were added Management passwords No energywise domain Energywise interface configurationActivitycheck Allow query setRecurrence Keywords word,wordImportance importance Time-range Command Default Command Modes Command History Security Udp port Absolute Command Description Security Energywise domainNtp-shared-secret Protocol udp portCommand Modes Command History Related Commands DescriptionUsage Guidelines Examples Timeout timeout Energywise queryCollect delta usage Sum delta usage Set level levelMembers and end points Delta-Display the delta vectorSwitch# energywise query importance 90 name * collect delta Switch# energywise query importance 90 name * set level These examples show how to filter results with keywordsEvent-occured Snmp-server enable traps energywiseLevel-change Neighbor-addedTo send only EnergyWise event traps to the NMS To send EnergyWise traps to the NMSShow energywise Switch# show energywise children Domain Cisco Protocol Statistics Enables and configures EnergyWise on the entity Energywise global configurationEnergywise interface configuration 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 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