summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorallanjude <allanjude@FreeBSD.org>2015-04-16 00:31:51 +0000
committerallanjude <allanjude@FreeBSD.org>2015-04-16 00:31:51 +0000
commit642a35345cd98212cf104c1894a514655d488ad0 (patch)
tree8ef3b7f8a7b13a67750fc84915fbd26a60d9ef59 /sbin
parentdecd42bef53006d14f01b3550c4478cc086d3a6a (diff)
downloadFreeBSD-src-642a35345cd98212cf104c1894a514655d488ad0.zip
FreeBSD-src-642a35345cd98212cf104c1894a514655d488ad0.tar.gz
MFC: r266774:
improve ifconfig(8) man page by describing special behaviour of -l ether MFC: r267141: Style cleanups on ifconfig.8 Approved by: eadler (mentor, implicit) Sponsored by: ScaleEngine Inc.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ifconfig/ifconfig.845
1 files changed, 34 insertions, 11 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8
index 278142a..ff97c85 100644
--- a/sbin/ifconfig/ifconfig.8
+++ b/sbin/ifconfig/ifconfig.8
@@ -141,13 +141,13 @@ The link-level
.Pq Dq link
address
is specified as a series of colon-separated hex digits.
-This can be used to
-e.g.,\& set a new MAC address on an ethernet interface, though the
-mechanism used is not ethernet-specific.
+This can be used to, for example,
+set a new MAC address on an Ethernet interface, though the
+mechanism used is not Ethernet specific.
If the interface is already
up when this option is used, it will be briefly brought down and
then brought back up again in order to ensure that the receive
-filter in the underlying ethernet hardware is properly reprogrammed.
+filter in the underlying Ethernet hardware is properly reprogrammed.
.It Ar address_family
Specify the
address family
@@ -174,6 +174,18 @@ and
.Dq lladdr
are synonyms for
.Dq link .
+When using the
+.Fl l
+flag, the
+.Dq ether
+address family has special meaning and is no longer synonymous with
+.Dq link
+or
+.Dq lladdr .
+Specifying
+.Fl l Dq ether
+will list only Ethernet interfaces, excluding all other interface types,
+including the loopback interface.
.It Ar dest_address
Specify the address of the correspondent on the other end
of a point to point link.
@@ -700,7 +712,8 @@ Clear a flag
.Cm defaultif .
.It Cm ifdisabled
Set a flag to disable all of IPv6 network communications on the
-specified interface. Note that if there are already configured IPv6
+specified interface.
+Note that if there are already configured IPv6
addresses on that interface, all of them are marked as
.Dq tentative
and DAD will be performed when this flag is cleared.
@@ -1139,7 +1152,8 @@ specifies the number of beacon intervals between DTIM
and must be in the range 1 to 15.
By default DTIM is 1 (i.e., DTIM occurs at each beacon).
.It Cm quiet
-Enable the use of quiet IE. Hostap will use this to silence other
+Enable the use of quiet IE.
+Hostap will use this to silence other
stations to reduce interference for radar detection when
operating on 5GHz frequency and doth support is enabled.
Use
@@ -1154,9 +1168,11 @@ scheduled quiet intervals defined by Quiet element.
Set the QUIET
.Ar count
to the number of TBTTs until the beacon interval during which the
-next quiet interval shall start. A value of 1 indicates the quiet
+next quiet interval shall start.
+A value of 1 indicates the quiet
interval will start during the beacon interval starting at the next
-TBTT. A value 0 is reserved.
+TBTT.
+A value 0 is reserved.
.It Cm quiet_offset Ar offset
Set the QUIET
.Ar offset
@@ -2406,7 +2422,8 @@ Another name for the
parameter.
.It Cm accept_rev_ethip_ver
Set a flag to accept both correct EtherIP packets and ones
-with reversed version field. Enabled by default.
+with reversed version field.
+Enabled by default.
This is for backward compatibility with
.Fx 6.1 ,
6.2, 6.3, 7.0, and 7.1.
@@ -2415,7 +2432,8 @@ Clear a flag
.Cm accept_rev_ethip_ver .
.It Cm send_rev_ethip_ver
Set a flag to send EtherIP packets with reversed version
-field intentionally. Disabled by default.
+field intentionally.
+Disabled by default.
This is for backward compatibility with
.Fx 6.1 ,
6.2, 6.3, 7.0, and 7.1.
@@ -2498,7 +2516,7 @@ pseudo-interface.
The
.Xr vlan 4
interface is assigned a
-copy of the parent interface's flags and the parent's ethernet address.
+copy of the parent interface's flags and the parent's Ethernet address.
The
.Cm vlandev
and
@@ -2618,6 +2636,11 @@ The
.Fl l
flag may be used to list all available interfaces on the system, with
no other additional information.
+If an
+.Ar address_family
+is specified, only interfaces of that type will be listed.
+.Fl l Dq ether
+will list only Ethernet adapters, excluding the loopback interface.
Use of this flag is mutually exclusive
with all other flags and commands, except for
.Fl d
OpenPOWER on IntegriCloud