Basic Configuration and Show
SONiC is managing the configuration in a single source of truth, a redisDB instance that we refer as ConfigDB. The applications subscribe to ConfigDB and generate their running configuration correspondingly.
You can find the details about ConfigDB and schema design here.
SONiC includes commands that allow user to show platform, transceivers, L2, IP, BGP status, and so on.
Note: All the configuration commands require root privileges to execute them and the commands are case-sensitive.Show commands can be executed by all users without the root privileges. Root privileges can be obtained either by using
sudo
keyword in front of all config commands, or by going to root prompt using sudo -i
.