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.

Configuring an Interface to Stay Down at Boot Time



How can I disable an interface under /etc/network/interfaces running Cumulus Linux? I also want the interface stay down even after reboot.


  • Cumulus Linux 2.2.x, 2.5.x, 3.0.x - 3.2.0


The following example applies to an interface named swp1.

  1. Shut down the interface:

    cumulus@switch$ sudo ifdown --admin-state swp1
  2. Disable the interface from starting at next boot by editing /etc/network/interfaces and commenting out the line auto swp1:

    cumulus@switch$ sudo nano /etc/network/interfaces

    Change this line:

    auto swp1


    # auto swp1

    Note: Commenting out the auto line for a logical interface such as a bridge or bond means that the interface does not get created at boot time. If using implicit built-in interfaces, those interfaces also aren't created or started at boot time.


Note: For Cumulus Linux 3.2.1 and later, you can use NCLU to put an interface into an admin down state. 


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