This documentation is for an older version of the software. If you are using the current version of Cumulus Linux, this content may not be up to date. The current version of the documentation is available here. If you are redirected to the main page of the user guide, then this page may have been renamed; please search for it there.

Using netshow to Troubleshoot Your Network Configuration

netshow is a tool in Cumulus RMP that quickly returns a lot of information about your network configuration. It’s a tool designed by network operators for network troubleshooters since existing command line tools have too many options. netshow addresses this by leveraging the network troubleshooting experience from a wide group of troubleshooters and boiling it down to just a few important options. netshow quickly aggregates basic network information on Linux devices with numerous interfaces. netshow intelligently informs the administrator what network type an interface belongs to, and shows the most relevant information to a network administrator.

netshow can be used on any distribution of Linux, not just Cumulus RMP.

Installing netshow

Starting with Cumulus RMP 3.0.0, netshow is installed by default in Cumulus RMP.

Using netshow

Running netshow with no arguments displays all available command line arguments usable by netshow. (Running netshow --help gives you the same information.) The output looks like this:

cumulus@switch$ netshow
    netshow system 
    netshow counters [errors] [all] [-l | --legend ]
    netshow lldp [-l | --legend ]
    netshow interface [<iface>] [all] [--mac | -m ] [--oneline | -1 | -l | --legend ]
    netshow access [all] [--mac | -m ] [--oneline | -1 | --legend | -l ]
    netshow bridges [all] [--mac | -m ] [--oneline | -1 | --legend | -l ]
    netshow bonds [all] [--mac | -m ] [--oneline | -l | --legend ]
    netshow bondmems [all] [--mac | -m ] [--oneline | -1 | -l | --legend ]
    netshow mgmt [all] [--mac | -m ] [--oneline | -1  | -l | --legend ]
    netshow l2 [all] [--mac | -m ] [--oneline | -1  | -l | --legend ]
    netshow l3 [all] [--mac | -m ] [--oneline | -1  | -l | --legend ]
    netshow trunks [all] [--mac | -m ] [--oneline | -1 | -l | --legend ]
    netshow (--version | -V)
    * default is to show intefaces only in the UP state.
    counters                  summary of physical port counters.
    interface                 summary info of all interfaces
    access                    summary of physical ports with l2 or l3 config
    bonds                     summary of bonds
    bondmems                  summary of bond members
    bridges                   summary of ports with bridge members
    mgmt                      summary of mgmt ports
    l3                        summary of ports with an IP.
    l2                        summary of access, trunk and bridge interfaces
    phy                       summary of physical ports  
    trunks                    summary of trunk interfaces
    lldp                      physical device neighbor information
    interface <iface>         list summary of a single interface
    system                    system information
    all        show all ports include those are down or admin down
    --mac      show inteface MAC in output
    --version  netshow software version
    --oneline  output each entry on one line
    -1         alias for --oneline
    -l         alias for --legend
    --legend   print legend key explaining abbreviations

A Linux administrator can quickly see the few options available with the tool. One core tenet of netshow is for it to have a small number of command options. netshow is not designed to solve your network problem, but to help answer this simple question: “What is the basic network setup of my Linux device?” By helping to answer that question, a Linux administrator can spend more time troubleshooting the specific network problem instead of spending most of their time understanding the basic network state.

Originally developed for Cumulus Linux, netshow works on Debian-based servers and switches and Red Hat-based Linux systems.

netshow is designed by network operators, which has rarely occurred in the networking industry, where most command troubleshooting tools are designed by developers and are most useful in the network application development process.

Showing Interfaces

To show all available interfaces that are physically UP, run netshow interface:

cumulus@switch:~$ netshow interface
To view the legend,  rerun "netshow" cmd with the  "--legend" option
    Name    Speed      MTU  Mode    Summary
--  ------  -------  -----  ------  -------------------------
UP  eth0    1G        1500  Mgmt    IP:
UP  lo      N/A      16436  Mgmt    IP:, ::1/128

Whereas netshow interface all displays every interface regardless of state:

cumulus@switch:~$ netshow interface all
       Name     Speed        Mtu  Mode      Summary
-----  -------  ---------  -----  --------  --------------------------
UP     lo       N/A        16436  Loopback  IP:, ::1/128
UP     eth0     1G          1500  Mgmt      IP: (DHCP)
ADMDN  swp1s0   10G(4x10)   1500  Unknwn
ADMDN  swp1s1   10G(4x10)   1500  Unknwn
ADMDN  swp1s2   10G(4x10)   1500  Unknwn
ADMDN  swp1s3   10G(4x10)   1500  Unknwn
ADMDN  swp2     40G(QSFP)   1500  Unknwn
ADMDN  swp3     40G(QSFP)   1500  Unknwn
ADMDN  swp4     40G(QSFP)   1500  Unknwn
ADMDN  swp5     40G(QSFP)   1500  Unknwn
ADMDN  swp6     40G(QSFP)   1500  Unknwn
ADMDN  swp7     40G(QSFP)   1500  Unknwn
ADMDN  swp8     40G(QSFP)   1500  Unknwn
ADMDN  swp9     40G(QSFP)   1500  Unknwn
ADMDN  swp10    40G(QSFP)   1500  Unknwn
ADMDN  swp11    40G(QSFP)   1500  Unknwn
ADMDN  swp12    40G(QSFP)   1500  Unknwn
ADMDN  swp13    40G(QSFP)   1500  Unknwn
ADMDN  swp14    40G(QSFP)   1500  Unknwn
ADMDN  swp15    40G(QSFP)   1500  Unknwn
ADMDN  swp16    40G(QSFP)   1500  Unknwn
ADMDN  swp17    40G(QSFP)   1500  Unknwn
ADMDN  swp18    40G(QSFP)   1500  Unknwn
ADMDN  swp19    40G(QSFP)   1500  Unknwn
ADMDN  swp20    40G(QSFP)   1500  Unknwn
ADMDN  swp21    40G(QSFP)   1500  Unknwn
ADMDN  swp22    40G(QSFP)   1500  Unknwn
ADMDN  swp23    40G(QSFP)   1500  Unknwn
ADMDN  swp24    40G(QSFP)   1500  Unknwn
ADMDN  swp25    40G(QSFP)   1500  Unknwn
ADMDN  swp26    40G(QSFP)   1500  Unknwn
ADMDN  swp27    40G(QSFP)   1500  Unknwn
ADMDN  swp28    40G(QSFP)   1500  Unknwn
ADMDN  swp29    40G(QSFP)   1500  Unknwn
ADMDN  swp30    40G(QSFP)   1500  Unknwn
ADMDN  swp31    40G(QSFP)   1500  Unknwn
ADMDN  swp32s0  10G(4x10)   1500  Unknwn
ADMDN  swp32s1  10G(4x10)   1500  Unknwn
ADMDN  swp32s2  10G(4x10)   1500  Unknwn
ADMDN  swp32s3  10G(4x10)   1500  Unknwn

You can get information about the switch itself by running netshow system:

cumulus@switch:~$ netshow system
Arctica 4804IP
Cumulus Version 3.0.0~1462473422.02602ac
Build: Cumulus RMP 3.0.0~1462473422.02602ac
Chipset: Broadcom Hurricane2
Port Config: 48 x 10G-SFP+ & 4 x 40G-QSFP+
CPU: (x86_64) Intel Atom C2758 2.40GHz
Uptime: 2 days, 21:31:00

Other Useful netshow Features

netshow uses the python network-docopt package. This is inspired by docopt and provides the ability to specify partial commands, without tab completion and running the complete option. For example:

netshow int runs netshow interface
netshow sys runs netshow system

netshow will eventually support interface name autocompletion. In the near future, if you run netshow int tap123 and there is only one interface starting with tap123, netshow will autocomplete the command option with the full interface.

Contributions Welcome!

netshow is an open source project licensed under GPLv2. To contribute please contact Cumulus Networks through the Cumulus Community Forum or the Netshow Linux Provider Github Repository Home. You can find developer documentation at The documentation is still under development.