Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/ifconfig/ifconfig.8
Show First 20 Lines • Show All 207 Lines • ▼ Show 20 Lines | |||||
See the | See the | ||||
.Sx EXAMPLES | .Sx EXAMPLES | ||||
section for more information. | section for more information. | ||||
The | The | ||||
.Sy types | .Sy types | ||||
and their associated | and their associated | ||||
.Sy format | .Sy format | ||||
strings are: | strings are: | ||||
.Bl -tag -width scope | .Bl -tag -width ether | ||||
.It Sy addr | .It Sy addr | ||||
Adjust the display of inet and inet6 addresses | Adjust the display of inet and inet6 addresses | ||||
.Bl -tag -width default | .Bl -tag -width default | ||||
.It Sy default | .It Sy default | ||||
Display inet and inet6 addresses in the default format, | Display inet and inet6 addresses in the default format, | ||||
.Sy numeric | .Sy numeric | ||||
.It Sy fqdn | .It Sy fqdn | ||||
Display inet and inet6 addresses as fully qualified domain names | Display inet and inet6 addresses as fully qualified domain names | ||||
.Pq FQDN | .Pq FQDN | ||||
.It Sy full | |||||
Display inet6 addresses without suppressing zeroes. | |||||
Only applicable to inet6 | |||||
.It Sy host | .It Sy host | ||||
Display inet and inet6 addresses as unqualified hostnames | Display inet and inet6 addresses as unqualified hostnames | ||||
.It Sy numeric | .It Sy numeric | ||||
Display inet and inet6 addresses in numeric format | Display inet and inet6 addresses in numeric format | ||||
.El | .El | ||||
.It Sy ether | .It Sy ether | ||||
Adjust the display of link-level ethernet (MAC) addresses | Adjust the display of link-level ethernet (MAC) addresses | ||||
.Bl -tag -width default | .Bl -tag -width default | ||||
Show All 33 Lines | |||||
::1/128 or fe80::1%lo0/64 | ::1/128 or fe80::1%lo0/64 | ||||
.It Sy default | .It Sy default | ||||
Display subnet prefix in the default format | Display subnet prefix in the default format | ||||
.Sy numeric | .Sy numeric | ||||
.It Sy numeric | .It Sy numeric | ||||
Display subnet prefix in integer format, for example: | Display subnet prefix in integer format, for example: | ||||
.br | .br | ||||
prefixlen 64 | prefixlen 64 | ||||
.El | |||||
.It Sy scope | |||||
Controls the display of the interface scope as part of the address. | |||||
Only applicable to inet6 addresses. | |||||
.Bl -tag -width default | |||||
.It Sy default | |||||
The interface scope and scopeid are included in the address, for example: | |||||
.br | |||||
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 | |||||
.It Sy none | |||||
The interface scope and scopeid are not displayed, for example: | |||||
.br | |||||
inet6 fe80::1 prefixlen 64 | |||||
.El | .El | ||||
.El | .El | ||||
.Pp | .Pp | ||||
The following parameters may be set with | The following parameters may be set with | ||||
.Nm : | .Nm : | ||||
.Bl -tag -width indent | .Bl -tag -width indent | ||||
.It Cm add | .It Cm add | ||||
Another name for the | Another name for the | ||||
▲ Show 20 Lines • Show All 2,698 Lines • Show Last 20 Lines |