summaryrefslogtreecommitdiff
path: root/docs/routing/arp.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-01-23 06:48:44 +0100
committerChristian Poessinger <christian@poessinger.com>2020-01-23 06:48:44 +0100
commit41d26cd0237aeb513043a545233ef2c5197d7629 (patch)
treebda143dfd00a4b07214e8e04fb127391fae46833 /docs/routing/arp.rst
parent70f05cd9d846c1f660a579a13e24482580f445c5 (diff)
downloadvyos-documentation-41d26cd0237aeb513043a545233ef2c5197d7629.tar.gz
vyos-documentation-41d26cd0237aeb513043a545233ef2c5197d7629.zip
arp: remove example from cfgcmd definition
Diffstat (limited to 'docs/routing/arp.rst')
-rw-r--r--docs/routing/arp.rst12
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/routing/arp.rst b/docs/routing/arp.rst
index 1587fbbe..ceecc10e 100644
--- a/docs/routing/arp.rst
+++ b/docs/routing/arp.rst
@@ -19,10 +19,16 @@ implemented.
Configure
=========
-.. cfgcmd:: set protocols static arp 192.0.2.100 hwaddr 00:53:27:de:23:aa
+.. cfgcmd:: set protocols static arp <address> hwaddr <mac>
- This will configure a static ARP entry always resolving `192.0.2.100` to
- `00:53:27:de:23:aa`
+ This will configure a static ARP entry always resolving `<address>` to
+ `<mac>`.
+
+ Example:
+
+ .. code-block::
+
+ set protocols static arp 192.0.2.100 hwaddr 00:53:27:de:23:aa
Operation
=========