[Edgecore SONiC] MTU (Maximum Transmission Unit) Follow
Example:
Reference model:
- Switch model name: All
- Edgecore SONiC version: SONiC.Edgecore-SONiC_20201123_130028_ec202006_74
Restriction:
- Software restriction: Maximum of MTU is 9390
-
Known issue: It does not return failed if configure wrong MTU size, and the container will crash.
e.g: configure MTU 9390 on the interface.admin@sonic:~$ show interfaces status | head -n 5
Interface Lanes Speed MTU FEC Alias Vlan Oper Admin Type Asym PFC
----------- ----------- ------- ----- ----- ------- ------ ------ ------- -------------- ----------
Ethernet0 1 10G 9391 N/A Eth1/1 routed down up N/A N/A
Ethernet1 2 10G 9100 N/A Eth2/1 routed down up N/A N/A
Ethernet2 3 10G 9100 N/A Eth3/1 routed down up N/A N/A
Default setting:
- MTU is 9100 by default
Procedure :
Step 1. Configure MTU 4000 on Ethernet0.
Example: MTU of Ethernet0 is 4000
Step 2. Save the configuration to config_db.json
Step 3. Check MTU parameter
by SONiC show command.
admin@sonic:~$ show interfaces status | head -n 3
Interface Lanes Speed MTU FEC Alias Vlan Oper Admin Type Asym PFC
----------- ----------- ------- ----- ----- ------- ------ ------ ------- -------------- ----------
Ethernet0 1 10G 4000 N/A Eth1/1 routed down up N/A N/A
Appendix:
Check MTU by bcmshell
Comments
0 comments
Please sign in to leave a comment.