Command Line Reference
Basic Configuration
System Boot Configuration
5 min
system boot configuration system boot configuration show running config show running config \[command] show running config \[purpose] display the currently running configuration information \[view] system view \[use cases] sonic# show running config ! interface ethernet 1 mtu 9210 ! … ! ip protocol static route map rm set src ! line vty ! end reboot reboot \[command] reboot \[purpose] reboot system \[view] system view \[use cases] sonic# reboot write write \[command] write \[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] sonic# write save running config delete startup config delete startup config \[command] delete startup config \[purpose] delete saved configuration \[view] system view \[notes] saved configurations related to the management interface will not be deleted \[use cases] sonic# delete startup config
