summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-09-20 21:05:03 +0200
committerChristian Poessinger <christian@poessinger.com>2020-09-20 21:07:17 +0200
commita420f7637f80a9ad16160efcac8c2095fa52382b (patch)
tree097d8aedaab7cd80a54f4b4da04bdd57fb71b4a7 /interface-definitions
parent103e8404cdea70dad486940f209b9683f1c7b936 (diff)
downloadvyos-1x-a420f7637f80a9ad16160efcac8c2095fa52382b.tar.gz
vyos-1x-a420f7637f80a9ad16160efcac8c2095fa52382b.zip
macsec: T2023: add missing mtu CLI option
Base MTU for MACsec is 1468 bytes (encryption headers), but we leave room for 802.1ad and 802.1q VLAN tags, thus the limit is lowered to 1460 bytes to not make the user juggle with the MTU bytes if he enables VLAN support later on, which is yet to come.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/interfaces-macsec.xml.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/interface-definitions/interfaces-macsec.xml.in b/interface-definitions/interfaces-macsec.xml.in
index dfef387d2..9384726cc 100644
--- a/interface-definitions/interfaces-macsec.xml.in
+++ b/interface-definitions/interfaces-macsec.xml.in
@@ -107,8 +107,9 @@
</node>
#include <include/interface-description.xml.i>
#include <include/interface-disable.xml.i>
- #include <include/interface-vrf.xml.i>
+ #include <include/interface-mtu-68-9000.xml.i>
#include <include/source-interface-ethernet.xml.i>
+ #include <include/interface-vrf.xml.i>
</children>
</tagNode>
</children>