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. 

Have more questions? Submit a request


Powered by Zendesk