Table Of Contents
Configuring EEE
Information About EEE
EEE Overview
EEE LPI Sleep Threshold
EEE Latency
Virtualization Support
Licensing Requirements for EEE
Prerequisites for EEE
Guidelines and Limitations
Default Settings
Configuring EEE
Enabling or Disabling EEE
Configuring the EEE LPI Sleep Threshold
Verifying the EEE Configuration
Configuration Examples for EEE
Additional References
Related Documents
Feature History for EEE
Configuring EEE
This chapter describes how to configure Energy Efficient Ethernet (EEE) on Cisco NX-OS devices.
This chapter includes the following sections:
•
Information About EEE
•
Licensing Requirements for EEE
•
Prerequisites for EEE
•
Guidelines and Limitations
•
Default Settings
•
Configuring EEE
•
Verifying the EEE Configuration
•
Configuration Examples for EEE
•
Additional References
•
Feature History for EEE
Information About EEE
This section includes the following topics:
•
EEE Overview
•
EEE LPI Sleep Threshold
•
EEE Latency
•
Virtualization Support
EEE Overview
Energy Efficient Ethernet (EEE) is an IEEE 802.3az standard that is designed to reduce power consumption in Ethernet networks during idle periods.
EEE can be enabled on devices that support low power idle (LPI) mode. Such devices can save power by entering LPI mode during periods of low utilization. In LPI mode, systems on both ends of the link can save power by shutting down certain services. EEE provides the protocol needed to transition into and out of LPI mode in a way that is transparent to upper layer protocols and applications.
EEE LPI Sleep Threshold
The EEE LPI sleep threshold specifies how long an interface should wait to go to sleep after detecting an idle state. You can configure the threshold to be aggressive or nonaggressive.
EEE Latency
The EEE latency specifies the EEE delay that is added to your traffic. The default value is a constant latency of 6 microseconds.
Virtualization Support
By default, Cisco NX-OS places you in the default virtual device context (VDC) unless you specifically configure another VDC. For more information about VDCs, see the Cisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide.
Licensing Requirements for EEE
Product
|
License Requirement
|
Cisco NX-OS
|
EEE requires no license. Any feature not included in a license package is bundled with the Cisco NX-OS system images and is provided at no extra charge to you. For a complete explanation of the Cisco NX-OS licensing scheme, see the Cisco NX-OS Licensing Guide.
|
Prerequisites for EEE
EEE has the following prerequisites:
•
To configure VDCs, you must install the appropriate license. See the Cisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide for configuration information and the Cisco NX-OS Licensing Guide for licensing information.
Guidelines and Limitations
EEE has the following configuration guidelines and limitations:
•
Only F2e (enhanced) copper port modules support EEE. F2e fiber port modules do not support EEE.
•
EEE is supported only for 10-Gigabit link speeds. It is not supported for 1-Gigabit link speeds.
•
Changing the EEE configuration resets the interface because the device has to restart Layer 1 autonegotiation.
•
You might want to enable the Link Layer Discovery Protocol (LLDP) for devices that require longer wakeup times before they are able to accept data on their receive paths. Doing so enables the device to negotiate for extended system wakeup times from the transmitting link partner.
Default Settings
Table 20-1 lists the default settings for EEE parameters.
Table 20-1 Default EEE Parameters
Parameters
|
Default
|
EEE
|
Disabled
|
EEE LPI sleep threshold
|
Nonaggressive
|
EEE latency
|
6 microseconds
|
Configuring EEE
This section includes the following topics:
•
Enabling or Disabling EEE
•
Configuring the EEE LPI Sleep Threshold
Enabling or Disabling EEE
You can enable or disable EEE on an interface that is connected to an EEE-capable link partner.
BEFORE YOU BEGIN
Make sure that you are in the correct VDC. To change the VDC, use the switchto vdc command.
SUMMARY STEPS
1.
config t
2.
interface ethernet slot/port
3.
[no] power efficient-ethernet auto
4.
(Optional) show interface ethernet slot/port
5.
(Optional) copy running-config startup-config
DETAILED STEPS
| |
Command
|
Purpose
|
Step 1
|
config t
Example:
switch# config t
Enter configuration commands, one per
line. End with CNTL/Z.
switch(config)#
|
Places you in global configuration mode.
|
Step 2
|
interface ethernet slot/port
Example:
switch(config)# interface ethernet 7/1
switch(config-if)
|
Enters the interface configuration mode.
|
Step 3
|
[no] power efficient-ethernet auto
Example:
switch(config-if)# power
efficient-ethernet auto
|
Enables or disables EEE on the specified interface. When EEE is enabled, the device advertises and autonegotiates EEE to its link partner.
|
Step 4
|
show interface ethernet slot/port
Example:
switch(config-if)# show interface
ethernet 7/1
|
(Optional) Displays the EEE status on the interface.
|
Step 5
|
copy running-config startup-config
Example:
switch(config-if)# copy running-config
startup-config
|
(Optional) Saves the change persistently through reboots and restarts by copying the running configuration to the startup configuration.
|
Configuring the EEE LPI Sleep Threshold
You can configure the EEE LPI sleep threshold on an interface to specify how aggressively you want it to go to sleep.
BEFORE YOU BEGIN
Make sure that you are in the correct VDC. To change the VDC, use the switchto vdc command.
SUMMARY STEPS
1.
config t
2.
interface ethernet slot/port
3.
[no] power efficient-ethernet sleep threshold aggressive
4.
(Optional) copy running-config startup-config
DETAILED STEPS
| |
Command
|
Purpose
|
Step 1
|
config t
Example:
switch# config t
Enter configuration commands, one per line.
End with CNTL/Z.
switch(config)#
|
Places you in global configuration mode.
|
Step 2
|
interface ethernet slot/port
Example:
switch(config)# interface ethernet 7/1
switch(config-if)
|
Enters the interface configuration mode.
|
Step 3
|
[no] power efficient-ethernet sleep threshold
aggressive
Example:
switch(config-if)# power efficient-ethernet
sleep threshold aggressive
|
Configures the EEE LPI sleep threshold on the interface to be aggressive or nonaggressive. The no form of this command enables the nonaggressive threshold.
• Aggressive—Causes the device to enter LPI mode after 20 microseconds of detecting an idle state.
• Nonaggressive—Causes the device to enter LPI mode after 600 microseconds of detecting an idle state.
|
Step 4
|
copy running-config startup-config
Example:
switch(config-if)# copy running-config
startup-config
|
(Optional) Saves the change persistently through reboots and restarts by copying the running configuration to the startup configuration.
|
Verifying the EEE Configuration
To display the EEE configuration, perform one of the following tasks:
Command
|
Purpose
|
show environment power detail
|
Displays the current power usage.
|
show interface ethernet slot/port
|
Displays the EEE status on the interface. The options are as follows:
• N/A—The interface is not capable of EEE.
• Disabled—EEE is disabled on this interface.
• Disagreed—EEE autonegotiation with the link partner has failed.
• Operational—EEE is enabled and operational on this interface.
|
show interface ethernet slot/port capabilities
|
Displays whether the interface is EEE capable.
|
show interface ethernet slot/port counters detailed
|
Displays the following EEE statistics on the interface:
• Tx LPI usecs—The amount of time (in microseconds) that the transmitting link partner waits before it starts transmitting data after leaving LPI mode.
• Rx LPI usecs—The amount of time (in microseconds) that the receiving link partner requests that the transmitting link partner wait before transmitting data after leaving LPI mode.
• Tx LPI requests—The number of times that the transmitting link partner makes a request to enter LPI mode.
• Rx LPI indications—The number of times the receiving link partner detects that the transmitting link partner has entered LPI mode.
|
Configuration Examples for EEE
This example shows how to enable EEE on an Ethernet interface:
switch(config)# interface ethernet 7/1
switch(config-if)# power efficient-ethernet auto
switch(config-if)# power efficient-ethernet sleep threshold aggressive
switch(config-if)# show interface ethernet 7/1
EEE(efficient-ethernet): Operational
Additional References
For additional information related to implementing EEE, see the following section:
•
Related Documents
Related Documents
Related Topic
|
Document Title
|
EEE CLI commands
|
Cisco Nexus 7000 Series NX-OS System Management Command Reference
|
VDCs
|
Cisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide
|
Feature History for EEE
Table 20-2 lists the release history for this feature.
Table 20-2 Feature History for EEE
Feature Name
|
Releases
|
Feature Information
|
EEE
|
6.1(2)
|
This feature was introduced.
|