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.

Manually Putting All Switch Ports into a Single VLAN

Follow

Issue

The Cumulus Linux switch boots but nothing is coming up. I want every switch port (swp) enabled and in a single VLAN (simple switch mode). How can I do this?

Note: There is a script that can do this automatically, see the See Also section below.

Environment

  • Cumulus Linux 2.1 and newer

Resolution

Simply use the glob option. Configure a simple bridge that contains all ports by configuring the following in the /etc/network/interfaces file:

auto br0
iface br0
  bridge-ports glob swp1-52
bridge-stp on

Then run ifup on the bridge:

cumulus@switch$ sudo ifup br0

To look at all the bridge ports within the bridge, use the Linux brctl show command:

cumulus@switch$ brctl show br0
bridge name	bridge id		STP enabled	interfaces
br0		8000.4438390025d8	no		swp1
							swp10
							swp11
							swp12
							swp13
							swp14
							swp15
-cut off for brevity-

See Also

Comments

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