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
  • Cumulus Linux 2.5.x


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.

Have more questions? Submit a request


Powered by Zendesk