summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-05 19:03:35 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-05 19:03:35 +0200
commitb9abf863972ffec066912eea7602eddb8ecfb9e0 (patch)
treed3b33f3fd8a3d13bb53ed8d3e793f934fe8ef0e1 /docs/configuration
parentc57facdcc306fe86b0d1834a38ba9aced5f9c676 (diff)
downloadvyos-documentation-b9abf863972ffec066912eea7602eddb8ecfb9e0.tar.gz
vyos-documentation-b9abf863972ffec066912eea7602eddb8ecfb9e0.zip
arp: adjust to new CLI syntax
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/protocols/static.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/configuration/protocols/static.rst b/docs/configuration/protocols/static.rst
index da471b86..1ad252e7 100644
--- a/docs/configuration/protocols/static.rst
+++ b/docs/configuration/protocols/static.rst
@@ -165,16 +165,17 @@ implemented.
Configure
*********
-.. cfgcmd:: set protocols static arp <address> hwaddr <mac>
+.. cfgcmd:: set protocols static arp interface <interface> address <host>
+ mac <mac>
This will configure a static ARP entry always resolving `<address>` to
- `<mac>`.
+ `<mac>` for interface `<interface>`.
Example:
.. code-block:: none
- set protocols static arp 192.0.2.100 hwaddr 00:53:27:de:23:aa
+ set protocols static arp interface eth0 address 192.0.2.1 mac 01:23:45:67:89:01
*********