No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Device Management

S1720, S2700, S5700, and S6720 V200R011C10

This document describes the principles and configurations of the Device Management features, and provides configuration examples of these features.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Configuring Device Dormancy

Example for Configuring Device Dormancy

Networking Requirements

The office network in Figure 7-2 uses S5700-28P-LI devices for networking. GigabitEthernet0/0/24 connects to a printer. GigabitEthernet0/0/28 functions as an upstream interface. Interfaces GigabitEthernet0/0/25 to GigabitEthernet0/0/27 are idle and other interfaces connect to user hosts.

The working time is from 08:00 to 18:00 and few employees work overtime. The device is seldom used between 00:00 and 08:00 and between 18:00 and 00:00 Monday to Friday, so dormancy mode is configured during these time ranges. The device is in dormancy mode at weekends. Allowing for some employees to come early and go later, the time range is set from 00:00 to 07:00 and 19:00 to 00:00 on working days. At weekends, the time range is set to 00:00 to 00:00.

Figure 7-2  Networking diagram for dormancy configuration

Configuration Roadmap

The configuration roadmap is as follows:
  1. Configure an energy-saving mode for the device.

  2. Apply a time range to the device in dormancy mode to save power.

  3. Configure an interface as a non-awakening interface.

Procedure

  1. Configure an energy-saving mode.

    # Set the energy-saving mode of the switch to deep mode.

    <HUAWEI> system-view
    [HUAWEI] set power manage mode 4
    Warning: Performance of ALS, EEE, Auto sleep will be enabled, and the EEE function may lead to port flapping. It will take a few seconds. Continue?[Y/N]:y   
    Warning: This command will enable the device sleep function. The device will ent
    er in sleep mode under the conditon specified, and all of service will not be pr
    ovided. Continue? [Y/N]:y                                                       
    Info: Succeeded in setting the configuration.                                   
    Info: The system is now comparing the configuration, please wait.               
    Warning: The configuration has been modified, and it will be saved to the next s
    tartup saved-configuration file flash:/vrpcfg.zip. Continue? [Y/N]:y            
    Now saving the current configuration to the slot 1.                             
    Save the configuration successfully.  

  2. Configure a dormancy time range.

    # Configure three time ranges: 00:00 am to 7:00 am and 19:00 pm to 00:00 am in the working day from Monday to Friday, and 00:00 to 00:00 in Saturday and Sunday.

    [HUAWEI] time-range sleeptime 00:00 to 07:00 working-day
    [HUAWEI] time-range sleeptime 19:00 to 00:00 working-day
    [HUAWEI] time-range sleeptime 00:00 to 00:00 off-day
    

    # Apply the time ranges in which the device is in dormancy mode.

    [HUAWEI] sleep time-range sleeptime
    Warning: The device will enter in sleep mode in the time-range specified, and al
    l of service will not be provided. Continue? [Y/N]:y                            
    Info: Succeeded in setting time range of sleep mode.

  3. Configure non-awakening ports.

    # Configure ports GigabitEthernet0/0/24 to GigabitEthernet0/0/28 as non-awakening interfaces.

    [HUAWEI] set power manage non-awaken-port interface gigabitethernet 0/0/24 to gigabitethernet 0/0/28
    [HUAWEI] quit
    

  4. Save the configuration.

    <HUAWEI> save
    The current configuration will be written to the device.                                                                            
    Are you sure to continue?[Y/N]y                                                                                                     
    Now saving the current configuration to the slot 0.                                                                                 
    Save the configuration successfully. 

    The S5700S-28P-LI-AC and S5700S-52P-LI-AC in the S5700S-LI series and S5700-28P-LI-AC, S5700-28P-LI-DC, S5700-52P-LI-AC, S5700-52P-LI-DC in the S5700LI series restart before they enter the sleeping mode. After the switches awake, unsaved configurations are lost, and the configurations that require a restart to take effect automatically take effect. Save configurations before a switch enters the sleeping mode.

  5. Verify the configuration.

    # Check device dormancy configurations.

    <HUAWEI> display power manage sleep configuration
    The device sleep function status: enable 
    The device sleep time-range: sleeptime                                     
    -----------------------------------------------                                 
    Current time is 22:22:25 1-31-2012 Monday                                       
                                                                                    
    Time-range: sleeptime ( Active )                                                
    00:00 to 07:00 working-day                                                      
    19:00 to 00:00 working-day                                                      
    00:00 to 00:00 off-day                                                          
    -----------------------------------------------                                 
    The awaken port state check interval (minutes): 20(default)   
    The configuration of awaken mode: normal
    The configuration of non-awaken port:                                           
    -----------------------------------------------                                 
     GigabitEthernet0/0/24    GigabitEthernet0/0/25                                 
     GigabitEthernet0/0/26    GigabitEthernet0/0/27                                 
     GigabitEthernet0/0/28                                                          
    -----------------------------------------------   

Configuration file

Switch configuration file

#                                                                               
set power manage mode 4                                                         
sleep time-range sleeptime                                                      
set power manage non-awaken-port interface GigabitEthernet0/0/24                
set power manage non-awaken-port interface GigabitEthernet0/0/25                
set power manage non-awaken-port interface GigabitEthernet0/0/26                
set power manage non-awaken-port interface GigabitEthernet0/0/27                
set power manage non-awaken-port interface GigabitEthernet0/0/28                
#
time-range sleeptime 00:00 to 07:00 working-day                                 
time-range sleeptime 19:00 to 00:00 working-day                                 
time-range sleeptime 00:00 to 00:00 off-day                                     
#  
return  
Translation
Download
Updated: 2019-09-23

Document ID: EDOC1000178167

Views: 206211

Downloads: 989

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next