[arp] - adding syntax example for add/display arp table entries

This commit is contained in:
hagbard 2019-03-20 12:54:31 -07:00
parent 9121de9e93
commit a8c38849ae

View File

@ -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 We could expand on this and also deny link local and multicast in the rule 20
action deny. 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 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, 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. are available. See the built-in help for a complete list of options.
.. _ARP: https://en.wikipedia.org/wiki/Address_Resolution_Protocol