---
title: Device Status
slug: routing/device-status
createdAt: 2025-12-04T04:32:02.383Z
---

## <font color="#1d50a2">Device Status</font>

### <font color="#1d50a2">show version</font>

**\[Command]**
**show version**

**\[Purpose]**
Show system version

**\[View]**
System view

**\[Notes]**
This command displays version information including: software, description, kernel, create, and image.

**\[Use Cases]**

```plaintext
sonic# show version
SONiC Software Version: SONiC.V6.1R0100P03-20250729.190136
SONiC OS Version: 12
Distribution: Debian 12.11
Kernel: 6.1.67
Build commit: 9e1c6a61cf
Build date: Tue Jul 29 11:19:17 UTC 2025
Built by: jenkins@c108d77f6c16
Platform: arm64-asterfusion_et2500-r0
Device: ET2500-SWP
ASIC: vpp
ASIC Count: 1
Serial Number: N/A
Model Number: ET2508-PoE-AC
Hardware Revision: N/A
Uptime: 03:42:20 up 16:05, 2 users, load average: 7.08, 7.18, 7.25
Date: Wed 30 Jul 2025 03:42:20 AM
```

### <font color="#1d50a2">show platform fan</font>

**\[Command]**
**show platform fan**

**\[Purpose]**
View fan information

**\[View]**
System view

**\[Use Cases]**

```plaintext
sonic# show platform fan
FAN Speed Direction Presence Status Timestamp
----- ------- ----------- ---------- -------- -----------------
FAN1 6840RPM exhaust Present OK 20250604 09:52:39
FAN2 6780RPM exhaust Present OK 20250604 09:52:39
```

Description of the **show platform fan** command output

| **Parameter** | **Description**                                                                      |
| ------------- | ------------------------------------------------------------------------------------ |
| *Speed*       | Fan speed                                                                            |
| *Direction*   | Fan wind direction<br />exhaust：Blowing wind outward<br />inhaust：Inward air suction |
| *Presence*    | Is the fan in place                                                                  |
| *Status*      | Fan Status                                                                           |
| *Timestamp*   | Get the time of the current state                                                    |

### <font color="#1d50a2">show platform psu-status</font>

**\[Command]**
**show platform psu-status**

**\[Purpose]**
View power status

**\[View]**
System view

**\[Notes]**

| **Status**  | **Description**               |
| ----------- | ----------------------------- |
| OK          | In place and properly powered |
| NOT OK      | In place but no power supply  |
| NOT PRESENT | Not in position               |

**\[Use Cases]**

```plaintext
sonic# show platform psu-status
```

### <font color="#1d50a2">show platform summary</font>

**\[Command]**
**show platform summary**

**\[Purpose]**
View hardware platform information

**\[View]**
System view

**\[Use Cases]**

```plaintext
sonic# show platform summary
```

### <font color="#1d50a2">show platform temperature</font>

**\[Command]**
**show platform temperature**

**\[Purpose]**
View hardware platform information

**\[View]**
System view

**\[Notes]**

| **Sensor**   | **Description**     |
| ------------ | ------------------- |
| temp\_lm75   | Ambient temperature |
| temp\_tmp400 | CPU temperature     |

**\[Use Cases]**

```plaintext
sonic# show platform temperature
```

### <font color="#1d50a2">show image</font>

**\[Command]**
**show image**

**\[Purpose]**
Display the system's installed firmware

**\[View]**
System view

**\[Use Cases]**

```plaintext
sonic# show image
Current: SONiC-OS-1.0
Next: SONiC-OS-1.0
Available:
SONiC-OS-1.0
SONiC-OS-1.0T18
```

### <font color="#1d50a2">show feature state</font>

**\[Command]**
**show feature state**

**\[Purpose]**
Check if the feature is enabled

**\[View]**
System view

**\[Notes]**
The processes related to all features on the current system are running in the corresponding containers, and the corresponding containers will be started after the feature is enabled. The containers in the always\_enabled state are not allowed to be closed.

**\[Use Cases]**

```plaintext
sonic# show feature status
Feature State AutoRestart SetOwner
----------- -------------- -------------- ----------
bgp enabled enabled
database always_enabled always_enabled
dhcp_relay enabled enabled local
dhcp_server disabled enabled local
dot1x enabled enabled
iccpd disabled enabled
l2mcd disabled enabled
lldp enabled enabled
mstpd disabled enabled
nat enabled enabled
pmon enabled enabled
ptp disabled enabled
radv enabled enabled
sflow disabled enabled
slad enabled enabled
snmp enabled enabled
snooping enabled enabled
swss enabled enabled
syncd enabled enabled
teamd enabled enabled
```

### <font color="#1d50a2">show ztp</font>

**\[Command]**
**show ztp**

**\[Purpose]**
Display ZTP execution results

**\[View]**
System view

**\[Use Cases]**

```plaintext
sonic# show ztp
ZTP Admin Mode : True
ZTP Service : Inactive
ZTP Status : FAILED
ZTP Source : dhcp-opt67 (Ethernet10)
Runtime : 23m 16s
Timestamp : 2024-06-20 09:03:04 UTC
ZTP Service is not running
configdb-json: SUCCESS
upload-log: FAILED
```

### <font color="#1d50a2">show ztp verbose</font>

**\[Command]**
**show ztp verbose**

**\[Purpose]**
Display detailed ZTP execution results

**\[View]**
System view

**\[Use Cases]**

```plaintext
sonic# show ztp verbose
Command: ztp status --verbose
========================================
ZTP
========================================
ZTP Admin Mode : True
ZTP Service : Inactive
ZTP Status : FAILED
Error : upload-log FAILED
ZTP Source : dhcp-opt67 (Ethernet10)
Runtime : 23m 16s
Timestamp : 2024-06-20 09:03:04 UTC
ZTP JSON Version : 1.0
ZTP Service is not running
----------------------------------------
configdb-json
----------------------------------------
Filename : ftp://teraspek:teraspek@150.1.0.1/POAM_CFG/aster666.json
Status : SUCCESS
Runtime : 17s
Timestamp : 2024-06-20 08:59:19 UTC
Exit Code : 0
Ignore Result : False
----------------------------------------
upload-log
----------------------------------------
Status : FAILED
Runtime : 03m 45s
Timestamp : 2024-06-20 09:03:04 UTC
Exit Code : 20
Error : Plugin failed
Ignore Result : False
```

### <font color="#1d50a2">show system memory-usage</font>

**\[Command]**
**show system memory-usage**

**\[Purpose]**
Display the current memory usage of the device

**\[View]**
System view

**\[Notes]**
When the device's memory usage exceeds 80%, executing this command will display the top 10 processes by memory usage

**\[Use Cases]**

```plaintext
sonic# show system memory-usage
Memory usage:65.1%
+-----------+-----------+----------+-----------+--------------+-------------+
| total | used | free | shared | buff/cache | available |
|-----------+-----------+----------+-----------+--------------+-------------|
| 15.00(GB) | 10.00(GB) | 5.60(GB) | 46.00(MB) | 2.20(GB) | 5.50(GB) |
+-----------+-----------+----------+-----------+--------------+-------------+
+---------------+---------------+---------------+-------------+--------------+---------------+
```

### <font color="#1d50a2">show system cpu-usage</font>

**\[Command]**
**show system cpu-usage**

**\[Purpose]**
Display the current CPU usage of the device.

**\[View]**
System view

**\[Notes]**
When the device's CPU usage exceeds 80%, executing this command will display the top 10 processes by CPU usage.

**\[Use Cases]**

```plaintext
sonic# show system cpu-usage
Cpu usage:76.7%
+-----------------+-------------------+-----------+
| user usage(%) | kernel usage(%) | free(%) |
|-----------------+-------------------+-----------|
| 75.5 | 1.3 | 23.1 |
+-----------------+-------------------+-----------+
```

### <font color="#1d50a2">show system disk-usage</font>

**\[Command]**
**show system disk-usage**

**\[Purpose]**
Display the current disk utilization of the device.

**\[View]**
System view

**\[Notes]**
When the device's disk utilization exceeds 80%, executing this command will display the major files occupying disk space.

**\[Use Cases]**

```plaintext
sonic# show system disk-usage
Disk usage:20.1%
+-----------+----------+-----------+
| total | used | free |
|-----------+----------+-----------|
| 27.94(GB) | 5.60(GB) | 22.32(GB) |
+-----------+----------+-----------+
```

