diff options
Diffstat (limited to 'docs/routing.rst')
-rw-r--r-- | docs/routing.rst | 37 |
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 |