Hardware, software, and OS information

Example model & SONiC version:

  • Aurora 710
  • Netberg SONiC: SONiC-OS-202111.0-20230321

Hardware information

show environment

This command displays a complete information about the platform environment – voltages, currents, wattage, temperatures, and fan speeds.

admin@sonic:~$ show environment

show platform summary

This command displays a summary of the platform.

admin@sonic:~$ show platform summary 
Platform: x86_64-netberg_aurora_710-r0 
HwSKU: aurora-710 
ASIC: barefoot 
ASIC Count: 1 
Serial Number: WL31D17000008 
Model Number: NBA710-FtB-PDU

show platform syseeprom

This command displays system EEPROM information.

admin@sonic:~$ show platform syseeprom
TlvInfo Header:
   Id String:    TlvInfo
   Version:      1
   Total Length: 192
TLV Name             Code      Len  Value
-------------------  ------  -----  ----------------------------
Product Name         0x21       10  Aurora 710
Part Number          0x22       14  NBA710-FtB-PDU
Serial Number        0x23       13  WL31D17000008
Base MAC Address     0x24        6  10:BE:99:00:19:FF
Manufacture Date     0x25       19  01/12/2023 08:57:55
Device Version       0x26        1  3
Label Revision       0x27        1  0
Platform Name        0x28       28  x86_64-netberg_aurora_710-r0
ONIE Version         0x29       28  master-201902111204v05-dirty
MAC Addresses        0x2A        2  135
Manufacturer         0x2B        7  Netberg
Manufacture Country  0x2C        2  TW
Vendor Name          0x2D        7  Netberg
Diag Version         0x2E       13  DIAG_BF_2.4.6
Service Tag          0x2F        5  Empty
CRC-32               0xFE        4  0x54FFBFA2
(checksum valid)

show platform firmware status

This command displays available FW and its version.

admin@sonic:~$ show platform firmware status
Chassis                       Module    Component    Version    Description
----------------------------  --------  -----------  ---------  -------------
x86_64-netberg_aurora_710-r0  N/A       Main BIOS    T06R017    Main BIOS

show platform psustatus

This command displays the PSU status.

admin@sonic:~$ show platform psustatus
PSU    Model         Serial         HW Rev    Voltage (V)    Current (A)    Power (W)  Status    LED
-----  ------------  -----------  --------  -------------  -------------  -----------  --------  -----
PSU 1  FSP550-20ERM  S2221000439        10           0.66           0.00         0.00  NOT OK    N/A
PSU 2  FSP550-20ERM  S2221000443        10          12.03           6.94        86.00  OK        N/A

show platform temperature

This command displays the temperature sensors.

admin@sonic:~$ show platform temperature
      Sensor    Temperature    High TH    Low TH    Crit High TH    Crit Low TH    Warning          Timestamp
------------  -------------  ---------  --------  --------------  -------------  ---------  -----------------
   ASIC Core         44.875         70       N/A             N/A            N/A      False  20230526 14:13:37
   CPU Board         34.812         50       N/A             N/A            N/A      False  20230526 14:13:37
      Core 0         44             82       N/A             N/A            N/A      False  20230526 14:13:37
      Core 1         44             82       N/A             N/A            N/A      False  20230526 14:13:37
      Core 2         44             82       N/A             N/A            N/A      False  20230526 14:13:37
      Core 3         44             82       N/A             N/A            N/A      False  20230526 14:13:37
      Core 4         44             82       N/A             N/A            N/A      False  20230526 14:13:37
   Front MAC         32             65       N/A             N/A            N/A      False  20230526 14:13:37
   Near PSU1         32.437         50       N/A             N/A            N/A      False  20230526 14:13:37
   Near PSU2         33.625         50       N/A             N/A            N/A      False  20230526 14:13:37
Near Port 32         31.875         50       N/A             N/A            N/A      False  20230526 14:13:37
    Rear MAC         34.375         50       N/A             N/A            N/A      False  20230526 14:13:37

show platform fan

This command displays the fans information.

admin@sonic:~$ show platform fan
  Drawer    LED       FAN    Speed    Direction    Presence    Status          Timestamp
--------  -----  --------  -------  -----------  ----------  --------  -----------------
FanTray4    N/A      FAN1      62%          N/A     Present        OK  20230526 14:14:37
FanTray4    N/A      FAN2      65%          N/A     Present        OK  20230526 14:14:37
FanTray3    N/A      FAN3      64%          N/A     Present        OK  20230526 14:14:37
FanTray3    N/A      FAN4      65%          N/A     Present        OK  20230526 14:14:37
FanTray2    N/A      FAN5      63%          N/A     Present        OK  20230526 14:14:37
FanTray2    N/A      FAN6      65%          N/A     Present        OK  20230526 14:14:37
FanTray1    N/A      FAN7      63%          N/A     Present        OK  20230526 14:14:37
FanTray1    N/A      FAN8      65%          N/A     Present        OK  20230526 14:14:37
     N/A    N/A  PSU1_FAN      22%          N/A     Present        OK  20230526 14:14:37
     N/A    N/A  PSU2_FAN      37%          N/A     Present        OK  20230526 14:14:37

Software information

show version

This command displays the current SONiC image information.

admin@sonic:~$ show version
SONiC Software Version: SONiC.nba710-support.0-2fe9c9668
SONiC OS Version: 11
Distribution: Debian 11.7
Kernel: 5.10.0-18-2-amd64
Build commit: 2fe9c9668
Build date: Mon May 22 21:55:10 UTC 2023
Built by: asapronov@master-710
Platform: x86_64-netberg_aurora_710-r0
HwSKU: aurora-710
ASIC: barefoot
ASIC Count: 1
Serial Number: WL31D17000008
Model Number: NBA710-FtB-PDU
Hardware Revision: N/A
Uptime: 14:16:04 up 27 min,  1 user,  load average: 0.07, 0.14, 0.39
Date: Fri 26 May 2023 14:16:04
Docker images:
REPOSITORY                    TAG                          IMAGE ID       SIZE
docker-macsec                 latest                       82ede95fd2f3   318MB
docker-dhcp-relay             latest                       4929ebf5385b   306MB
docker-syncd-bfn              latest                       d197edf02703   2.24GB
docker-syncd-bfn              nba710-support.0-2fe9c9668   d197edf02703   2.24GB
docker-sonic-telemetry        latest                       43245f411eb6   597MB
docker-sonic-telemetry        nba710-support.0-2fe9c9668   43245f411eb6   597MB
docker-teamd                  latest                       668fd5f06b6e   316MB
docker-teamd                  nba710-support.0-2fe9c9668   668fd5f06b6e   316MB
docker-snmp                   latest                       ba40152f0154   338MB
docker-snmp                   nba710-support.0-2fe9c9668   ba40152f0154   338MB
docker-sflow                  latest                       9af0a4abf44f   317MB
docker-sflow                  nba710-support.0-2fe9c9668   9af0a4abf44f   317MB
docker-router-advertiser      latest                       b029cb74604a   299MB
docker-router-advertiser      nba710-support.0-2fe9c9668   b029cb74604a   299MB
docker-platform-monitor       latest                       da6109ddf909   420MB
docker-platform-monitor       nba710-support.0-2fe9c9668   da6109ddf909   420MB
docker-sonic-p4rt             latest                       5b92b1f8dd60   870MB
docker-sonic-p4rt             nba710-support.0-2fe9c9668   5b92b1f8dd60   870MB
docker-orchagent              latest                       089c35ac62a6   328MB
docker-orchagent              nba710-support.0-2fe9c9668   089c35ac62a6   328MB
docker-nat                    latest                       e1cfe8b992ec   319MB
docker-nat                    nba710-support.0-2fe9c9668   e1cfe8b992ec   319MB
docker-mux                    latest                       affd1ab71fa6   347MB
docker-mux                    nba710-support.0-2fe9c9668   affd1ab71fa6   347MB
docker-lldp                   latest                       9e813b5a92b9   341MB
docker-lldp                   nba710-support.0-2fe9c9668   9e813b5a92b9   341MB
docker-fpm-frr                latest                       510f231c90c7   346MB
docker-fpm-frr                nba710-support.0-2fe9c9668   510f231c90c7   346MB
docker-eventd                 latest                       b0001101fa6b   298MB
docker-eventd                 nba710-support.0-2fe9c9668   b0001101fa6b   298MB
docker-database               latest                       8ce7ac2fd9dc   299MB
docker-database               nba710-support.0-2fe9c9668   8ce7ac2fd9dc   299MB
docker-sonic-mgmt-framework   latest                       82ab4a1c2e68   414MB
docker-sonic-mgmt-framework   nba710-support.0-2fe9c9668   82ab4a1c2e68   414MB

show service

This command displays the state of SONiC processes running inside docker containers.

admin@sonic:~$ show service

show system-memory

This command displays the memory utilization.

admin@sonic:~$ show system-memory
               total        used        free      shared  buff/cache   available
Mem:           15895        1363       13364          14        1167       14230
Swap:              0           0           0

NOS information

show uptime

This command displays the current system uptime.

admin@sonic:~$ show uptime
up 38 minutes

show clock

This command displays the system’s current date and time.

admin@sonic:~$ show clock
Fri 26 May 2023 02:27:17 PM UTC

show user

This command displays a list of logged in users.

admin@sonic:~$ show user
admin    pts/0        2023-05-26 13:55 (192.168.0.15)

show logging

This command displays all available log messages. Please refer to syslog.

admin@sonic:~$ show logging

show reboot-cause

This command displays the cause of the previous reboot

admin@sonic:~$ show reboot-cause
Power Loss (Unknown)

The reboot log location is /host/reboot-cause/

admin@sonic:~$ ls -l /host/reboot-cause/
total 16
drwxr-xr-x 2 root root 4096 May 26 13:50 history
drwxr-xr-x 2 root root 4096 May 21 17:48 platform
lrwxrwxrwx 1 root root   64 May 26 13:49 previous-reboot-cause.json -> /host/reboot-cause/history/reboot-cause-2023_05_26_13_49_12.json
-rw-r--r-- 1 root root    7 May 26 13:49 reboot-cause.txt
NEWS

Latest news