[RETIRED] Installing and Using the cl-show / netshow Troubleshooting Tool

Follow

 

Note: The netshow utility was deprecated in Cumulus Linux 3.2. You can get improved functionality using the NCLU net show command.


Issue

Much of the networking configuration and troubleshooting data is in multiple places in the Cumulus Linux operating system, requiring multiple commands to get the required data to troubleshoot a network issue.

Environment

Using netshow for Cumulus Linux 2.5.0 to 3.1.2

Cumulus Networks uses netshow to quickly return a lot of information about your network configuration. Cumulus Networks renamed cl-show to netshow since it can be used on any distribution of Linux, not just Cumulus Linux.

Cumulus Linux 2.5.5 to 3.1.2

If you're running Cumulus Linux 2.5.5 to 3.1.2, netshow is included in the main Cumulus Linux repository by default. You can read about netshow in the Cumulus Linux user guide.

Cumulus Linux 2.5.0 to 2.5.4

Starting with Cumulus Linux 2.5.0, Cumulus Networks moved the package from the testing repo to addons so you no longer have to modify /etc/apt/sources.list. The following directions show how you install netshow.

  1. Use apt-get update to grab latest packages:

    cumulus@switch$ sudo apt-get update
    Hit http://repo.cumulusnetworks.com CumulusLinux-2.5 Release.gpg
    Hit http://repo.cumulusnetworks.com CumulusLinux-2.5 Release
    Hit http://repo.cumulusnetworks.com CumulusLinux-2.5/main powerpc Packages
    Hit http://repo.cumulusnetworks.com CumulusLinux-2.5/addons powerpc Packages
    Hit http://repo.cumulusnetworks.com CumulusLinux-2.5/updates powerpc Packages
    Hit http://repo.cumulusnetworks.com CumulusLinux-2.5/security-updates powerpc Packages
    Ign http://repo.cumulusnetworks.com CumulusLinux-2.5/addons Translation-en
    Ign http://repo.cumulusnetworks.com CumulusLinux-2.5/main Translation-en
    Ign http://repo.cumulusnetworks.com CumulusLinux-2.5/security-updates Translation-en
    Ign http://repo.cumulusnetworks.com CumulusLinux-2.5/updates Translation-en
    Reading package lists... Done
    cumulus@switch$
    
  2. Use apt-cache search to look for the netshow package:

    cumulus@switch$ sudo apt-cache search netshow
    netshow - Linux Switch Troubleshooting Toolkit
    python-netshow-lib - Python library to put physical, bridge and bond interfac
    cumulus@switch$
    
  3. Use apt-get install to install the netshow package:

    cumulus@switch$ sudo apt-get install netshow
    Reading package lists... Done
    Building dependency tree... Done
    The following extra packages will be installed:
      cumulus-platform-info python-docopt python-flufl.i18n python-netifaces
      python-netshow-lib python-tabulate
    The following NEW packages will be installed:
      cumulus-platform-info netshow python-docopt python-flufl.i18n python-netifaces
      python-netshow-lib python-tabulate
    0 upgraded, 7 newly installed, 0 to remove and 10 not upgraded.
    Need to get 117 kB of archives.
    After this operation, 1012 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 http://repo.cumulusnetworks.com/ CumulusLinux-2.5/addons cumulus-platform-info all 1.0.1-1 [4274 B]
    Get:2 http://repo.cumulusnetworks.com/ CumulusLinux-2.5/addons python-netifaces powerpc 0.8-1 [13.5 kB]
    Get:3 http://repo.cumulusnetworks.com/ CumulusLinux-2.5/addons python-netshow-lib all 0.5.35-1 [25.4 kB]
    Get:4 http://repo.cumulusnetworks.com/ CumulusLinux-2.5/addons python-docopt all 0.6.2-1 [14.4 kB]
    Get:5 http://repo.cumulusnetworks.com/ CumulusLinux-2.5/addons python-flufl.i18n all 1.1.3-1 [20.4 kB]
    Get:6 http://repo.cumulusnetworks.com/ CumulusLinux-2.5/addons python-tabulate all 0.7.4-1 [17.0 kB]
    Get:7 http://repo.cumulusnetworks.com/ CumulusLinux-2.5/addons netshow all 0.5.50-1 [22.2 kB]
    Fetched 117 kB in 0s (147 kB/s)
    debconf: delaying package configuration, since apt-utils is not installed
    Selecting previously unselected package cumulus-platform-info.
    (Reading database ... 16771 files and directories currently installed.)
    Unpacking cumulus-platform-info (from .../cumulus-platform-info_1.0.1-1_all.deb) ...
    Selecting previously unselected package python-netifaces.
    Unpacking python-netifaces (from .../python-netifaces_0.8-1_powerpc.deb) ...
    Selecting previously unselected package python-netshow-lib.
    Unpacking python-netshow-lib (from .../python-netshow-lib_0.5.35-1_all.deb) ...
    Selecting previously unselected package python-docopt.
    Unpacking python-docopt (from .../python-docopt_0.6.2-1_all.deb) ...
    Selecting previously unselected package python-flufl.i18n.
    Unpacking python-flufl.i18n (from .../python-flufl.i18n_1.1.3-1_all.deb) ...
    Selecting previously unselected package python-tabulate.
    Unpacking python-tabulate (from .../python-tabulate_0.7.4-1_all.deb) ...
    Selecting previously unselected package netshow.
    Unpacking netshow (from .../netshow_0.5.50-1_all.deb) ...
    Setting up cumulus-platform-info (1.0.1-1) ...
    Setting up python-netifaces (0.8-1) ...
    Setting up python-netshow-lib (0.5.35-1) ...
    Setting up python-docopt (0.6.2-1) ...
    Setting up python-flufl.i18n (1.1.3-1) ...
    Setting up python-tabulate (0.7.4-1) ...
    Setting up netshow (0.5.50-1) ...
    cumulus@switch$
    

Using netshow with Version 2.5.0 to 2.5.4

Running netshow with no arguments displays all available command line arguments usable by netshow. The output looks like the following:

cumulus@switch$ netshow
Usage:
    netshow counters [ errors ] [all] [--json | -j ]
    netshow neighbors [--json | -j ]
    netshow system [--json | -j ]
    netshow interface [all] [ -m | --mac ] [ --oneline | -1 | -j | --json ]
    netshow [interface] [ access | bridge | bond | bondmem | mgmt | l2 | l3 |  phy | trunk |  ] [all] [--mac | -m ] [--oneline | -1  | --json | -j]
    netshow (--version | -v)
cumulus@switch$

For example, you can use netshow interface, which shows all available interfaces that are physically UP:

cumulus@switch$ netshow interface
    Name    Speed      Mtu  Mode      Summary
--  ------  -------  -----  --------  --------------------------
UP  lo      N/A      16436  Loopback  IP: 127.0.0.1/8, ::1/128
UP  eth0    1G        1500  Mgmt      IP: 192.168.0.11/24 (DHCP)
cumulus@switch$

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: 127.0.0.1/8, ::1/128
UP     eth0     1G          1500  Mgmt      IP: 192.168.0.11/24 (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

Use netshow --help to get more information on additional commands:

cumulus@switch$ netshow --help
Usage:
    netshow counters [ errors ] [all] [--json | -j ]
    netshow neighbors [--json | -j ]
    netshow system [--json | -j ]
    netshow interface [all] [ -m | --mac ] [ --oneline | -1 | -j | --json ]
    netshow [interface] [ access | bridge | bond | bondmem | mgmt | l2 | l3 |  phy | trunk |  ] [all] [--mac | -m ] [--oneline | -1  | --json | -j]
    netshow (--version | -v)

Help:
    * default is to show intefaces only in the UP state.
    interface                 summary info of all interfaces
    interface phy             summary of physical ports regardless of config
    interface access          summary of physical ports with l2 or l3 config
    interface bond            summary of bonds
    interface bondmem         summary of bond members
    interface bridge          summary of ports with bridge members
    interface trunk           summary of trunk interfaces
    interface mgmt            summary of mgmt ports
    interface l3              summary of ports with an IP.
    interface l2              summary of access, trunk and bridge interfaces
    interface      list summary of a single interface
    system                    system information
    neighbors                 physical device neighbor information

Options:
    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
    --json     print output in json

Using cl-show for Cumulus Linux 2.2.2 and Earlier

cl-show is an experimental tool to help troubleshoot issues on your Cumulus Linux switch. cl-show pulls data from multiple sources in the Linux operating system and displays it in a easy to read format on your screen.

Example

Here is an example of cl-show output:

cumulus@switch$ sudo cl-show interface     
*(K) - In Kernel
*(C) - In Config
Name    Speed    Mtu    Status    Mode           Details
------  -------  -----  --------  -------------  -----------------------------
lo      N/A      16436  Up(K)     Loopback       IP: 127.0.0.1/8, ::1/128
eth0    10G      1500   Up(K)     Mgmt           IP: 192.168.0.15/24 (DHCP)
swp1    10G      1500   Up(K)     L2/BondMember  Master: bond0(P)
swp2    10G      1500   Up(K)     L2/BondMember  Master: bond0(P)
bond0   20G      1500   Up(K)     L3/Bond        IP: 10.0.0.2/30
                                                 BondMembers: swp2(P), swp1(P)

cumulus@switch$ 

Installing cl-show

To install cl-show, complete the following steps.

  1. Enable the testing repository. If you are running Cumulus Linux 2.2.0 or later, uncomment the last line in /etc/apt/sources.list:
    cumulus@switch$ sudo vi /etc/apt/sources.list
    
    #  The Cumulus Package Repository.
    #
    #  Only packages from this repository are supported
    #
    #
    
    deb https://repo.cumulusnetworks.com CumulusLinux-2.2 main addons updates
    deb https://repo.cumulusnetworks.com CumulusLinux-2.2 security-updates
    
    # Uncomment the next line to get access to the testing component
    deb http://repo.cumulusnetworks.com CumulusLinux-2.2 testing
    
    :wq
    
    

    If your Cumulus Linux version is earlier than 2.2.0, uncomment the same line, but change the version of the testing repo to be CumulusLinux-2.2 as shown below:

    cumulus@switch$ cat /etc/lsb-release
    DISTRIB_ID="Cumulus Networks"
    DISTRIB_RELEASE=2.1.0
    DISTRIB_DESCRIPTION=2.1.0-2b13a08-201406162051-final
    
    cumulus@switch$ sudo vi /etc/apt/sources.list
    
    #  The Cumulus Package Repository.
    #
    #  Only packages from this repository are supported
    #
    #
    
    deb http://repo.cumulusnetworks.com CumulusLinux-2.1 main addons updates
    deb http://repo.cumulusnetworks.com CumulusLinux-2.1 security-updates
    
    # Uncomment the next line to get access to the testing component
    deb http://repo.cumulusnetworks.com CumulusLinux-2.2 testing
    
    :wq
    "/etc/apt/sources.list" 11L, 364C written
    
    
  2. Update the repo index:
    cumulus@switch$ sudo apt-get update
    Get:1 http://repo.cumulusnetworks.com CumulusLinux-2.2 Release.gpg [490 B]
    Get:2 http://repo.cumulusnetworks.com CumulusLinux-2.2 Release [16.2 kB]
    Get:3 http://repo.cumulusnetworks.com CumulusLinux-2.2/testing powerpc Packages [5610 B]
    Ign http://repo.cumulusnetworks.com CumulusLinux-2.2/testing Translation-en
    Get:4 https://repo.cumulusnetworks.com CumulusLinux-2.2 Release.gpg [490 B]
    Hit https://repo.cumulusnetworks.com CumulusLinux-2.2 Release
    Hit https://repo.cumulusnetworks.com CumulusLinux-2.2/main powerpc Packages
    Hit https://repo.cumulusnetworks.com CumulusLinux-2.2/addons powerpc Packages
    Hit https://repo.cumulusnetworks.com CumulusLinux-2.2/updates powerpc Packages
    Hit https://repo.cumulusnetworks.com CumulusLinux-2.2/security-updates powerpc Packages
    Ign https://repo.cumulusnetworks.com CumulusLinux-2.2/addons Translation-en    
    Ign https://repo.cumulusnetworks.com CumulusLinux-2.2/main Translation-en
    Ign https://repo.cumulusnetworks.com CumulusLinux-2.2/security-updates Translation-en
    Ign https://repo.cumulusnetworks.com CumulusLinux-2.2/updates Translation-en
    Fetched 22.8 kB in 31s (715 B/s)
    Reading package lists... Done
    cumulus@switch$ 
    
    

    Note: If you are running a Cumulus Linux version earlier than 2.2.0, you will see this warning:

    Reading package lists... Done
    W: GPG error: http://repo.cumulusnetworks.com CumulusLinux-2.2 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 38178DA35E6B88D2
  3. Install python-clshow:
    cumulus@switch$ sudo apt-get install python-clshow
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
      python-docopt python-flufl.i18n python-netifaces python-yalnp-lib
    The following NEW packages will be installed:
      python-clshow python-docopt python-flufl.i18n python-netifaces
      python-yalnp-lib
    0 upgraded, 5 newly installed, 0 to remove and 7 not upgraded.
    Need to get 87.3 kB of archives.
    After this operation, 796 kB of additional disk space will be used.
    Do you want to continue [Y/n]? Y
    Get:1 http://repo.cumulusnetworks.com/ CumulusLinux-2.2/testing python-netifaces powerpc 0.8-1 [13.5 kB]
    Get:2 http://repo.cumulusnetworks.com/ CumulusLinux-2.2/testing python-yalnp-lib all 0.3.19-1 [8708 B]
    Get:3 http://repo.cumulusnetworks.com/ CumulusLinux-2.2/testing python-docopt all 0.6.2-1 [14.4 kB]
    Get:4 http://repo.cumulusnetworks.com/ CumulusLinux-2.2/testing python-flufl.i18n all 1.1.3-1 [20.4 kB]
    Get:5 http://repo.cumulusnetworks.com/ CumulusLinux-2.2/testing python-clshow all 0.4.18-1 [30.4 kB]
    Fetched 87.3 kB in 0s (261 kB/s)    
    debconf: delaying package configuration, since apt-utils is not installed
    Selecting previously unselected package python-netifaces.
    (Reading database ... 16500 files and directories currently installed.)
    Unpacking python-netifaces (from .../python-netifaces_0.8-1_powerpc.deb) ...
    Selecting previously unselected package python-yalnp-lib.
    Unpacking python-yalnp-lib (from .../python-yalnp-lib_0.3.19-1_all.deb) ...
    Selecting previously unselected package python-docopt.
    Unpacking python-docopt (from .../python-docopt_0.6.2-1_all.deb) ...
    Selecting previously unselected package python-flufl.i18n.
    Unpacking python-flufl.i18n (from .../python-flufl.i18n_1.1.3-1_all.deb) ...
    Selecting previously unselected package python-clshow.
    Unpacking python-clshow (from .../python-clshow_0.4.18-1_all.deb) ...
    Setting up python-netifaces (0.8-1) ...
    Setting up python-yalnp-lib (0.3.19-1) ...
    Setting up python-docopt (0.6.2-1) ...
    Setting up python-flufl.i18n (1.1.3-1) ...
    Setting up python-clshow (0.4.18-1) ...
    cumulus@switch$ 
    
    

    Note: If you are running a Cumulus Linux version earlier than 2.2.0, you will see a warning during the install. You need to acknowledge that the versions don't match and want to proceed:

    After this operation, 815 kB of additional disk space will be used.
    Do you want to continue [Y/n]? Y
    WARNING: The following packages cannot be authenticated!
      python-netifaces python-yalnp-lib python-flufl.i18n python-clshow
    Install these packages without verification [y/N]? y 

Using cl-show

Verify that cl-show is now installed and usable:

cumulus@switch$ cl-show -h
Usage:
    cl-show interface [all | access | bridge | bond | bondmem | mgmt | trunk | <iface> ] [all] [--oneline | -1] [--run-ifquery | -i]
    cl-show counters [errors | all]
    cl-show (--version | -v)
Help:
    interface                 summary info from all active interfaces
    interface all             summary info from all  ports
    interface access          summary list of all active access ports
    interface access all      summary list of all access ports
    interface bond            summary info of all active bonds
    interface bond all        summary info of all bonds
    interface bondmem         summary info of all active bond members
    interface bondmem all     summary info of all bond members
    interface bridge          summary info of all active bridge ports
    interface bridge all      summary info of all bridge ports
    interface mgmt            summary info of all active mgmt ports
    interface mgmt all        summary info of all mgmt ports
    interface trunk           summary info of all active trunk ports
    interface trunk all       summary info of all trunk ports
    interface <interface>     list details of a single interface
    counters                  summary counter info only for 'up' ports
    counters errors           summary nonzero error count
    counters all              shows counters for all ports incl down ports
    --version                 cl-show software version
    -v                        alias for --version
Options:
    --oneline        output each entry on oneline
    -1               alias for  --oneline

sudo Is Required

Because LLDP and ethtool outputs require root/sudo privileges, you must use sudo to get the correct output. If you don't use sudo, you will have missing data:

cumulus@switch$ cl-show interface eth0 
Name:  eth0
Mode: Mgmt  Status:Up(K)  Mtu:1500  Speed:1G
MAC: 6c:64:1a:00:03:ba
IP: 192.168.100.14/24 (DHCP)
ARP Timer: 30.0s
Counters:
------------------
Counters Not Found


cumulus@switch$ sudo cl-show interface eth0
Name:  eth0
Mode: Mgmt  Status:Up(K)  Mtu:1500  Speed:1G
MAC: 6c:64:1a:00:03:ba
IP: 192.168.100.14/24 (DHCP)
ARP Timer: 30.0s
Counters:      RX    TX
-----------  ----  ----
Errors:         0     0
Unicast:     2376  1771
Broadcast:    188     4
Multicast:   1900   125
Services:
Name        PID    Port  Uptime    Protocol
--------  -----  ------  --------  ----------
ntpd       1907     123  0:44:18   ipv4
sshd       2211      22  0:44:13   ipv6
dhclient   1321   25409  0:44:23   ipv6

Using an Alias to Ensure sudo Is always Run

An easy way to ensure that you always run cl-show with sudo privileges is to create an alias. Make sure you also add this line into your .bash_aliases file so it will be persistent across sessions.

cumulus@switch$ alias cl-show="sudo cl-show"
cumulus@switch$ cl-show interface eth0 
Name:  eth0
Mode: Mgmt  Status:Up(K)  Mtu:1500  Speed:1G
MAC: 6c:64:1a:00:03:ba
IP: 192.168.100.14/24 (DHCP)
ARP Timer: 30.0s
Counters:      RX    TX
-----------  ----  ----
Errors:         0     0
Unicast:     2822  2050
Broadcast:    231     4
Multicast:   2529   162
Services:
Name        PID    Port  Uptime    Protocol
--------  -----  ------  --------  ----------
ntpd       1907     123  0:58:58   ipv4
sshd       2211      22  0:58:53   ipv6
dhclient   1321   25409  0:59:03   ipv6

cumulus@switch$ echo "alias cl-show='sudo cl-show'" | tee -a /home/cumulus/.bash_aliases
cumulus@switch$ unalias cl-show
cumulus@switch$ source /home/cumulus/.bash_aliases 
cumulus@switch$ alias | grep cl-show
alias cl-show='sudo cl-show'

cumulus@switch$ cl-show interface eth0
Name:  eth0
Mode: Mgmt  Status:Up(K)  Mtu:1500  Speed:1G
MAC: 6c:64:1a:00:03:ba
IP: 192.168.100.14/24 (DHCP)
ARP Timer: 30.0s
Counters:      RX    TX
-----------  ----  ----
Errors:         0     0
Unicast:     4348  2994
Broadcast:    271     4
Multicast:   2889   184
Services:
Name        PID    Port  Uptime    Protocol
--------  -----  ------  --------  ----------
ntpd       1907     123  1:07:26   ipv4
sshd       2211      22  1:07:21   ipv6
dhclient   1321   25409  1:07:31   ipv6
cumulus@switch$ 

Features and Examples of cl-show

Here are some features of cl-show:

cumulus@switch$ cl-show counters
Use 'ethtool -S <iface>' for detailed counter info
Name    Speed      Mtu  Status    Mode         txErr    rxErr    txUcast    rxUcast    txMcast    rxMcast    txBcast    rxBcast
------  -------  -----  --------  ---------  -------  -------  ---------  ---------  ---------  ---------  ---------  ---------
swp51   10G       1500  Up(K)     L2/Access        0        0          0          0        123        124          0          0
swp52   10G       1500  Up(K)     L2/Access        0        0          0          0        124        123          0          0
eth0    1G        1500  Up(K)     Mgmt             0        0       3051       4444        191       2990          4        277


cumulus@switch$  cl-show interface bond0
Name:  bond0
Mode: L3/Bond  Status:Up(K)  Mtu:1500  Speed:20G
MAC: 00:02:00:00:00:02
IP: 10.0.0.1/30
ARP Timer: 110.0s
----------------------  --------
Mode                    802.3ad
System Priority:        65535
LACP Rate:              fast
Master Member Port:     swp2
Minimum Links:          1
Load Balancing Method:  layer3+4
----------------------  --------
BondMembers:
Port    Status    PartOfBond    TX    RX    Errors      Link Failures  Nei Device    Nei Port
------  --------  ------------  ----  ----  --------  ---------------  ------------  ----------
swp2    Up        Yes           N/A   N/A   N/A                     0  leaf2         swp2
swp1    Up        Yes           N/A   N/A   N/A                     0  leaf2         swp1

cumulus@switch$ cl-show interface      
*(K) - In Kernel
*(C) - In Config
Name    Speed      Mtu  Status    Mode      Details
------  -------  -----  --------  --------  --------------------------
lo      N/A      16436  Up(K)     Loopback  IP: 127.0.0.1/8, ::1/128
eth0    10G       1500  Up(K)     Mgmt      IP: 192.168.0.15/24 (DHCP)

cumulus@switch$ cl-show interface all
*(K) - In Kernel
*(C) - In Config
Name        Speed      Mtu  Status    Mode       Details
----------  -------  -----  --------  ---------  --------------------------
lo          N/A      16436  Up(K)     Loopback   IP: 127.0.0.1/8, ::1/128
eth0        10G       1500  Up(K)     Mgmt       IP: 192.168.0.15/24 (DHCP)
swp1        N/A       1500  Down(K)   L2/Access  Native: br-vlan100
swp2        N/A       1500  Down(K)   L2/Access  Native: br-vlan100
br-vlan100  N/A       1500  Down(K)   L2/Bridge  (NoTag): swp1-2

cumulus@switch$ cl-show interface bridge           
*(K) - In Kernel
*(C) - In Config
Name        Speed      Mtu  Status    Mode       Details
----------  -------  -----  --------  ---------  ---------------
br-vlan100  N/A       1500  Up(K)     L2/Bridge  (NoTag): swp1-2


cumulus@switch$ cl-show interface br-vlan100
Name:  br-vlan100
Mode: L2/Bridge  Status:Up(K)  Mtu:1500  Speed:N/A
MAC: 00:02:00:00:00:03
Spanning Tree Summary
------------------------------  -----------------------
STP Protocol:                   rstp
Root Bridge:                    8.000.00:02:00:00:00:01
Bridge ID:                      8.000.00:02:00:00:00:03
Root Port:                      swp2
Last Topology Change Occurred:  2
Last Topology Occurred On:      swp1 (4 days, 22:19:39)
------------------------------  -----------------------
Bridge Members
Port    STP State
------  ----------------------
swp1    discarding (alternate)
swp2    forwarding (root)


Have more questions? Submit a request

Comments

Powered by Zendesk