summaryrefslogtreecommitdiffstats
path: root/usr.sbin/arp/arp.8
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2003-07-18 13:48:06 +0000
committeryar <yar@FreeBSD.org>2003-07-18 13:48:06 +0000
commite91a5a8a8f295a31c3bad24a88490ac45ee6ef57 (patch)
tree990070cc266c21f1a4d42ecf42c07d8826669c32 /usr.sbin/arp/arp.8
parent522acafcec81cffcf59023810c4d1aaf993e9523 (diff)
downloadFreeBSD-src-e91a5a8a8f295a31c3bad24a88490ac45ee6ef57.zip
FreeBSD-src-e91a5a8a8f295a31c3bad24a88490ac45ee6ef57.tar.gz
Implement a new option: -i, which will allow to limit
the scope of operation to the ARP entries on a particular interface. It should be useful on machines with numerous network interfaces, e.g., on inter-VLAN routers. PR: bin/54151 Submitted by: Dmitry Morozovsky <marck at rinet.ru> Discussed on: -net MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/arp/arp.8')
-rw-r--r--usr.sbin/arp/arp.88
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/arp/arp.8 b/usr.sbin/arp/arp.8
index 89aa7a5..7067338 100644
--- a/usr.sbin/arp/arp.8
+++ b/usr.sbin/arp/arp.8
@@ -41,9 +41,11 @@
.Sh SYNOPSIS
.Nm
.Op Fl n
+.Op Fl i Ar interface
.Ar hostname
.Nm
.Op Fl n
+.Op Fl i Ar interface
.Fl a
.Nm
.Fl d Ar hostname
@@ -99,6 +101,12 @@ Alternatively, the
flag may be combined with the
.Fl a
flag to delete all entries.
+.It Fl i Ar interface
+Limit the operation scope to the
+.Tn ARP
+entries on
+.Ar interface .
+Applicable to the display operations only.
.It Fl n
Show network addresses as numbers (normally
.Nm
OpenPOWER on IntegriCloud