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.
This commit is contained in:
allanjude 2015-04-16 00:31:51 +00:00
parent decd42bef5
commit 642a35345c

View File

@ -141,13 +141,13 @@ The link-level
.Pq Dq link .Pq Dq link
address address
is specified as a series of colon-separated hex digits. is specified as a series of colon-separated hex digits.
This can be used to This can be used to, for example,
e.g.,\& set a new MAC address on an ethernet interface, though the set a new MAC address on an Ethernet interface, though the
mechanism used is not ethernet-specific. mechanism used is not Ethernet specific.
If the interface is already If the interface is already
up when this option is used, it will be briefly brought down and 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 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 .It Ar address_family
Specify the Specify the
address family address family
@ -174,6 +174,18 @@ and
.Dq lladdr .Dq lladdr
are synonyms for are synonyms for
.Dq link . .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 .It Ar dest_address
Specify the address of the correspondent on the other end Specify the address of the correspondent on the other end
of a point to point link. of a point to point link.
@ -700,7 +712,8 @@ Clear a flag
.Cm defaultif . .Cm defaultif .
.It Cm ifdisabled .It Cm ifdisabled
Set a flag to disable all of IPv6 network communications on the 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 addresses on that interface, all of them are marked as
.Dq tentative .Dq tentative
and DAD will be performed when this flag is cleared. 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. and must be in the range 1 to 15.
By default DTIM is 1 (i.e., DTIM occurs at each beacon). By default DTIM is 1 (i.e., DTIM occurs at each beacon).
.It Cm quiet .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 stations to reduce interference for radar detection when
operating on 5GHz frequency and doth support is enabled. operating on 5GHz frequency and doth support is enabled.
Use Use
@ -1154,9 +1168,11 @@ scheduled quiet intervals defined by Quiet element.
Set the QUIET Set the QUIET
.Ar count .Ar count
to the number of TBTTs until the beacon interval during which the 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 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 .It Cm quiet_offset Ar offset
Set the QUIET Set the QUIET
.Ar offset .Ar offset
@ -2406,7 +2422,8 @@ Another name for the
parameter. parameter.
.It Cm accept_rev_ethip_ver .It Cm accept_rev_ethip_ver
Set a flag to accept both correct EtherIP packets and ones 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 This is for backward compatibility with
.Fx 6.1 , .Fx 6.1 ,
6.2, 6.3, 7.0, and 7.1. 6.2, 6.3, 7.0, and 7.1.
@ -2415,7 +2432,8 @@ Clear a flag
.Cm accept_rev_ethip_ver . .Cm accept_rev_ethip_ver .
.It Cm send_rev_ethip_ver .It Cm send_rev_ethip_ver
Set a flag to send EtherIP packets with reversed version 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 This is for backward compatibility with
.Fx 6.1 , .Fx 6.1 ,
6.2, 6.3, 7.0, and 7.1. 6.2, 6.3, 7.0, and 7.1.
@ -2498,7 +2516,7 @@ pseudo-interface.
The The
.Xr vlan 4 .Xr vlan 4
interface is assigned a 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 The
.Cm vlandev .Cm vlandev
and and
@ -2618,6 +2636,11 @@ The
.Fl l .Fl l
flag may be used to list all available interfaces on the system, with flag may be used to list all available interfaces on the system, with
no other additional information. 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 Use of this flag is mutually exclusive
with all other flags and commands, except for with all other flags and commands, except for
.Fl d .Fl d