diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-11-19 07:20:58 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-11-19 07:28:00 +0100 |
commit | fd88f2324d2c2f1d02c3b3c0ba6b19fb2cd7048a (patch) | |
tree | cca0685a679fec659cf98bc4546f99a489be2f06 /docs/routing/arp.rst | |
parent | d31736cd25184ba78bb9ef570534cd91d0ebe962 (diff) | |
download | vyos-documentation-fd88f2324d2c2f1d02c3b3c0ba6b19fb2cd7048a.tar.gz vyos-documentation-fd88f2324d2c2f1d02c3b3c0ba6b19fb2cd7048a.zip |
arp: fix result indention
Diffstat (limited to 'docs/routing/arp.rst')
-rw-r--r-- | docs/routing/arp.rst | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/docs/routing/arp.rst b/docs/routing/arp.rst index 55b8666f..437a5bc3 100644 --- a/docs/routing/arp.rst +++ b/docs/routing/arp.rst @@ -15,30 +15,35 @@ provided by the Neighbor Discovery Protocol (NDP). To manipulate or display ARP_ table entries, the following commands are implemented. +Add static ARP entry +^^^^^^^^^^^^^^^^^^^^ + .. option:: set protocols static arp 10.1.1.100 hwaddr 08:00:27:de:23:aa - adding a static arp entry +Display ARP entries +^^^^^^^^^^^^^^^^^^^ .. option:: show protocols static arp - In operational level, display all known ARP table entries - .. +Display all known ARP table entries spanning accross all interfaces + +.. code-block:: sh + + vyos@vyos:~$ 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 - vyos@vyos:~$ 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 .. option:: show protocols static arp interface eth1 - In operational level, display all known ARP table entries on a specific - interface. - - .. +Display all known ARP table entries on a given interface only (`eth1`): + +.. code-block:: sh - vyos@vyos:~$ 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 + vyos@vyos:~$ 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 .. _ARP: https://en.wikipedia.org/wiki/Address_Resolution_Protocol
\ No newline at end of file |