-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[yang]Update port yang model, change MTU range to [68,9216] (#12223)
What I did Filter port invalid MTU configuration How I did it Adjust the MTU value to the range of [68,9216] How to verify it Use "config interface mtu Ethernet1 40" command to configure the port MTU. The following error will occur in SWSS.
- Loading branch information
1 parent
e2ae965
commit 094646c
Showing
3 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,7 +117,7 @@ module sonic-port{ | |
|
||
leaf mtu { | ||
type uint16 { | ||
range 1..9216; | ||
range 68..9216; | ||
} | ||
} | ||
|
||
|