summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-03-20 12:54:31 -0700
committerhagbard <vyosdev@derith.de>2019-03-20 12:54:31 -0700
commita8c38849ae422494c4df1c8b6b9e9849f434bea2 (patch)
treefe05597148a0efc74a3cf94a12f3eff811ae94a0 /docs
parent9121de9e93a968b3976ca11aa7c955acc57c7aac (diff)
downloadvyos-documentation-a8c38849ae422494c4df1c8b6b9e9849f434bea2.tar.gz
vyos-documentation-a8c38849ae422494c4df1c8b6b9e9849f434bea2.zip
[arp] - adding syntax example for add/display arp table entries
Diffstat (limited to 'docs')
-rw-r--r--docs/routing.rst37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/routing.rst b/docs/routing.rst
index d5fd5c8e..43a1d0d9 100644
--- a/docs/routing.rst
+++ b/docs/routing.rst
@@ -262,6 +262,39 @@ Route filter can be applied using a route-map:
We could expand on this and also deny link local and multicast in the rule 20
action deny.
+
+ARP
+---
+
+To manipulate or display ARP_ table entries, the following commands are implemented.
+
+adding a static arp entry
+^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. code-block:: sh
+
+ set protocols static arp 10.1.1.100 hwaddr 08:00:27:de:23:aa
+ commit
+
+display arp table entries
+^^^^^^^^^^^^^^^^^^^^^^^^^
+
+.. code-block:: sh
+
+ show protocols static arp
+
+ Address HWtype HWaddress Flags Mask Iface
+ 10.1.1.1 ether 08:00:27:de:23:2e C eth1
+ 10.1.1.100 ether 08:00:27:de:23:aa CM eth1
+
+.. code-block:: sh
+
+ show protocols static arp interface eth1
+ Address HWtype HWaddress Flags Mask Iface
+ 10.1.1.1 ether 08:00:27:de:23:2e C eth1
+ 10.1.1.100 ether 08:00:27:de:23:aa CM eth1
+
+
Policy Routing
==============
@@ -306,3 +339,7 @@ per-rule basis for matching traffic.
In addition to 5-tuple matching, additional options such as time-based rules,
are available. See the built-in help for a complete list of options.
+
+
+
+.. _ARP: https://en.wikipedia.org/wiki/Address_Resolution_Protocol