---
title: System Boot Configuration
slug: enterprise-v5p2/system-boot-configuration
description: basic configuartion
createdAt: 2025-11-14T03:58:41.381Z
---

### <font color="#1d50a2">show running-config</font>

**\[Command]**
**show running-config \[details]**

**\[Purpose]**
Display the currently running configuration information

**\[Parameter]**

details					show the running config include all dynamic router config

**\[View]**
System view

**\[Use Cases]**

```plaintext
sonic# show running-config!
interface ethernet 1
dot1x accounting-realtime 1000
dot1x reauthenticate-period 1000
mtu 9210
no storm-suppress broadcast
storm-suppress broadcast packets 10
!...!
ip protocol static route-map RM_SET_SRC
!
line vty
!
end
```

### <font color="#1d50a2">show startup-config</font>

**\[Command]**
**show startup-config**

**\[Purpose]**
Display configuration information for startup

**\[View**
System view

**\[Use Cases]**

```plaintext
sonic# show startup-config
!
interface ethernet 1
dot1x accounting-realtime 1000
dot1x reauthenticate-period 1000
mtu 9210
no storm-suppress broadcast
storm-suppress broadcast packets 10
!
...
!
ip protocol static route-map RM_SET_SRC
!
ip protocol bgp route-map RM_SET_SRC
!
ipv6 protocol bgp route-map RM_SET_SRC6
!
line vty
!
end
```

### <font color="#1d50a2">show running-config changed</font>

**\[Command]**

**show running-config changed**

**\[Function]**

Show the differences between the running configuration and the startup configuration

**\[View]**

System View

**\[Example]**

```text
sonic# show running-config changed
Checking difference between running-config and startup-config, please wait...
====Diff of config_db.json====
@{
@ "VLAN": {
+ },
+ "Vlan2000": {
+ "vlanid": "2000"
====Diff of running-config====
+vlan 2000
+!

```

### <font color="#1d50a2">reboot</font>

**\[Command]**
**reboot \[-y]**

**\[Purpose]**
Reboot system

**\[View]**
System view

**\[Use Cases]**

```plain&#x20;text
sonic# reboot
```

### <font color="#1d50a2">write</font>

**\[Command]**
**write running-config \[-y]**

**\[Purpose]**
Configuration saving

**\[View]**
System view

**\[Usage Scenario]**
Users modify the device's current configuration via the command line, and these configurations are temporary. To ensure that the current configuration remains effective after the device is rebooted, it's necessary to save the current configuration to a configuration file before restarting the device.

**\[Notes]**
The configurations will be saved in JSON format in the system's /etc/sonic directory, with the filename as config\_db.json. The file saved during the previous 'write' command execution will be renamed in the format config\_db\_date for record-keeping and rollback purposes.

**\[Use Cases]**

```plaintext
sonic# wite running-config
 save running-config...
```

### <font color="#1d50a2">delete startup-config</font>

**\[Command]**
**delete startup-config \[all] \[-y]**

**\[Purpose]**
Delete saved configuration

**\[View]**
System view

**\[Notes]**
Saved configurations related to the management interface will not be deleted.If the "all" parameter is used, all configurations will be deleted.

**\[Use Cases]**

```plaintext
sonic# delete startup-config
```

