This knowledge base has moved to the documentation site. Please visit the knowledge base here for the most up to date content. This site is no longer maintained.

ethtool Fails to Force Duplex Mode

Follow

 Issue

ethtool fails to force an interface into duplex mode.

root@switch:~# ethtool -s swp48 speed 100 duplex full autoneg off
Cannot set new settings: Operation not supported
not setting speed
not setting duplex
not setting autoneg
root@switch:~# 

ethtool reports Cannot set new settings: Operation not supported.

 

Environment

  • Cumulus Linux 1.5.1 or earlier
  • cl-utilities version lower than 1.0-cl1.5.131120

 

Root Cause

The native Linux ethtool is not capable of configuring front panel ports.

 

Diagnostic Steps

  1. Attempt to configure a front panel port using ethtool. Observe the error Cannot set new settings: Operation not supported.
  2. Check the installed version of cl-utilities for a version earlier than 1.0-cl1.5.131120:

    root@switch:~# dpkg -l cl-utilities
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name                    Version          Architecture     Description
    +++-=======================-================-================-===================================================
    ii  cl-utilities            1.0-cl1.5.130925 powerpc          collection of cl commands

 

Resolution

  1. Update cl-utilities to version 1.0-cl1.5.131120 (released with Cumulus Linux 1.5.2) or later. cl-utilities provides an ethtool wrapper to enable configuration of front panel ports.
  2. Set port mode to duplex using ethtool:

    root@switch:~# ethtool -s swp48 duplex full
    root@switch:~# 
    
  3. Check the port mode with ethtool:

    root@switch:~# ethtool swp8 |grep Duplex
    Duplex: Full
    
  4. The port on the opposite end of the link may need to be flapped in order for the change to take effect.

Comments

  • Avatar
    Ashwin Gopalan

    Can you help ?

    root@device:/home/admin# dpkg -l cl-utilities
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name Version Architecture Description
    +++-=============================================-===========================-===========================-===============================================================================================
    ii cl-utilities 1.1-cl2.5+13 amd64 collection of cl commands
    root@device:/home/admin# ethtool -s swp42 duplex full

    root@device:/home/admin# ethtool -s swp42 autoneg on
    Cannot set new settings: Operation not supported
    not setting autoneg

This support portal has moved

Cumulus Networks is now part of the NVIDIA Networking Business Unit! The NVIDIA Cumulus Global Support Services (GSS) team has merged its operations with the NVIDIA Mellanox support services team.

You can access NVIDIA Cumulus support content from the Mellanox support portal.

You open and update new cases on the Mellanox support portal. Any previous cases that have been closed have been migrated to the Mellanox support portal.

Cases that are still open on the Cumulus portal will continue to be managed on the Cumulus portal. Once these cases close, they will be moved to the Mellanox support portal.

Powered by Zendesk