Print this page
manuals
   1 '\" te
   2 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
   3 .\" Copyright (c) 2014, Joyent, Inc. All Rights Reserved
   4 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at http://www.opengroup.org/bookstore/.
   5 .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text
   6 .\" are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical
   7 .\" and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
   8 .\"  This notice shall appear on any product containing this material.
   9 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
  10 .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the
  11 .\" fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
  12 .TH DLADM 1M "Dec 03, 2014"
  13 .SH NAME
  14 dladm \- administer data links
  15 .SH SYNOPSIS
  16 .LP
  17 .nf
  18 \fBdladm show-link\fR [\fB-P\fR] [\fB-s\fR [\fB-i\fR \fIinterval\fR]] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIlink\fR]
  19 \fBdladm rename-link\fR [\fB-R\fR \fIroot-dir\fR] \fIlink\fR \fInew-link\fR
  20 .fi
  21 
  22 .LP
  23 .nf
  24 \fBdladm delete-phys\fR \fIphys-link\fR
  25 \fBdladm show-phys\fR [\fB-m\fR | \fB-H\fR | \fB-P\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIphys-link\fR]
  26 .fi
  27 
  28 .LP
  29 .nf
  30 \fBdladm create-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-P\fR \fIpolicy\fR] [\fB-L\fR \fImode\fR]
  31      [\fB-T\fR \fItime\fR] [\fB-u\fR \fIaddress\fR] \fB-l\fR \fIether-link1\fR [\fB-l\fR \fIether-link2\fR...] \fIaggr-link\fR
  32 \fBdladm modify-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-P\fR \fIpolicy\fR] [\fB-L\fR \fImode\fR]
  33      [\fB-T\fR \fItime\fR] [\fB-u\fR \fIaddress\fR] \fIaggr-link\fR
  34 \fBdladm delete-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIaggr-link\fR
  35 \fBdladm add-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-l\fR \fIether-link1\fR [\fB-l\fR \fIether-link2\fR...]
  36      \fIaggr-link\fR
  37 \fBdladm remove-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-l\fR \fIether-link1\fR [\fB-l\fR \fIether-link2\fR...]
  38      \fIaggr-link\fR
  39 \fBdladm show-aggr\fR [\fB-PLx\fR] [\fB-s\fR [\fB-i\fR \fIinterval\fR]] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]]


  82 \fBdladm show-vlan\fR [\fB-P\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIvlan-link\fR]
  83 .fi
  84 
  85 .LP
  86 .nf
  87 \fBdladm scan-wifi\fR [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIwifi-link\fR]
  88 \fBdladm connect-wifi\fR [\fB-e\fR \fIessid\fR] [\fB-i\fR \fIbssid\fR] [\fB-k\fR \fIkey\fR,...]
  89      [\fB-s\fR none | wep | wpa ] [\fB-a\fR open | shared] [\fB-b\fR bss | ibss] [\fB-c\fR]
  90      [\fB-m\fR a | b | g] [\fB-T\fR \fItime\fR] [\fIwifi-link\fR]
  91 \fBdladm disconnect-wifi\fR [\fB-a\fR] [\fIwifi-link\fR]
  92 \fBdladm show-wifi\fR [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIwifi-link\fR]
  93 .fi
  94 
  95 .LP
  96 .nf
  97 \fBdladm show-ether\fR [\fB-x\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIether-link\fR]
  98 .fi
  99 
 100 .LP
 101 .nf
 102 \fBdladm set-linkprop\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-p\fR \fIprop\fR=\fIvalue\fR[,...] \fIlink\fR
 103 \fBdladm reset-linkprop\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-p\fR \fIprop\fR[,...]] \fIlink\fR
 104 \fBdladm show-linkprop\fR [\fB-P\fR] [[\fB-c\fR] \fB-o\fR \fIfield\fR[,...]] [\fB-p\fR \fIprop\fR[,...]] [\fIlink\fR]


 105 .fi
 106 
 107 .LP
 108 .nf
 109 \fBdladm create-secobj\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-f\fR \fIfile\fR] \fB-c\fR \fIclass\fR \fIsecobj\fR
 110 \fBdladm delete-secobj\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIsecobj\fR[,...]
 111 \fBdladm show-secobj\fR [\fB-P\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIsecobj\fR,...]
 112 .fi
 113 
 114 .LP
 115 .nf
 116 \fBdladm create-vnic\fR [\fB-t\fR] \fB-l\fR \fIlink\fR [\fB-R\fR \fIroot-dir\fR] [\fB-m\fR \fIvalue\fR | auto |
 117      {factory \fB-n\fR \fIslot-identifier\fR]} | {random [\fB-r\fR \fIprefix\fR]}]
 118      [\fB-v\fR \fIvlan-id\fR] [\fB-p\fR \fIprop\fR=\fIvalue\fR[,...]] \fIvnic-link\fR
 119 \fBdladm delete-vnic\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIvnic-link\fR
 120 \fBdladm show-vnic\fR [\fB-pP\fR] [\fB-s\fR [\fB-i\fR \fIinterval\fR]] [\fB-o\fR \fIfield\fR[,...]]
 121      [\fB-l\fR \fIlink\fR] [\fIvnic-link\fR]
 122 .fi
 123 
 124 .LP
 125 .nf
 126 \fBdladm create-etherstub\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIetherstub\fR
 127 \fBdladm delete-etherstub\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIetherstub\fR
 128 \fBdladm show-etherstub\fR [\fIetherstub\fR]
 129 .fi
 130 
 131 .LP
 132 .nf
 133 \fBdladm create-iptun\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-T\fR \fItype\fR [\fB-s\fR \fItsrc\fR] [\fB-d\fR \fItdst\fR]
 134      \fIiptun-link\fR
 135 \fBdladm modify-iptun\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-s\fR \fItsrc\fR] [\fB-d\fR \fItdst\fR] \fIiptun-link\fR
 136 \fBdladm delete-iptun\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIiptun-link\fR
 137 \fBdladm show-iptun\fR [\fB-P\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIiptun-link\fR]
 138 .fi
 139 
 140 .LP
 141 .nf


 551 Display link statistics.
 552 .RE
 553 
 554 .sp
 555 .ne 2
 556 .na
 557 \fB\fB-i\fR \fIinterval\fR, \fB--interval\fR=\fIinterval\fR\fR
 558 .ad
 559 .sp .6
 560 .RS 4n
 561 Used with the \fB-s\fR option to specify an interval, in seconds, at which
 562 statistics should be displayed. If this option is not specified, statistics
 563 will be displayed only once.
 564 .RE
 565 
 566 .RE
 567 
 568 .sp
 569 .ne 2
 570 .na
 571 \fB\fBdladm rename-link\fR [\fB-R\fR \fIroot-dir\fR] \fIlink\fR
 572 \fInew-link\fR\fR
 573 .ad
 574 .sp .6
 575 .RS 4n
 576 Rename \fIlink\fR to \fInew-link\fR. This is used to give a link a meaningful
 577 name, or to associate existing link configuration such as link properties of a
 578 removed device with a new device. See the \fBEXAMPLES\fR section for specific
 579 examples of how this subcommand is used.
 580 .sp
 581 .ne 2
 582 .na
 583 \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR
 584 .ad
 585 .sp .6
 586 .RS 4n
 587 See "Options," above.
 588 .RE
 589 








 590 .RE
 591 


 592 .sp
 593 .ne 2
 594 .na
 595 \fB\fBdladm delete-phys\fR \fIphys-link\fR\fR
 596 .ad
 597 .sp .6
 598 .RS 4n
 599 This command is used to delete the persistent configuration of a link
 600 associated with physical hardware which has been removed from the system. See
 601 the \fBEXAMPLES\fR section.
 602 .RE
 603 
 604 .sp
 605 .ne 2
 606 .na
 607 \fB\fBdladm show-phys\fR [\fB-m\fR | \fB-H\fR | \fB-P\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]]
 608 [\fIphys-link\fR]\fR
 609 .ad
 610 .sp .6
 611 .RS 4n


3175 Displays using a stable machine-parseable format. The \fB-o\fR option is
3176 required with \fB-p\fR. See "Parseable Output Format", below.
3177 .RE
3178 
3179 .sp
3180 .ne 2
3181 .na
3182 \fB\fB-x\fR, \fB--extended\fR\fR
3183 .ad
3184 .sp .6
3185 .RS 4n
3186 Extended output is displayed for \fBPTYPE\fR values of \fBcurrent\fR,
3187 \fBcapable\fR, \fBadv\fR and \fBpeeradv\fR.
3188 .RE
3189 
3190 .RE
3191 
3192 .sp
3193 .ne 2
3194 .na
3195 \fB\fBdladm set-linkprop\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-p\fR
3196 \fIprop\fR=\fIvalue\fR[,...] \fIlink\fR\fR
3197 .ad
3198 .sp .6
3199 .RS 4n
3200 Sets the values of one or more properties on the link specified. The list of
3201 properties and their possible values depend on the link type, the network
3202 device driver, and networking hardware. These properties can be retrieved using
3203 \fBshow-linkprop\fR.
3204 .sp
3205 .ne 2
3206 .na
3207 \fB\fB-t\fR, \fB--temporary\fR\fR
3208 .ad
3209 .sp .6
3210 .RS 4n
3211 Specifies that the changes are temporary. Temporary changes last until the next
3212 reboot.
3213 .RE
3214 
3215 .sp
3216 .ne 2
3217 .na
3218 \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR
3219 .ad
3220 .sp .6
3221 .RS 4n
3222 See "Options," above.
3223 .RE
3224 
3225 .sp
3226 .ne 2
3227 .na










3228 \fB\fB-p\fR \fIprop\fR=\fIvalue\fR[,...], \fB--prop\fR
3229 \fIprop\fR=\fIvalue\fR[,...]\fR
3230 .ad
3231 .br
3232 .na
3233 \fB\fR
3234 .ad
3235 .sp .6
3236 .RS 4n
3237 A comma-separated list of properties to set to the specified values.
3238 .RE
3239 
3240 Note that when the persistent value is set, the temporary value changes to the
3241 same value.
3242 .RE
3243 
3244 .sp
3245 .ne 2
3246 .na
3247 \fB\fBdladm reset-linkprop\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-p\fR
3248 \fIprop\fR,...] \fIlink\fR\fR
3249 .ad
3250 .sp .6
3251 .RS 4n
3252 Resets one or more properties to their values on the link specified. Properties
3253 are reset to the values they had at startup. If no properties are specified,
3254 all properties are reset. See \fBshow-linkprop\fR for a description of
3255 properties.
3256 .sp
3257 .ne 2
3258 .na
3259 \fB\fB-t\fR, \fB--temporary\fR\fR
3260 .ad
3261 .sp .6
3262 .RS 4n
3263 Specifies that the resets are temporary. Values are reset to default values.
3264 Temporary resets last until the next reboot.
3265 .RE
3266 
3267 .sp
3268 .ne 2
3269 .na
3270 \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR
3271 .ad
3272 .sp .6
3273 .RS 4n
3274 See "Options," above.
3275 .RE
3276 
3277 .sp
3278 .ne 2
3279 .na










3280 \fB\fB-p\fR \fIprop, ...\fR, \fB--prop\fR=\fIprop, ...\fR\fR
3281 .ad
3282 .sp .6
3283 .RS 4n
3284 A comma-separated list of properties to reset.
3285 .RE
3286 
3287 Note that when the persistent value is reset, the temporary value changes to
3288 the same value.
3289 .RE
3290 
3291 .sp
3292 .ne 2
3293 .na
3294 \fB\fBdladm show-linkprop\fR [\fB-P\fR] [[\fB-c\fR] \fB-o\fR
3295 \fIfield\fR[,...]][\fB-p\fR \fIprop\fR[,...]] [\fIlink\fR]\fR
3296 .ad
3297 .sp .6
3298 .RS 4n
3299 Show the current or persistent values of one or more properties, either for all
3300 datalinks or for the specified link. By default, current values are shown. If
3301 no properties are specified, all available link properties are displayed. For
3302 each property, the following fields are displayed:
3303 .sp
3304 .ne 2
3305 .na
3306 \fB\fB-o\fR \fIfield\fR[,...], \fB--output\fR=\fIfield\fR\fR
3307 .ad
3308 .sp .6
3309 .RS 4n
3310 A case-insensitive, comma-separated list of output fields to display. The field
3311 name must be one of the fields listed below, or the special value \fBall\fR to
3312 display all fields. For each link, the following fields can be displayed:
3313 .sp
3314 .ne 2
3315 .na


3393 .ad
3394 .sp .6
3395 .RS 4n
3396 Display using a stable machine-parseable format. The \fB-o\fR option is
3397 required with this option. See "Parseable Output Format", below.
3398 .RE
3399 
3400 .sp
3401 .ne 2
3402 .na
3403 \fB\fB-P\fR, \fB--persistent\fR\fR
3404 .ad
3405 .sp .6
3406 .RS 4n
3407 Display persistent link property information
3408 .RE
3409 
3410 .sp
3411 .ne 2
3412 .na










3413 \fB\fB-p\fR \fIprop, ...\fR, \fB--prop\fR=\fIprop, ...\fR\fR
3414 .ad
3415 .sp .6
3416 .RS 4n
3417 A comma-separated list of properties to show. See the sections on link
3418 properties following subcommand descriptions.
3419 .RE
3420 
3421 .RE
3422 
3423 .sp
3424 .ne 2
3425 .na
3426 \fB\fBdladm create-secobj\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-f\fR
3427 \fIfile\fR] \fB-c\fR \fIclass\fR \fIsecobj\fR\fR
3428 .ad
3429 .sp .6
3430 .RS 4n
3431 Create a secure object named \fIsecobj\fR in the specified \fIclass\fR to be
3432 later used as a WEP or WPA key in connecting to an encrypted network. The value


3710 .RE
3711 
3712 .RE
3713 
3714 .sp
3715 .ne 2
3716 .na
3717 \fB\fB-p\fR \fIprop\fR=\fIvalue\fR,..., \fB--prop\fR
3718 \fIprop\fR=\fIvalue\fR,...\fR
3719 .ad
3720 .sp .6
3721 .RS 4n
3722 A comma-separated list of properties to set to the specified values.
3723 .RE
3724 
3725 .RE
3726 
3727 .sp
3728 .ne 2
3729 .na
3730 \fB\fBdladm delete-vnic\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR]
3731 \fIvnic-link\fR\fR
3732 .ad
3733 .sp .6
3734 .RS 4n
3735 Deletes the specified VNIC.
3736 .sp
3737 .ne 2
3738 .na
3739 \fB\fB-t\fR, \fB--temporary\fR\fR
3740 .ad
3741 .sp .6
3742 .RS 4n
3743 Specifies that the deletion is temporary. Temporary deletions last until the
3744 next reboot.
3745 .RE
3746 
3747 .sp
3748 .ne 2
3749 .na
3750 \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR
3751 .ad
3752 .sp .6
3753 .RS 4n
3754 See "Options," above.
3755 .RE
3756 








3757 .RE
3758 


3759 .sp
3760 .ne 2
3761 .na
3762 \fB\fBdladm show-vnic\fR [\fB-pP\fR] [\fB-s\fR [\fB-i\fR \fIinterval\fR]]
3763 [\fB-o\fR \fIfield\fR[,...]] [\fB-l\fR \fIlink\fR] [\fIvnic-link\fR]\fR
3764 .ad
3765 .sp .6
3766 .RS 4n
3767 Show VNIC configuration information (the default) or statistics, for all VNICs,
3768 all VNICs on a link, or only the specified \fIvnic-link\fR.
3769 .sp
3770 .ne 2
3771 .na
3772 \fB\fB-o\fR \fIfield\fR[,...] , \fB--output\fR=\fIfield\fR[,...]\fR
3773 .ad
3774 .sp .6
3775 .RS 4n
3776 A case-insensitive, comma-separated list of output fields to display. The field
3777 name must be one of the fields listed below. The field name must be one of the
3778 fields listed below, or the special value \fBall\fR to display all fields. By
3779 default (without \fB-o\fR), \fBshow-vnic\fR displays all fields.
3780 .sp
3781 .ne 2
3782 .na
3783 \fB\fBLINK\fR\fR


3886 .na
3887 \fB\fB-i\fR \fIinterval\fR, \fB--interval\fR=\fIinterval\fR\fR
3888 .ad
3889 .sp .6
3890 .RS 4n
3891 Used with the \fB-s\fR option to specify an interval, in seconds, at which
3892 statistics should be displayed. If this option is not specified, statistics
3893 will be displayed only once.
3894 .RE
3895 
3896 .sp
3897 .ne 2
3898 .na
3899 \fB\fB-l\fR \fIlink\fR, \fB--link\fR=\fIlink\fR\fR
3900 .ad
3901 .sp .6
3902 .RS 4n
3903 Display information for all VNICs on the named link.
3904 .RE
3905 










3906 .RE
3907 
3908 .sp
3909 .ne 2
3910 .na
3911 \fB\fR
3912 .ad
3913 .br
3914 .na
3915 \fB\fBdladm create-etherstub\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR]
3916 \fIetherstub\fR\fR
3917 .ad
3918 .sp .6
3919 .RS 4n
3920 Create an etherstub with the specified name.
3921 .sp
3922 .ne 2
3923 .na
3924 \fB\fB-t\fR, \fB--temporary\fR\fR
3925 .ad


   1 '\" te
   2 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
   3 .\" Copyright (c) 2014, Joyent, Inc. All Rights Reserved
   4 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at http://www.opengroup.org/bookstore/.
   5 .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text
   6 .\" are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical
   7 .\" and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
   8 .\"  This notice shall appear on any product containing this material.
   9 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
  10 .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the
  11 .\" fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
  12 .TH DLADM 1M "Dec 03, 2014"
  13 .SH NAME
  14 dladm \- administer data links
  15 .SH SYNOPSIS
  16 .LP
  17 .nf
  18 \fBdladm show-link\fR [\fB-P\fR] [\fB-s\fR [\fB-i\fR \fIinterval\fR]] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIlink\fR]
  19 \fBdladm rename-link\fR [\fB-R\fR \fIroot-dir\fR] [\fB-z\fR \fIzonename\fR] \fIlink\fR \fInew-link\fR
  20 .fi
  21 
  22 .LP
  23 .nf
  24 \fBdladm delete-phys\fR \fIphys-link\fR
  25 \fBdladm show-phys\fR [\fB-m\fR | \fB-H\fR | \fB-P\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIphys-link\fR]
  26 .fi
  27 
  28 .LP
  29 .nf
  30 \fBdladm create-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-P\fR \fIpolicy\fR] [\fB-L\fR \fImode\fR]
  31      [\fB-T\fR \fItime\fR] [\fB-u\fR \fIaddress\fR] \fB-l\fR \fIether-link1\fR [\fB-l\fR \fIether-link2\fR...] \fIaggr-link\fR
  32 \fBdladm modify-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-P\fR \fIpolicy\fR] [\fB-L\fR \fImode\fR]
  33      [\fB-T\fR \fItime\fR] [\fB-u\fR \fIaddress\fR] \fIaggr-link\fR
  34 \fBdladm delete-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIaggr-link\fR
  35 \fBdladm add-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-l\fR \fIether-link1\fR [\fB-l\fR \fIether-link2\fR...]
  36      \fIaggr-link\fR
  37 \fBdladm remove-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-l\fR \fIether-link1\fR [\fB-l\fR \fIether-link2\fR...]
  38      \fIaggr-link\fR
  39 \fBdladm show-aggr\fR [\fB-PLx\fR] [\fB-s\fR [\fB-i\fR \fIinterval\fR]] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]]


  82 \fBdladm show-vlan\fR [\fB-P\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIvlan-link\fR]
  83 .fi
  84 
  85 .LP
  86 .nf
  87 \fBdladm scan-wifi\fR [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIwifi-link\fR]
  88 \fBdladm connect-wifi\fR [\fB-e\fR \fIessid\fR] [\fB-i\fR \fIbssid\fR] [\fB-k\fR \fIkey\fR,...]
  89      [\fB-s\fR none | wep | wpa ] [\fB-a\fR open | shared] [\fB-b\fR bss | ibss] [\fB-c\fR]
  90      [\fB-m\fR a | b | g] [\fB-T\fR \fItime\fR] [\fIwifi-link\fR]
  91 \fBdladm disconnect-wifi\fR [\fB-a\fR] [\fIwifi-link\fR]
  92 \fBdladm show-wifi\fR [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIwifi-link\fR]
  93 .fi
  94 
  95 .LP
  96 .nf
  97 \fBdladm show-ether\fR [\fB-x\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIether-link\fR]
  98 .fi
  99 
 100 .LP
 101 .nf
 102 \fBdladm set-linkprop\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-z\fR \fIzonename\fR] \fB-p\fR \fIprop\fR=\fIvalue\fR[,...]
 103      \fIlink\fR
 104 \fBdladm reset-linkprop\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-z\fR \fIzonename\fR] [\fB-p\fR \fIprop\fR[,...]] \fIlink\fR
 105 \fBdladm show-linkprop\fR [\fB-P\fR] [\fB-z\fR \fIzonename\fR] [[\fB-c\fR] \fB-o\fR \fIfield\fR[,...]]
 106      [\fB-p\fR \fIprop\fR[,...]] [\fIlink\fR]
 107 .fi
 108 
 109 .LP
 110 .nf
 111 \fBdladm create-secobj\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-f\fR \fIfile\fR] \fB-c\fR \fIclass\fR \fIsecobj\fR
 112 \fBdladm delete-secobj\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIsecobj\fR[,...]
 113 \fBdladm show-secobj\fR [\fB-P\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIsecobj\fR,...]
 114 .fi
 115 
 116 .LP
 117 .nf
 118 \fBdladm create-vnic\fR [\fB-t\fR] \fB-l\fR \fIlink\fR [\fB-R\fR \fIroot-dir\fR] [\fB-m\fR \fIvalue\fR | auto |
 119      {factory \fB-n\fR \fIslot-identifier\fR]} | {random [\fB-r\fR \fIprefix\fR]}]
 120      [\fB-v\fR \fIvlan-id\fR] [\fB-p\fR \fIprop\fR=\fIvalue\fR[,...]] \fIvnic-link\fR
 121 \fBdladm delete-vnic\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-z\fR \fIzonename\fR] \fIvnic-link\fR
 122 \fBdladm show-vnic\fR [\fB-pP\fR] [\fB-s\fR [\fB-i\fR \fIinterval\fR]] [\fB-o\fR \fIfield\fR[,...]]
 123      [\fB-l\fR \fIlink\fR] [\fB-z\fR \fIzonename\fR] [\fIvnic-link\fR]
 124 .fi
 125 
 126 .LP
 127 .nf
 128 \fBdladm create-etherstub\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIetherstub\fR
 129 \fBdladm delete-etherstub\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIetherstub\fR
 130 \fBdladm show-etherstub\fR [\fIetherstub\fR]
 131 .fi
 132 
 133 .LP
 134 .nf
 135 \fBdladm create-iptun\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-T\fR \fItype\fR [\fB-s\fR \fItsrc\fR] [\fB-d\fR \fItdst\fR]
 136      \fIiptun-link\fR
 137 \fBdladm modify-iptun\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-s\fR \fItsrc\fR] [\fB-d\fR \fItdst\fR] \fIiptun-link\fR
 138 \fBdladm delete-iptun\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIiptun-link\fR
 139 \fBdladm show-iptun\fR [\fB-P\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIiptun-link\fR]
 140 .fi
 141 
 142 .LP
 143 .nf


 553 Display link statistics.
 554 .RE
 555 
 556 .sp
 557 .ne 2
 558 .na
 559 \fB\fB-i\fR \fIinterval\fR, \fB--interval\fR=\fIinterval\fR\fR
 560 .ad
 561 .sp .6
 562 .RS 4n
 563 Used with the \fB-s\fR option to specify an interval, in seconds, at which
 564 statistics should be displayed. If this option is not specified, statistics
 565 will be displayed only once.
 566 .RE
 567 
 568 .RE
 569 
 570 .sp
 571 .ne 2
 572 .na
 573 \fB\fBdladm rename-link\fR [\fB-R\fR \fIroot-dir\fR] [\fB-z\fR \fIzonename\fR] \fIlink\fR \fInew-link\fR\fR

 574 .ad
 575 .sp .6
 576 .RS 4n
 577 Rename \fIlink\fR to \fInew-link\fR. This is used to give a link a meaningful
 578 name, or to associate existing link configuration such as link properties of a
 579 removed device with a new device. See the \fBEXAMPLES\fR section for specific
 580 examples of how this subcommand is used.
 581 .sp
 582 .ne 2
 583 .na
 584 \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR
 585 .ad
 586 .sp .6
 587 .RS 4n
 588 See "Options," above.
 589 .RE
 590 
 591 .sp
 592 .ne 2
 593 .na
 594 \fB\fB-z\fR \fIzonename\fR
 595 .ad
 596 .sp .6
 597 .RS 4n
 598 A link assigned to a zone can only be renamed while the zone is in the ready state.
 599 .RE
 600 
 601 .RE
 602 
 603 .sp
 604 .ne 2
 605 .na
 606 \fB\fBdladm delete-phys\fR \fIphys-link\fR\fR
 607 .ad
 608 .sp .6
 609 .RS 4n
 610 This command is used to delete the persistent configuration of a link
 611 associated with physical hardware which has been removed from the system. See
 612 the \fBEXAMPLES\fR section.
 613 .RE
 614 
 615 .sp
 616 .ne 2
 617 .na
 618 \fB\fBdladm show-phys\fR [\fB-m\fR | \fB-H\fR | \fB-P\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]]
 619 [\fIphys-link\fR]\fR
 620 .ad
 621 .sp .6
 622 .RS 4n


3186 Displays using a stable machine-parseable format. The \fB-o\fR option is
3187 required with \fB-p\fR. See "Parseable Output Format", below.
3188 .RE
3189 
3190 .sp
3191 .ne 2
3192 .na
3193 \fB\fB-x\fR, \fB--extended\fR\fR
3194 .ad
3195 .sp .6
3196 .RS 4n
3197 Extended output is displayed for \fBPTYPE\fR values of \fBcurrent\fR,
3198 \fBcapable\fR, \fBadv\fR and \fBpeeradv\fR.
3199 .RE
3200 
3201 .RE
3202 
3203 .sp
3204 .ne 2
3205 .na
3206 \fB\fBdladm set-linkprop\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-z\fR \fIzonename\fR] \fB-p\fR \fIprop\fR=\fIvalue\fR[,...] \fIlink\fR\fR

3207 .ad
3208 .sp .6
3209 .RS 4n
3210 Sets the values of one or more properties on the link specified. The list of
3211 properties and their possible values depend on the link type, the network
3212 device driver, and networking hardware. These properties can be retrieved using
3213 \fBshow-linkprop\fR.
3214 .sp
3215 .ne 2
3216 .na
3217 \fB\fB-t\fR, \fB--temporary\fR\fR
3218 .ad
3219 .sp .6
3220 .RS 4n
3221 Specifies that the changes are temporary. Temporary changes last until the next
3222 reboot.
3223 .RE
3224 
3225 .sp
3226 .ne 2
3227 .na
3228 \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR
3229 .ad
3230 .sp .6
3231 .RS 4n
3232 See "Options," above.
3233 .RE
3234 
3235 .sp
3236 .ne 2
3237 .na
3238 \fB\fB-z\fR \fIzonenme\fR
3239 .ad
3240 .sp .6
3241 .RS 4n
3242 Operate on a link that has been delegated to the specified zone.
3243 .RE
3244 
3245 .sp
3246 .ne 2
3247 .na
3248 \fB\fB-p\fR \fIprop\fR=\fIvalue\fR[,...], \fB--prop\fR
3249 \fIprop\fR=\fIvalue\fR[,...]\fR
3250 .ad
3251 .br
3252 .na
3253 \fB\fR
3254 .ad
3255 .sp .6
3256 .RS 4n
3257 A comma-separated list of properties to set to the specified values.
3258 .RE
3259 
3260 Note that when the persistent value is set, the temporary value changes to the
3261 same value.
3262 .RE
3263 
3264 .sp
3265 .ne 2
3266 .na
3267 \fB\fBdladm reset-linkprop\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-z\fR \fIzonename\fR] [\fB-p\fR \fIprop\fR,...] \fIlink\fR\fR

3268 .ad
3269 .sp .6
3270 .RS 4n
3271 Resets one or more properties to their values on the link specified. Properties
3272 are reset to the values they had at startup. If no properties are specified,
3273 all properties are reset. See \fBshow-linkprop\fR for a description of
3274 properties.
3275 .sp
3276 .ne 2
3277 .na
3278 \fB\fB-t\fR, \fB--temporary\fR\fR
3279 .ad
3280 .sp .6
3281 .RS 4n
3282 Specifies that the resets are temporary. Values are reset to default values.
3283 Temporary resets last until the next reboot.
3284 .RE
3285 
3286 .sp
3287 .ne 2
3288 .na
3289 \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR
3290 .ad
3291 .sp .6
3292 .RS 4n
3293 See "Options," above.
3294 .RE
3295 
3296 .sp
3297 .ne 2
3298 .na
3299 \fB\fB-z\fR \fIzonenme\fR
3300 .ad
3301 .sp .6
3302 .RS 4n
3303 Operate on a link that has been delegated to the specified zone.
3304 .RE
3305 
3306 .sp
3307 .ne 2
3308 .na
3309 \fB\fB-p\fR \fIprop, ...\fR, \fB--prop\fR=\fIprop, ...\fR\fR
3310 .ad
3311 .sp .6
3312 .RS 4n
3313 A comma-separated list of properties to reset.
3314 .RE
3315 
3316 Note that when the persistent value is reset, the temporary value changes to
3317 the same value.
3318 .RE
3319 
3320 .sp
3321 .ne 2
3322 .na
3323 \fB\fBdladm show-linkprop\fR [\fB-P\fR] [\fB-z\fR \fIzonename\fR] [[\fB-c\fR] \fB-o\fR \fIfield\fR[,...]][\fB-p\fR \fIprop\fR[,...]] [\fIlink\fR]\fR

3324 .ad
3325 .sp .6
3326 .RS 4n
3327 Show the current or persistent values of one or more properties, either for all
3328 datalinks or for the specified link. By default, current values are shown. If
3329 no properties are specified, all available link properties are displayed. For
3330 each property, the following fields are displayed:
3331 .sp
3332 .ne 2
3333 .na
3334 \fB\fB-o\fR \fIfield\fR[,...], \fB--output\fR=\fIfield\fR\fR
3335 .ad
3336 .sp .6
3337 .RS 4n
3338 A case-insensitive, comma-separated list of output fields to display. The field
3339 name must be one of the fields listed below, or the special value \fBall\fR to
3340 display all fields. For each link, the following fields can be displayed:
3341 .sp
3342 .ne 2
3343 .na


3421 .ad
3422 .sp .6
3423 .RS 4n
3424 Display using a stable machine-parseable format. The \fB-o\fR option is
3425 required with this option. See "Parseable Output Format", below.
3426 .RE
3427 
3428 .sp
3429 .ne 2
3430 .na
3431 \fB\fB-P\fR, \fB--persistent\fR\fR
3432 .ad
3433 .sp .6
3434 .RS 4n
3435 Display persistent link property information
3436 .RE
3437 
3438 .sp
3439 .ne 2
3440 .na
3441 \fB\fB-z\fR \fIzonenme\fR
3442 .ad
3443 .sp .6
3444 .RS 4n
3445 Operate on a link that has been delegated to the specified zone.
3446 .RE
3447 
3448 .sp
3449 .ne 2
3450 .na
3451 \fB\fB-p\fR \fIprop, ...\fR, \fB--prop\fR=\fIprop, ...\fR\fR
3452 .ad
3453 .sp .6
3454 .RS 4n
3455 A comma-separated list of properties to show. See the sections on link
3456 properties following subcommand descriptions.
3457 .RE
3458 
3459 .RE
3460 
3461 .sp
3462 .ne 2
3463 .na
3464 \fB\fBdladm create-secobj\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-f\fR
3465 \fIfile\fR] \fB-c\fR \fIclass\fR \fIsecobj\fR\fR
3466 .ad
3467 .sp .6
3468 .RS 4n
3469 Create a secure object named \fIsecobj\fR in the specified \fIclass\fR to be
3470 later used as a WEP or WPA key in connecting to an encrypted network. The value


3748 .RE
3749 
3750 .RE
3751 
3752 .sp
3753 .ne 2
3754 .na
3755 \fB\fB-p\fR \fIprop\fR=\fIvalue\fR,..., \fB--prop\fR
3756 \fIprop\fR=\fIvalue\fR,...\fR
3757 .ad
3758 .sp .6
3759 .RS 4n
3760 A comma-separated list of properties to set to the specified values.
3761 .RE
3762 
3763 .RE
3764 
3765 .sp
3766 .ne 2
3767 .na
3768 \fB\fBdladm delete-vnic\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-z\fR \fIzonename\fR] \fIvnic-link\fR\fR

3769 .ad
3770 .sp .6
3771 .RS 4n
3772 Deletes the specified VNIC.
3773 .sp
3774 .ne 2
3775 .na
3776 \fB\fB-t\fR, \fB--temporary\fR\fR
3777 .ad
3778 .sp .6
3779 .RS 4n
3780 Specifies that the deletion is temporary. Temporary deletions last until the
3781 next reboot.
3782 .RE
3783 
3784 .sp
3785 .ne 2
3786 .na
3787 \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR
3788 .ad
3789 .sp .6
3790 .RS 4n
3791 See "Options," above.
3792 .RE
3793 
3794 .sp
3795 .ne 2
3796 .na
3797 \fB\fB-z\fR \fIzonenme\fR
3798 .ad
3799 .sp .6
3800 .RS 4n
3801 Operate on a link that has been delegated to the specified zone.
3802 .RE
3803 
3804 .RE
3805 
3806 .sp
3807 .ne 2
3808 .na
3809 \fB\fBdladm show-vnic\fR [\fB-pP\fR] [\fB-s\fR [\fB-i\fR \fIinterval\fR]] [\fB-o\fR \fIfield\fR[,...]] [\fB-l\fR \fIlink\fR] [\fB-z\fR \fIzonename\fR] [\fIvnic-link\fR]\fR

3810 .ad
3811 .sp .6
3812 .RS 4n
3813 Show VNIC configuration information (the default) or statistics, for all VNICs,
3814 all VNICs on a link, or only the specified \fIvnic-link\fR.
3815 .sp
3816 .ne 2
3817 .na
3818 \fB\fB-o\fR \fIfield\fR[,...] , \fB--output\fR=\fIfield\fR[,...]\fR
3819 .ad
3820 .sp .6
3821 .RS 4n
3822 A case-insensitive, comma-separated list of output fields to display. The field
3823 name must be one of the fields listed below. The field name must be one of the
3824 fields listed below, or the special value \fBall\fR to display all fields. By
3825 default (without \fB-o\fR), \fBshow-vnic\fR displays all fields.
3826 .sp
3827 .ne 2
3828 .na
3829 \fB\fBLINK\fR\fR


3932 .na
3933 \fB\fB-i\fR \fIinterval\fR, \fB--interval\fR=\fIinterval\fR\fR
3934 .ad
3935 .sp .6
3936 .RS 4n
3937 Used with the \fB-s\fR option to specify an interval, in seconds, at which
3938 statistics should be displayed. If this option is not specified, statistics
3939 will be displayed only once.
3940 .RE
3941 
3942 .sp
3943 .ne 2
3944 .na
3945 \fB\fB-l\fR \fIlink\fR, \fB--link\fR=\fIlink\fR\fR
3946 .ad
3947 .sp .6
3948 .RS 4n
3949 Display information for all VNICs on the named link.
3950 .RE
3951 
3952 .sp
3953 .ne 2
3954 .na
3955 \fB\fB-z\fR \fIzonenme\fR
3956 .ad
3957 .sp .6
3958 .RS 4n
3959 Operate on a link that has been delegated to the specified zone.
3960 .RE
3961 
3962 .RE
3963 
3964 .sp
3965 .ne 2
3966 .na
3967 \fB\fR
3968 .ad
3969 .br
3970 .na
3971 \fB\fBdladm create-etherstub\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR]
3972 \fIetherstub\fR\fR
3973 .ad
3974 .sp .6
3975 .RS 4n
3976 Create an etherstub with the specified name.
3977 .sp
3978 .ne 2
3979 .na
3980 \fB\fB-t\fR, \fB--temporary\fR\fR
3981 .ad