You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could I ask you to check that I goes in a wright direction? Maybe, there will be some suggestions regarding implementation of the functionality.
The idea of the fix is the next.
During update of mtu for the vlan, we will read the mtu value from CONFIG_DB and compare it with the lowest value of mtu received from members of the vlan. If the desired value of mtu is higher than the other one, the mtu of the vlan member will be set, because there is a requirement that the mtu value of a vlan should be lower or equal to mtu of its member.
The members could be added/deleted or their mtus could be changed, due to this, mtu of the vlan should be checked and updated in the next cases:
mtu field has set/changed in config table of the vlan;
a member of the vlan has added/removed;
mtu of a member of the vlan has changed.
For more detailed information you could check the draft PR.
Description
Modifying Vlan MTU is not reflected in the linux host interfaces. However it is programmed in the hardware.
Steps to reproduce the issue:
{
"VLAN": {
"Vlan2": {
"vlanid": "2",
"mtu": "3000"
}
}
}
ifconfig Vlan2
Vlan2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9100
inet6 fe80::268a:7ff:fe7e:4f80 prefixlen 64 scopeid 0x20
ether 24:8a:07:7e:4f:80 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 38 bytes 4940 (4.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Describe the results you received:
MTU doesn't change in linux host interface
Describe the results you expected:
MTU must be updated in the linux host interface
Output of
show version
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: