Merge commit 'dfc115332c94a2f62058ac7f2bce7631fbd20b3d'
[unleashed/tickless.git] / share / man / man1m / ipadm.1m
blob04b386166b7babcba7f56fd4c80911f85d4bade8
1 .\"
2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
5 .\" 1.0 of the CDDL.
6 .\"
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source.  A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
10 .\"
11 .\"
12 .\" Copyright (c) 2012, Joyent, Inc. All Rights Reserved
13 .\" Copyright (c) 2013 by Delphix. All rights reserved.
14 .\" Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
15 .\"
16 .Dd April 9, 2016
17 .Dt IPADM 1M
18 .Os
19 .Sh NAME
20 .Nm ipadm
21 .Nd configure IP interfaces, addresses and protocols
22 .Sh SYNOPSIS
23 .Nm
24 .Ic create-if
25 .Op Fl t
26 .Ar interface
27 .Nm
28 .Ic disable-if
29 .Fl t
30 .Ar interface
31 .Nm
32 .Ic enable-if
33 .Fl t
34 .Ar interface
35 .Nm
36 .Ic delete-if
37 .Ar interface
38 .Nm
39 .Ic show-if
40 .Op Oo Fl p Oc Fl o Ar field Ns Oo , Ns Ar field Oc Ns ...
41 .Op Ar interface
42 .Nm
43 .Ic set-ifprop
44 .Op Fl t
45 .Fl p Ar prop Ns = Ns Ar value Ns Oo , Ns Ar value Oc Ns ...
46 .Fl m Ar protocol
47 .Ar interface
48 .Nm
49 .Ic reset-ifprop
50 .Op Fl t
51 .Fl p Ar prop
52 .Fl m Ar protocol
53 .Ar interface
54 .Nm
55 .Ic show-ifprop
56 .Op Oo Fl c Oc Fl o Ar field Ns Oo , Ns Ar value Oc Ns ...
57 .Op Fl p Ar prop Ns Oo , Ns Ar prop Oc Ns ...
58 .Op Fl m Ar protocol
59 .Op Ar interface
60 .Nm
61 .Ic create-addr
62 .Op Fl t
63 .Fl T Cm static
64 .Op Fl d
65 .Fl a Oo Cm local Ns | Ns Cm remote Ns = Oc Ns
66 .Ar addr Ns Oo / Ns Ar prefixlen Oc Ns ...
67 .Ar addrobj
68 .Nm
69 .Ic create-addr
70 .Op Fl t
71 .Fl T Cm dhcp
72 .Op Fl w Ar seconds Ns | Ns Cm forever
73 .Ar addrobj
74 .Nm
75 .Ic create-addr
76 .Op Fl t
77 .Fl T Cm addrconf
78 .Op Fl i Ar interface-id
79 .Oo Fl p Bro Cm stateful Ns | Ns Cm stateless Brc Ns = Ns
80 .Bro Cm yes Ns | Ns Cm no Brc Oc Ns ...
81 .Ar addrobj
82 .Nm
83 .Ic down-addr
84 .Op Fl t
85 .Ar addrobj
86 .Nm
87 .Ic up-addr
88 .Op Fl t
89 .Ar addrobj
90 .Nm
91 .Ic disable-addr
92 .Op Fl t
93 .Ar addrobj
94 .Nm
95 .Ic enable-addr
96 .Op Fl t
97 .Ar addrobj
98 .Nm
99 .Ic refresh-addr
100 .Op Fl i
101 .Ar addrobj
103 .Ic delete-addr
104 .Op Fl r
105 .Ar addrobj
107 .Ic show-addr
108 .Op Oo Fl p Oc Fl o Ar field Ns Oo , Ns Ar field Oc Ns ...
109 .Op Ar addrobj
111 .Ic set-addrprop
112 .Op Fl t
113 .Fl p Ar prop Ns = Ns Ar value Ns Oo , Ns Ar value Oc Ns ...
114 .Ar addrobj
116 .Ic reset-addrprop
117 .Op Fl t
118 .Fl p Ar prop
119 .Ar addrobj
121 .Ic show-addrprop
122 .Op Oo Fl c Oc Fl o Ar field Ns Oo , Ns Ar field Oc Ns ...
123 .Op Fl p Ar prop Ns Oo , Ns Ar prop Oc Ns ...
124 .Op Ar addrobj
126 .Ic set-prop
127 .Op Fl t
128 .Fl p Ar prop Ns Oo Cm + Ns | Ns Cm - Oc Ns = Ns
129 .Ar value Ns Oo , Ns Ar value Oc Ns ...
130 .Ar protocol
132 .Ic reset-prop
133 .Op Fl t
134 .Fl p Ar prop
135 .Ar protocol
137 .Ic show-prop
138 .Op Oo Fl c Oc Fl o Ar field Ns Oo , Ns Ar field Oc Ns ...
139 .Op Fl p Ar prop Ns Oo , Ns Ar prop Oc Ns ...
140 .Op Ar protocol
141 .Sh DESCRIPTION
144 command is a stable replacement for the
145 .Xr ifconfig 1M
147 commands. It is used to create IP interfaces and to configure IP addresses on
148 those interfaces. It is also used to get, set or reset properties on interfaces,
149 addresses and protocols.
151 For subcommands that take an
152 .Em addrobj ,
154 .Em addrobj
155 specifies a unique address on the system. It is made up of two parts, delimited
156 by a
157 .Sq / .
158 The first part is the name of the interface and the second part is a string up
159 to 32 characters long. For example,
160 .Qq lo0/v4
161 is a loopback interface
162 .Em addrobj
163 name.
165 For subcommands that take a
166 .Em protocol ,
167 this can be one of the following values:
168 .Cm ip ,
169 .Cm ipv4 ,
170 .Cm ipv6 ,
171 .Cm icmp ,
172 .Cm tcp ,
173 .Cm sctp
175 .Cm udp.
176 .Sh SUBCOMMANDS
177 The following subcommands are supported:
178 .Bl -tag -width ""
179 .It Xo
181 .Ic create-if
182 .Op Fl t
183 .Ar interface
185 Create an IP interface that will handle both IPv4 and IPv6 packets. The
186 interface will be enabled as part of the creation process. The IPv4 interface
187 will have the address 0.0.0.0. The IPv6 interface will have the address ::.
188 .Bl -tag -width ""
189 .It Fl t Ns , Ns Fl -temporary
190 Temporary, not persistent across reboots.
192 .It Xo
194 .Ic disable-if
195 .Fl t
196 .Ar interface
198 Disable an IP interface.
199 .Bl -tag -width ""
200 .It Fl t Ns , Ns Fl -temporary
201 Temporary, not persistent across reboots.
203 .It Xo
205 .Ic enable-if
206 .Fl t
207 .Ar interface
209 Enable an IP interface.
210 .Bl -tag -width ""
211 .It Fl t Ns , Ns Fl -temporary
212 Temporary, not persistent across reboots.
214 .It Xo
216 .Ic delete-if
217 .Ar interface
219 Permanently delete an IP interface.
220 .It Xo
222 .Ic show-if
223 .Op Oo Fl p Oc Fl o Ar field Ns Oo , Ns Ar field Oc Ns ...
224 .Op Ar interface
226 Show the current IP interface configuration.
227 .Bl -tag -width ""
228 .It Fl o Ns , Ns Fl -output
229 Select which fields will be shown. The field value can be one of the following
230 names:
231 .Bl -tag -compact -width "PERSISTENT"
232 .It Cm ALL
233 Display all fields.
234 .It Cm IFNAME
235 The name of the interface.
236 .It Cm STATE
237 The state can be one of the following values:
238 .Bl -tag -compact -width "disabled"
239 .It Sy ok
240 resources for the interface have been allocated
241 .It Sy offline
242 the interface is offline
243 .It Sy failed
244 the interface's datalink is down
245 .It Sy down
246 the interface is down
247 .It Sy disabled
248 the interface is disabled
250 .It Cm CURRENT
251 A set of single character flags indicating the following:
252 .Bl -tag -compact -width "b"
253 .It Sy b
254 broadcast (mutually exclusive with
255 .Sq p )
256 .It Sy m
257 multicast
258 .It Sy p
259 point-to-point (mutually exclusive with
260 .Sq b )
261 .It Sy v
262 virtual interface
263 .It Sy I
264 IPMP
265 .It Sy s
266 IPMP standby
267 .It Sy i
268 IPMP inactive
269 .It Sy V
270 VRRP
271 .It Sy a
272 VRRP accept mode
273 .It Sy 4
274 IPv4
275 .It Sy 6
276 IPv6
278 .It Cm PERSISTENT
279 A set of single character flags showing what configuration will be used the
280 next time the interface is enabled:
281 .Bl -tag -compact -width "s"
282 .It Sy s
283 IPMP standby
284 .It Sy 4
285 IPv4
286 .It Sy 6
287 IPv6
290 .It Fl p Ns , Ns Fl -parsable
291 Print the output in a parsable format.
293 .It Xo
295 .Ic set-ifprop
296 .Op Fl t
297 .Fl p Ar prop Ns = Ns Ar value Ns Oo , Ns Ar value Oc Ns ...
298 .Fl m Ar protocol
299 .Ar interface
301 Set a property's value(s) on the IP interface.
302 .Bl -tag -width ""
303 .It Fl m Ns , Ns Fl -module
304 Specify which protocol the setting applies to.
305 .It Fl p Ns , Ns Fl -prop
306 Specify the property name and value(s). The property name can be one of the
307 following:
308 .Bl -tag -compact -width "exchange_routes"
309 .It Cm arp
310 Address resolution protocol
311 .Pq Cm on Ns / Ns Cm off .
312 .It Cm exchange_routes
313 Exchange of routing data
314 .Pq Cm on Ns / Ns Cm off .
315 .It Cm forwarding
316 IP Forwarding
317 .Pq Cm on Ns / Ns Cm off
318 .It Cm metric
319 Set the routing metric to the numeric value. The value is treated as extra
320 hops to the destination.
321 .It Cm mtu
322 Set the maximum transmission unit to the numeric value.
323 .It Cm nud
324 Neighbor unreachability detection
325 .Pq Cm on Ns / Ns Cm off
326 .It Cm usesrc
327 Indicates which interface to use for source address selection. A value
328 .Cm none
329 may also be used.
331 .It Fl t Ns , Ns Fl -temporary
332 Temporary, not persistent across reboots.
334 .It Xo
336 .Ic reset-ifprop
337 .Op Fl t
338 .Fl p Ar prop
339 .Fl m Ar protocol
340 .Ar interface
342 Reset an IP interface's property value to the default.
343 .Bl -tag -width ""
344 .It Fl m Ns , Ns Fl -module
345 Specify which protocol the setting applies to.
346 .It Fl p Ns , Ns Fl -prop
347 Specify the property name. See the
348 .Nm ipadm Ic set-ifprop
349 subcommand for the list of property names.
350 .It Fl t Ns , Ns Fl -temporary
351 Temporary, not persistent across reboots.
353 .It Xo
355 .Ic show-ifprop
356 .Op Oo Fl c Oc Fl o Ar field Ns Oo , Ns Ar value Oc Ns ...
357 .Op Fl p Ar prop Ns Oo , Ns Ar prop Oc Ns ...
358 .Op Fl m Ar protocol
359 .Op Ar interface
361 Display the property values for one or all of the IP interfaces.
362 .Bl -tag -width ""
363 .It Fl c Ns , Ns Fl -parsable
364 Print the output in a parsable format.
365 .It Fl m Ns , Ns Fl -module
366 Specify which protocol to display.
367 .It Fl o Ns , Ns Fl -output
368 Select which fields will be shown. The field value can be one of the following
369 names:
370 .Bl -tag -compact -width "PERSISTENT"
371 .It Cm ALL
372 Display all fields.
373 .It Cm IFNAME
374 The name of the interface.
375 .It Cm PROPERTY
376 The name of the property.
377 .It Cm PROTO
378 The name of the protocol.
379 .It Cm PERM
380 If the property is readable
381 .Pq Qq r
382 and/or writable
383 .Pq Qq w .
384 .It Cm CURRENT
385 The value of the property.
386 .It Cm PERSISTENT
387 The persistent value of the property.
388 .It Cm DEFAULT
389 The default value of the property.
390 .It Cm POSSIBLE
391 The possible values for the property.
393 .It Fl p Ns , Ns Fl -prop
394 Specify which properties to display. See the
395 .Nm ipadm Ic set-ifprop
396 subcommand for the list of property names.
398 .It Xo
400 .Ic create-addr
401 .Op Fl t
402 .Fl T Cm static
403 .Op Fl d
404 .Fl a Oo Cm local Ns | Ns Cm remote Ns = Oc Ns
405 .Ar addr Ns Oo / Ns Ar prefixlen Oc Ns ...
406 .Ar addrobj
409 .Ic create-addr
410 .Op Fl t
411 .Fl T Cm dhcp
412 .Op Fl w Ar seconds Ns | Ns Cm forever
413 .Ar addrobj
416 .Ic create-addr
417 .Op Fl t
418 .Fl T Cm addrconf
419 .Op Fl i Ar interface-id
420 .Oo Fl p Bro Cm stateful Ns | Ns Cm stateless Brc Ns = Ns
421 .Bro Cm yes Ns | Ns Cm no Brc Oc Ns ...
422 .Ar addrobj
424 Create an address on an IP interface. The address will be enabled but can
425 disabled using the
426 .Nm ipadm Ic disable-addr
427 subcommand. This subcommand has three different forms, depending on the
428 value of the
429 .Fl T
430 option.
431 .Bl -tag -width ""
432 .It Fl T Cm static
433 Create a static addrobj. Note that
434 .Cm addrconf
435 address configured on an interface is required to configure
436 .Cm static
437 IPv6 address on the same interface. This takes the following options:
438 .Bl -tag -width ""
439 .It Fl a Ns , Ns Fl -address
440 Specify the address. The
441 .Cm local
443 .Cm remote
444 prefix can be used for a point-to-point interface. In this case, both addresses
445 must be given. Otherwise, the equal sign
446 .Pq Qq =
447 should be omitted and the address should be provided by itself without second
448 address.
449 .It Fl d Ns , Ns Fl -down
450 The address is down.
452 .It Fl T Cm dhcp
453 Obtain the address via DHCP. This takes the following options:
454 .Bl -tag -width ""
455 .It Fl w Ns , Ns Fl -wait
456 Specify the time, in seconds, that the command should wait to obtain an address.
458 .It Fl T Cm addrconf
459 Create an auto-configured address. This takes the following options:
460 .Bl -tag -width ""
461 .It Fl i Ns , Ns Fl -interface-id
462 Specify the interface ID to be used.
463 .It Fl p Ns , Ns Fl -prop
464 Specify which method of auto-configuration should be used.
466 .It Fl t Ns , Ns Fl -temporary
467 Temporary, not persistent across reboots.
469 .It Xo
471 .Ic down-addr
472 .Op Fl t
473 .Ar addrobj
475 Down the address. This will stop packets from being sent or received.
476 .Bl -tag -width ""
477 .It Fl t Ns , Ns Fl -temporary
478 Temporary, not persistent across reboots.
480 .It Xo
482 .Ic up-addr
483 .Op Fl t
484 .Ar addrobj
486 Up the address. This will enable packets to be sent and received.
487 .Bl -tag -width ""
488 .It Fl t Ns , Ns Fl -temporary
489 Temporary, not persistent across reboots.
491 .It Xo
493 .Ic disable-addr
494 .Op Fl t
495 .Ar addrobj
497 Disable the address.
498 .Bl -tag -width ""
499 .It Fl t Ns , Ns Fl -temporary
500 Temporary, not persistent across reboots.
502 .It Xo
504 .Ic enable-addr
505 .Op Fl t
506 .Ar addrobj
508 Enable the address.
509 .Bl -tag -width ""
510 .It Fl t Ns , Ns Fl -temporary
511 Temporary, not persistent across reboots.
513 .It Xo
515 .Ic refresh-addr
516 .Op Fl i
517 .Ar addrobj
519 Extend the lease for
520 .Sy DHCP
521 addresses. It also restarts duplicate address
522 detection for
523 .Cm static
524 addresses.
525 .Bl -tag -width ""
526 .It Fl i Ns , Ns Fl -inform
527 Obtain network configuration from DHCP without taking a lease on the address.
529 .It Xo
531 .Ic delete-addr
532 .Op Fl r
533 .Ar addrobj
535 Delete the given address.
536 .Bl -tag -width ""
537 .It Fl r Ns , Ns Fl -release
538 Indicate that the DHCP-assigned address should be released.
540 .It Xo
542 .Ic show-addr
543 .Op Oo Fl p Oc Fl o Ar field Ns Oo , Ns Ar field Oc Ns ...
544 .Op Ar addrobj
546 Show the current address properties.
547 .Bl -tag -width ""
548 .It Fl o Ns , Ns Fl -output
549 Select which fields will be shown. The field value can be one of the following
550 names:
551 .Bl -tag -compact -width "PERSISTENT"
552 .It Cm ALL
553 Display all fields.
554 .It Cm ADDROBJ
555 The name of the address.
556 .It Cm TYPE
557 The type of the address
558 .Pq Sy static Ns / Ns Sy dhcp Ns / Ns Sy addrconf .
559 .It Cm STATE
560 The state of the address. It can be one of the following values:
561 .Bl -tag -compact -width "inaccessible"
562 .It Sy disabled
563 see the
564 .Nm ipadm Ic disable-addr
565 subcommand
566 .It Sy down
567 see the
568 .Nm ipadm Ic down-addr
569 subcommand
570 .It Sy duplicate
571 the address is a duplicate
572 .It Sy inaccessible
573 the interface for this address has failed
574 .It Sy ok
575 the address is up
576 .It Sy tentative
577 duplicate address detection in progress
579 .It Cm CURRENT
580 A set of single character flags indicating the following:
581 .Bl -tag -compact -width "U"
582 .It Sy U
584 .It Sy u
585 unnumbered
586 .Pq matches another local address
587 .It Sy p
588 private, not advertised to routing
589 .It Sy t
590 temporary IPv6 address
591 .It Sy d
592 deprecated
593 .Pq not used for outgoing packets
595 .It Cm PERSISTENT
596 A set of single character flags showing the configuration which will be used
597 when the address is enabled.
598 .Bl -tag -compact -width "U"
599 .It Sy U
601 .It Sy p
602 private, not advertised to routing
603 .It Sy d
604 deprecated
605 .Pq not used for outgoing packets
607 .It Cm ADDR
608 The address.
610 .It Fl p Ns , Ns Fl -parsable
611 Print the output in a parsable format.
613 .It Xo
615 .Ic set-addrprop
616 .Op Fl t
617 .Fl p Ar prop Ns = Ns Ar value Ns Oo , Ns Ar value Oc Ns ...
618 .Ar addrobj
620 Set a property's value(s) on the addrobj.
621 .Bl -tag -width ""
622 .It Fl p Ns , Ns Fl -prop
623 Specify the property name and value(s). The property name can be one of the
624 following:
625 .Bl -tag -compact -width "deprecated"
626 .It Cm broadcast
627 The broadcast address (read-only).
628 .It Cm deprecated
629 The address should not be used to send packets but can still receive packets
630 .Pq Cm on Ns / Ns Cm off .
631 .It Cm prefixlen
632 The number of bits in the IPv4 netmask or IPv6 prefix.
633 .It Cm private
634 The address is not advertised to routing
635 .Pq Cm on Ns / Ns Cm off .
636 .It Cm transmit
637 Packets can be transmitted
638 .Pq Cm on Ns / Ns Cm off .
639 .It Cm zone
640 The zone the addrobj is in.
642 .It Fl t Ns , Ns Fl -temporary
643 Temporary, not persistent across reboots.
645 .It Xo
647 .Ic reset-addrprop
648 .Op Fl t
649 .Fl p Ar prop
650 .Ar addrobj
652 Reset an addrobj's property value to the default.
653 .Bl -tag -width ""
654 .It Fl p Ns , Ns Fl -prop
655 Specify the property name. See the
656 .Nm ipadm Ic set-addrprop
657 subcommand for the list of property names.
658 .It Fl t Ns , Ns Fl -temporary
659 Temporary, not persistent across reboots.
661 .It Xo
663 .Ic show-addrprop
664 .Op Oo Fl c Oc Fl o Ar field Ns Oo , Ns Ar field Oc Ns ...
665 .Op Fl p Ar prop Ns Oo , Ns Ar prop Oc Ns ...
666 .Op Ar addrobj
668 Display the property values for one or all of the addrobjs.
669 .Bl -tag -width ""
670 .It Fl c Ns , Ns Fl -parsable
671 Print the output in a parsable format.
672 .It Fl o Ns , Ns Fl -output
673 Select which fields will be shown. The field value can be one of the following
674 names:
675 .Bl -tag -compact -width "PERSISTENT"
676 .It Cm ALL
677 Display all fields.
678 .It Cm ADDROBJ
679 The name of the addrobj.
680 .It Cm PROPERTY
681 The name of the property.
682 .It Cm PERM
683 If the property is readable
684 .Pq Qq r
685 and/or writable
686 .Pq Qq w .
687 .It Cm CURRENT
688 The value of the property.
689 .It Cm PERSISTENT
690 The persistent value of the property.
691 .It Cm DEFAULT
692 The default value of the property.
693 .It Cm POSSIBLE
694 The possible values for the property.
696 .It Fl p Ns , Ns Fl -prop
697 Specify which properties to display. See the
698 .Nm ipadm Ic set-addrprop
699 subcommand for the list of property names.
701 .It Xo
702 .Ic set-prop
703 .Op Fl t
704 .Fl p Ar prop Ns Oo Cm + Ns | Ns Cm - Oc Ns = Ns
705 .Ar value Ns Oo , Ns Ar value Oc Ns ...
706 .Ar protocol
708 Set a property's value(s) on the protocol.
709 .Bl -tag -width ""
710 .It Fl p Ns , Ns Fl -prop
711 Specify the property name and value(s). The optional
712 .Sy + Ns | Ns Sy -
713 syntax can be used to add/remove values from the current list of values on the
714 property. The property name can be one of the following:
715 .Bl -tag -compact -width "smallest_nonpriv_port"
716 .It Cm ecn
717 Explicit congestion control
718 .Pq Cm never Ns / Ns Cm passive Ns / Ns Cm active
719 .Pq TCP .
720 .It Cm extra_priv_ports
721 Additional privileged ports
722 .Pq SCTP/TCP/UDP .
723 .It Cm forwarding
724 Packet forwarding
725 .Pq Cm on Ns / Ns Cm off .
726 .It Cm hoplimit
727 The IPv6 hoplimit.
728 .It Cm largest_anon_port
729 Largest ephemeral port
730 .Pq SCTP/TCP/UDP .
731 .It Cm max_buf
732 Maximum receive or send buffer size
733 .Pq ICMP/SCTP/TCP/UDP .
734 This also sets the upper limit for the
735 .Cm recv_buf
737 .Cm send_buf
738 properties.
739 .It Cm recv_buf
740 Default receive buffer size
741 .Pq ICMP/SCTP/TCP/UDP .
742 The maximum value for this property is controlled by the
743 .Cm max_buf
744 property.
745 .It Cm sack
746 Selective acknowledgement
747 .Pq Cm active Ns / Ns Cm passive Ns / Ns Cm never
748 .Pq TCP .
749 .It Cm send_buf
750 Default send buffer size
751 .Pq ICMP/SCTP/TCP/UDP .
752 The maximum value for this property is controlled by the
753 .Cm max_buf
754 property.
755 .It Cm smallest_anon_port
756 Smallest ephemeral port
757 .Pq SCTP/TCP/UDP .
758 .It Cm smallest_nonpriv_port
759 Smallest non-privileged port
760 .Pq SCTP/TCP/UDP .
761 .It Cm ttl
762 The IPv4 time-to-live.
764 .It Fl t Ns , Ns Fl -temporary
765 Temporary, not persistent across reboots.
767 .It Xo
769 .Ic reset-prop
770 .Op Fl t
771 .Fl p Ar prop
772 .Ar protocol
774 Reset a protocol's property value to the default.
775 .Bl -tag -width ""
776 .It Fl p Ns , Ns Fl -prop
777 Specify the property name. See the
778 .Nm ipadm Ic set-prop
779 subcommand for the list of property names.
780 .It Fl t Ns , Ns Fl -temporary
781 Temporary, not persistent across reboots.
783 .It Xo
785 .Ic show-prop
786 .Op Oo Fl c Oc Fl o Ar field Ns Oo , Ns Ar field Oc Ns ...
787 .Op Fl p Ar prop Ns Oo , Ns Ar prop Oc Ns ...
788 .Op Ar protocol
790 Display the property values for one or all of the protocols.
791 .Bl -tag -width ""
792 .It Fl c Ns , Ns Fl -parsable
793 Print the output in a parsable format.
794 .It Fl o Ns , Ns Fl -output
795 Select which fields will be shown. The field value can be one of the following
796 names:
797 .Bl -tag -compact -width "PERSISTENT"
798 .It Cm ALL
799 Display all fields.
800 .It Cm PROTO
801 The name of the protocol.
802 .It Cm PROPERTY
803 The name of the property.
804 .It Cm PERM
805 If the property is readable
806 .Pq Qq r
807 and/or writable
808 .Pq Qq w .
809 .It Cm CURRENT
810 The value of the property.
811 .It Cm PERSISTENT
812 The persistent value of the property.
813 .It Cm DEFAULT
814 The default value of the property.
815 .It Cm POSSIBLE
816 The possible values for the property.
818 .It Fl p Ns , Ns Fl -prop
819 Specify which properties to display. See the
820 .Nm ipadm Ic set-prop
821 subcommand for the list of property names.
824 .Sh SEE ALSO
825 .Xr arp 1M ,
826 .Xr cfgadm 1M ,
827 .Xr dladm 1M ,
828 .Xr if_mpadm 1M ,
829 .Xr ifconfig 1M ,
830 .Xr ndd 1M ,
831 .Xr zonecfg 1M ,
832 .Xr nsswitch.conf 4 ,
833 .Xr dhcp 5