How to do Interface configuration?

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 config interface shutdown ethernet40

 

Startup

sudo config interface startup interface

Example :-

sudo config interface startup ethernet40

 

To change MTU Value

sudo config interface mtu interface MTU-value

Example :-

sudo config interface mtu ethernet40 9100

    • 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 ...
    • 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 ...
    • 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