Cumulus Linux

Cumulus Linux Cheatsheet #

Cumulus Linux is a Linux-based network operating system for network switches, providing flexibility, scalability, and ease of integration with various network management tools. This cheatsheet covers essential commands and options for managing and configuring Cumulus Linux.

System Commands #

Command/OptionExampleDescription
show versionshow versionDisplay the current system version
show interfacesshow interfacesShow information about network interfaces
show ipshow ipDisplay IP address configuration
show running-configshow running-configShow the current running configuration
write memorywrite memorySave the running configuration to startup

Network Configuration #

Command/OptionExampleDescription
net shownet showDisplay network configuration
net addnet add interface eth0 address 192.168.1.1/24Add IP address to an interface
net delnet del interface eth0 address 192.168.1.1Remove IP address from an interface
net routenet route add 10.0.0.0/24 via 192.168.1.1Add a static route
net route delnet route del 10.0.0.0/24Remove a static route

VLAN Configuration #

Command/OptionExampleDescription
vlanvlan add 10Add a VLAN with ID 10
vlan showvlan showShow VLAN configuration
vlan delvlan del 10Remove VLAN with ID 10

Interface Configuration #

Command/OptionExampleDescription
interfaceinterface ethernet0Enter interface configuration mode
interface ethernet0interface ethernet0Configure Ethernet interface ethernet0
ip addressip address 192.168.1.1/24Set IP address for the interface
no shutdownno shutdownEnable the interface
shutdownshutdownDisable the interface

Routing Configuration #

Command/OptionExampleDescription
router ospfrouter ospf 1Enter OSPF routing configuration mode
networknetwork 192.168.1.0/24 area 0Configure OSPF network statement
router bgprouter bgp 65001Enter BGP routing configuration mode
neighborneighbor 192.168.1.2 remote-as 65002Configure BGP neighbor

Troubleshooting #

Command/OptionExampleDescription
pingping 8.8.8.8Test connectivity to a remote host
traceroutetraceroute 8.8.8.8Trace the route to a remote host
show logshow logDisplay system log
debugdebugEnter debug mode for diagnostics

Management #

Command/OptionExampleDescription
clishclishEnter the Cumulus Linux CLI
cumulus-configcumulus-configEnter the configuration management tool
clogclogView the Cumulus Linux log

This cheatsheet covers key commands and configurations for managing and operating Cumulus Linux. For detailed information on specific commands and options, refer to the Cumulus Linux documentation.

Cumulus Linux

Explore our comprehensive cheatsheets to enhance your knowledge and efficiency. Each cheatsheet provides detailed command options, examples, and descriptions to help you master various tools and technologies.