SONiC Configuration KB
What are some Basic Monitoring commands ?
show timezone-list: Displays the full list of available timezones. show boot: Shows the current OS image, the image to be loaded on the next reboot, and lists all available images installed on the device. show clock: Displays the current date and ...
What are the Basic Configuration commands ?
config hostname: Configures the system hostname. config platform firmware install: Installs platform component firmware. config platform firmware update: Updates a platform component firmware from the current/next SONiC image. config set_timezone: ...
How to Create/Modify VLAN ?
sudo config vlan add vlan-id – (To create a new vlan) sudo config vlan del vlan-id - (To delete an existing vlan) sudo config vlan member add vlan-id interface – (To add interface into a vlan)
How to do Management interface Configuration?
At root mode Enabling DHCP dhclient eth0 Manual ip configuration config interface ip add eth0 ipaddress/subnetmask gateway Example:-config interface ip add eth0 192.168.1.1/24 192.168.1.100
How to do Interface configuration?
To change interface speed sudo config interface speed interface speed(in Mbps) Example:- sudo config interface speed ethernet48 40000 To change interface status (Startup/Shutdown) Shutdown sudo config interface shutdown interface Example :- sudo ...
How to Upgrade/Downgrade SONiC ?
SONiC Installer This is a command line tool available as part of the SONiC software. If the device is already running the SONiC software, this tool can be used to install an alternate image in the partition. This tool has the facility to install an ...
How to do Admin password change in SONiC?
admin@sonic:~$ sudo passwd admin New password- (Enter the new password)Retype new password- (Re-Enter the new password
How to do Username & Password configuration in SONic
Users shall use the linux command "useradd" to add new users. Users shall use the linux command "passwd" to change the password for the specific username. admin@sonic:~$ sudo useradd new-username admin@sonic:~$ sudo passwd new-username New password- ...
What is the Default Login to SONiC ?
All SONiC devices support both the serial console-based login and the SSH based login by default. The default credential (if not modified at image build time) for login is admin/YourPaSsWoRd. In case of SSH login, users can login to the management ...
Where can I get the Configuration guide for SONiC
Attached document provides the details about the Configuration of SONiC
What is Static Routing and how to configure it
Static routing is a form of routing that occurs when a router uses a manually configured routing entry, rather than information from dynamic routing traffic. In many cases, static routes are manually configured by a network administrator by adding in ...
How to configure Sub Interface
Sub interfaces divide the parent interface into two or more virtual interfaces on which you can assign unique Layer 3 parameters such as IP addresses and dynamic routing protocols. The IP address for each sub interface should be in a different subnet ...