summaryrefslogtreecommitdiff
path: root/docs/_include/interface-mac.txt
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-10 21:42:38 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-10 21:42:38 +0100
commitf6ee81e58268ce1a666f68504f327f49c4402130 (patch)
treec19a0799fde38e1883937367965c547c56bba970 /docs/_include/interface-mac.txt
parentab3552884ee1c5560fb37c5deb5e4ee1662f20bc (diff)
downloadvyos-documentation-f6ee81e58268ce1a666f68504f327f49c4402130.tar.gz
vyos-documentation-f6ee81e58268ce1a666f68504f327f49c4402130.zip
interface: move mac and mtu documentation to common file
Diffstat (limited to 'docs/_include/interface-mac.txt')
-rw-r--r--docs/_include/interface-mac.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/_include/interface-mac.txt b/docs/_include/interface-mac.txt
new file mode 100644
index 00000000..29157555
--- /dev/null
+++ b/docs/_include/interface-mac.txt
@@ -0,0 +1,10 @@
+.. cfgcmd:: set interfaces {{ var0 }} <interface> mac <xx:xx:xx:xx:xx:xx>
+
+ Configure user defined :abbr:`MAC (Media Access Control)` address on given
+ `<interface>`.
+
+ Example:
+
+ .. code-block:: none
+
+ set interfaces {{ var0 }} {{ var1 }} mac '00:01:02:03:04:05' \ No newline at end of file