Management Interface Configuration (SONiC)

Management Interface Configuration (SONiC)

Configure the management interface (eth0) for network administration in SONiC.


Default Configuration:

By default, eth0 uses DHCP to dynamically obtain an IP address from a DHCP server.

Static IP Configuration:

Command Line:
sudo config interface ip add eth0 <IP_Address/Subnet> 

Verification:

Use ifconfig eth0  address to verify settings.

SSH Access:

Remote login using:

ssh admin@<Management_Interface_IP>

This allows secure access and further network management.

    • Related Articles

    • 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 ...
    • Interface Configuration in SONiC

      To manage interface settings in SONiC, use the following commands. Change Interface Speed To modify the speed of an interface, use the command: sudo config interface speed <interface> <speed_in_Mbps> Example: sudo config interface speed ethernet10 ...
    • 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
    • Where can I get the Configuration guide for SONiC

      Attached document provides the details about the Configuration of SONiC
    • 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 ...