To manage interface settings in SONiC, use the following commands.
To modify the speed of an interface, use the command:sudo config interface speed <interface> <speed_in_Mbps>
Example:sudo config interface speed ethernet10 40000
To disable an interface, use the command:sudo config interface shutdown <interface>
Example:sudo config interface shutdown ethernet10
To enable an interface, use the command:sudo config interface startup <interface>
Example:sudo config interface startup ethernet30
To adjust the MTU value of an interface, use the command:sudo config interface mtu <interface> <MTU_value>
Example:sudo config interface mtu ethernet30 9100