'\" te .\" Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights .\" reserved. .\" 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 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 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. This .\" notice shall appear on any product containing this material. .TH dladm 1M "19 May 2016" "SunOS 5.11" "System Administration Commands" .SH NAME dladm \- administer data links .SH SYNOPSIS .LP .nf \fBdladm\fR .fi .LP .nf \fBdladm show-link\fR [\fB-PZ\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fB-z\fR \fIzone\fR[,...]] [\fIlink\fR] \fBdladm rename-link\fR [\fB-R\fR \fIroot-dir\fR] \fIlink\fR \fInew-link\fR .fi .LP .nf \fBdladm delete-phys\fR \fIphys-link\fR \fBdladm show-phys\fR [\fB-PZ\fR] [\fB-Lm\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fB-H\fR] [\fB-z\fR \fIzone\fR[,...]] [\fB-D\fR [\fIdcb-feature\fR]] [\fB-lr\fR]] [\fIphys-link\fR] .fi .LP .nf \fBdladm create-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-m\fR \fImode\fR] [\fB-P\fR \fIpolicy\fR] [\fB-L\fR \fIlacpmode\fR] [\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 \fBdladm modify-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-m\fR \fImode\fR] [\fB-P\fR \fIpolicy\fR] [\fB-L\fR \fIlacpmode\fR] [\fB-T\fR \fItime\fR] [\fB-u\fR \fIaddress\fR] \fIaggr-link\fR \fBdladm delete-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIaggr-link\fR \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...] \fIaggr-link\fR \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...] \fIaggr-link\fR dladm show-aggr [-PLxZS] [-s [-i \fIinterval\fR]] [[-p] -o \fIfield\fR[,...]] [-z \fIzone\fR[,...]] [\fIaggr-link\fR] .fi .LP .nf \fBdladm create-bridge\fR [\fB-P\fR \fIprotect\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-p\fR \fIpriority\fR] [\fB-m\fR \fImax-age\fR] [\fB-h\fR \fIhello-time\fR] [\fB-d\fR \fIforward-delay\fR] [\fB-f\fR \fIforce-protocol\fR] [\fB-l\fR \fIlink\fR...] \fIbridge-name\fR \fBdladm modify-bridge\fR [\fB-P\fR \fIprotect\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-p\fR \fIpriority\fR] [\fB-m\fR \fImax-age\fR] [\fB-h\fR \fIhello-time\fR] [\fB-d\fR \fIforward-delay\fR] [\fB-f\fR \fIforce-protocol\fR] \fIbridge-name\fR \fBdladm delete-bridge\fR [\fB-R\fR \fIroot-dir\fR] \fIbridge-name\fR \fBdladm add-bridge\fR [\fB-R\fR \fIroot-dir\fR] \fB-l\fR \fIlink\fR [\fB-l\fR \fIlink\fR...]\fIbridge-name\fR \fBdladm remove-bridge\fR [\fB-R\fR \fIroot-dir\fR] \fB-l\fR \fIlink\fR [\fB-l\fR \fIlink\fR...] \fIbridge-name\fR \fBdladm show-bridge\fR [\fB-flt\fR] [\fB-s\fR [\fB-i\fR \fIinterval\fR]] [[\fB-p\fR] \fB-o\fR \fIfield\fR,...] [\fIbridge-name\fR] .fi .LP .nf dladm create-vlan [-ft] [-R \fIroot-dir\fR] -l \fIether-link\fR -v vid[,\fIpvlan-svid\fR[,\fIpvlan-type\fR]] [\fIvlan-link\fR] dladm modify-vlan [-t] [-R \fIroot-dir\fR] [-l \fIether-link\fR] [-v vid[,\fIpvlan-svid\fR[,\fIpvlan-type\fR]] [-f]] {\fIvlan-link\fR,[\fIvlan-link\fR,...] | -L \fIether-link\fR} \fBdladm delete-vlan\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIvlan-link\fR \fBdladm show-vlan\fR [\fB-PZ\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fB-z\fR \fIzone\fR[,...]] [\fIvlan-link\fR] .fi .LP .nf \fBdladm scan-wifi\fR [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIwifi-link\fR] \fBdladm connect-wifi\fR [\fB-e\fR \fIessid\fR] [\fB-i\fR \fIbssid\fR] [\fB-k\fR \fIkey\fR,...] [\fB-s\fR none | wep | wpa ] [\fB-a\fR open | shared] [\fB-b\fR bss | ibss] [\fB-c\fR] [\fB-m\fR a | b | g | n ] [\fB-T\fR \fItime\fR] [\fIwifi-link\fR] \fBdladm disconnect-wifi\fR [\fB-a\fR] [\fIwifi-link\fR] \fBdladm show-wifi\fR [\fB-Z\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fB-z\fR \fIzone\fR[,...]] [\fIwifi-link\fR] .fi .LP .nf \fBdladm show-ether\fR [\fB-xZ\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fB-z\fR \fIzone\fR[,...]] [\fB-P\fR \fIprotocol\fR] [\fIether-link\fR] .fi .LP .nf \fBdladm set-linkprop\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-p\fR \fIprop\fR=\fIvalue\fR[,...] \fIlink\fR \fBdladm reset-linkprop\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-p\fR \fIprop\fR[,...]] \fIlink\fR \fBdladm show-linkprop\fR [\fB-HPZ\fR] [[\fB-c\fR] \fB-o\fR \fIfield\fR[,...]] [\fB-p\fR \fIprop\fR[,...]] [\fB-z\fR \fIzone\fR[,...]] [\fIlink\fR] .fi .LP .nf \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 \fBdladm delete-secobj\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIsecobj\fR[,...] \fBdladm show-secobj\fR [\fB-P\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIsecobj\fR,...] .fi .LP .nf dladm create-vnic [-t] [-f] -l \fIlink\fR [-R \fIroot-dir\fR] [-m value | auto | {factory [-n \fIslot-identifier\fR]} | {vrrp -A {inet | inet6} -V \fIvrid\fR} | {random [-r \fIprefix\fR]}] [-v \fIvlan-id\fR] [-P \fIpkey\fR] [-p prop=value[,...]] \fIvnic-link\fR \fBdladm create-vnic\fR \fB-t -c\fR <\fIevsname\fR>[/<\fIvportname\fR>] [\fB-T\fR <\fItenant\fR>] <\fIvnic-link\fR> \fBdladm modify-vnic\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-l\fR \fIlink\fR] [\fB-m\fR \fIvalue\fR | auto | {factory [\fB-n\fR \fIslot-identifier\fR]} | {vrrp \fB-A\fR {inet | inet6} \fB-V\fR \fIvrid\fR} | {random [\fB-r\fR \fIprefix\fR]}] [\fB-v\fR \fIvlan-id\fR[,\fIpvlan-svid\fR[,\fIpvlan-type\fR]]] {\fIvnic-link\fR,[\fIvnic-link\fR,...] | \fB-L\fR \fIlink\fR} \fBdladm delete-vnic\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIvnic-link\fR \fBdladm show-vnic\fR [-P | {-z zone[,..]}] [[-p] -o \fIfield\fR[,..]] [-l \fIlink\fR] [\fIvnic-link\fR] \fBdladm show-vnic\fR [-Zmv] [-l \fIlink\fR] [\fIvnic-link\fR] .fi .LP .nf \fBdladm create-etherstub\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIetherstub\fR \fBdladm delete-etherstub\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIetherstub\fR \fBdladm show-etherstub\fR [\fB-Z\fR] [\fB-z\fR \fIzone\fR[,...]] [\fIetherstub\fR] .fi .LP .nf \fBdladm create-iptun\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-T\fR \fItype\fR [\fB-a\fR {local|remote}=\fIaddr\fR,...] \fIiptun-link\fR \fBdladm modify-iptun\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-a\fR {local|remote}=\fIaddr\fR,... \fIiptun-link\fR \fBdladm delete-iptun\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIiptun-link\fR \fBdladm show-iptun\fR [\fB-PZ\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fB-z\fR \fIzone\fR[,...]] [\fIiptun-link\fR] .fi .LP .nf \fBdladm create-part\fR [\fB-t\fR] [\fB-f\fR] \fB-l\fR \fIib-link\fR [\fB-R\fR \fIroot-dir\fR] \fB-P\fR \fIpkey\fR [\fB-p\fR prop=\fIvalue\fR[,...]] \fIpart-link\fR \fBdladm delete-part\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIpart-link\fR \fBdladm show-part\fR [\fB-pP\fR] [\fB-o\fR \fIfield\fR[,...]] [\fB-l\fR \fIib-link\fR] [\fIpart-link\fR] .fi .LP .nf \fBdladm show-ib\fR [\fB-pP\fR] [\fB-o\fR \fIfield\fR[,...]] [\fIib-link\fR] .fi .LP .nf \fBdladm create-eoib\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-l\fR \fIib-link\fR \fB-g\fR \fIgw-system-name\fR \fB-c\fR \fIgw-eth-port\fR \fIeoib-link\fR \fBdladm delete-eoib\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIeoib-link\fR \fBdladm show-eoib\fR [\fB-PZ\fR] [\fB-g\fR \fIgw-system-name\fR] [\fB-l\fR \fIib-link\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fB-z\fR \fIzone\fR [,...]] [\fIeoib-link\fR] \fBdladm show-ib\fR [\fB-pP\fR] [\fB-o\fR \fIfield\fR[,...]] [\fIib-link\fR] .fi .LP .nf \fBdladm create-vxlan\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-p\fR \fIvni\fR=<\fIvxlan id\fR>,\fBaddr\fR=<\fIip_address\fR>[,\fIprop=value\fR[,...]] \fIvxlan-link\fR \fBdladm create-vxlan\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-p\fR \fIvni\fR=<\fIvxlan id\fR>,\fBinterface\fR=<\fIinterface_name\fR>[,\fIprop=value\fR[,...]] \fIvxlan-link\fR \fBdladm show-vxlan\fR [\fB-pP\fR] [\fB-o\fR \fIfield\fR[,...]] [\fIvxlan-link\fR] \fBdladm delete-vxlan\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIvxlan-link\fR .fi .LP .nf \fBdladm create-cap\fR [-t] [-R \fIroot-dir\fR] \fIcap-link\fR \fBdladm show-cap\fR [-pP] [-o field[,...]] [\fIcap-link\fR] \fBdladm delete-cap\fR [-t] [-R \fIroot-dir\fR] \fIcap-link\fR .fi .LP .nf \fBdladm help\fR [\fIsubcommand-name\fR] .fi .SH DESCRIPTION .sp .LP The \fBdladm\fR command is used to administer data-links. A data-link is represented in the system as a \fBSTREAMS DLPI\fR (v2) interface which can be plumbed under protocol stacks such as \fBTCP/IP\fR. Each data-link relies on either a single network device or an aggregation of devices to send packets to or receive packets from a network. .sp .LP All link configuration is part of a Network Configuration Profile (NCP). Any number of NCPs may be defined on a system, but there will always be one active NCP. Changes made using the \fBdladm\fR command will be applied to the currently active NCP. .sp .LP NCPs may be 'fixed' or 'reactive'. There is one fixed NCP, called DefaultFixed. This NCP will have all of its configuration applied immediately upon activation, and the system will not make any changes, regardless of the success or failure of any part of the configuration. There may be any number of reactive NCPs; these NCPs will be applied based on additional policy rules that make up the profile, and the system configuration may be changed automatically in response to changes in the network conditions, based on the NCP's policy rules. The policy rules for a reactive NCP may be created using the \fBnetcfg\fR(1M) command. .sp .LP Each \fBdladm\fR subcommand operates on one of the following objects: .sp .ne 2 .mk .na \fB\fBlink\fR\fR .ad .sp .6 .RS 4n A datalink, identified by a name. The name can be at most 30 characters, and must start with an alphabetic character and end with a number between 0 and 4294967294 (inclusive). A number with leading zeroes is not permitted. The rest of the name can use any combination of alphanumeric characters, along with '.' and '_'. In addition, datalink names may also contain the special delimiter characters '/' and '-', as described below. .sp When viewed from the global zone, datalinks inside a zone will have a prefix (identifying the zone), followed by a '/' and the traditional datalink name. Thus, datalink "net0" inside zone "myzone" will appear as "myzone/net0" when viewed from the global zone. This ensures that the datalink names are always unique. .sp Datalinks created externally to dladm will contain a prefix (identifying the creator) followed by a '-' and a traditional datalink name (for example, \fBldoms-vsw1.port2\fR). This ensures that externally-created datalinks will not have naming conflicts. Accordingly, dladm cannot be used to create datalinks that contain '-'. .sp Some subcommands operate only on certain types or classes of datalinks. For those cases, the following object names are used: .sp .ne 2 .mk .na \fB\fBaggr-link\fR\fR .ad .sp .6 .RS 4n An aggregation datalink (or a key; see NOTES). .RE .sp .ne 2 .mk .na \fB\fBether-link\fR\fR .ad .sp .6 .RS 4n A physical Ethernet datalink. .RE .sp .ne 2 .mk .na \fB\fBeoib-link\fR\fR .ad .sp .6 .RS 4n An Ethernet-over-InfiniBand (EoIB) datalink. .RE .sp .ne 2 .mk .na \fB\fBiptun-link\fR\fR .ad .sp .6 .RS 4n An IP tunnel link. .RE .sp .ne 2 .mk .na \fB\fBpart-link\fR\fR .ad .sp .6 .RS 4n An InfiniBand (IB) partition data link. .RE .sp .ne 2 .mk .na \fB\fBphys-link\fR\fR .ad .sp .6 .RS 4n A physical datalink. .RE .sp .ne 2 .mk .na \fB\fBvlan-link\fR\fR .ad .sp .6 .RS 4n A VLAN datalink. .RE .sp .ne 2 .mk .na \fB\fBvnic-link\fR\fR .ad .sp .6 .RS 4n A virtual network interface created on a link or an \fBetherstub\fR. It is a pseudo device that can be treated as if it were an network interface card on a machine. .RE .sp .ne 2 .mk .na \fB\fBwifi-link\fR\fR .ad .sp .6 .RS 4n A WiFi datalink. .RE .RE .sp .ne 2 .mk .na \fB\fBbridge\fR\fR .ad .sp .6 .RS 4n A bridge instance, identified by an administratively-chosen name. The name may use any alphanumeric characters or the underscore, \fB_\fR, but must start and end with an alphabetic character. A bridge name can be at most 31 characters. The name \fBdefault\fR is reserved, as are all names starting with \fBSUNW\fR. .sp Note that appending a zero (\fB0\fR) to a bridge name produces a valid link name, used for observability. .sp Also note that the bridge-related subcommands, described with \fBdladm\fR subcommands below, require installation of the \fBpkg://solaris/network/bridging\fR package. .RE .sp .ne 2 .mk .na \fB\fBdev\fR\fR .ad .sp .6 .RS 4n A network device, identified by concatenation of a driver name and an instance number. .RE .sp .ne 2 .mk .na \fB\fBetherstub\fR\fR .ad .sp .6 .RS 4n An Ethernet stub can be used instead of a physical NIC to create VNICs. VNICs created on an \fBetherstub\fR will appear to be connected through a virtual switch, allowing complete virtual networks to be built without physical hardware. .RE .sp .ne 2 .mk .na \fB\fBpart\fR\fR .ad .sp .6 .RS 4n An IB partition link created on a IB physical link. .RE .sp .ne 2 .mk .na \fB\fBsecobj\fR\fR .ad .sp .6 .RS 4n A secure object, identified by an administratively-chosen name. The name can use any alphanumeric characters, as well as underscore (\fB_\fR), period (\fB\&.\fR), and hyphen (\fB-\fR). A secure object name can be at most 32 characters. .RE .sp .LP \fBdladm\fR is implemented as a set of subcommands with corresponding options. Options are described in the context of each subcommand. Many of the subcommands have the following as a common option: .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n Specifies an alternate root directory where the operation-such as creation, deletion, or renaming-should apply. .RE .sp .LP \fBdladm\fR also supports a command form with no arguments. When invoked this way, \fBdladm\fR displays basic configuration information for all datalinks on a system. See \fBEXAMPLES\fR. .SS "SUBCOMMANDS" .sp .LP The following subcommands are supported: .sp .ne 2 .mk .na \fB\fBdladm show-link\fR [\fB-PZ\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fB-z\fR \fIzone\fR[,...]] [\fIlink\fR]\fR .ad .sp .6 .RS 4n Show link configuration information either for all datalinks or for the specified link. By default, the system is configured with one datalink for each known network device. The option to print link statistics is moved to \fBdlstat\fR(1M). .sp .ne 2 .mk .na \fB\fB-o\fR \fIfield\fR[,...], \fB--output\fR=\fIfield\fR[,...]\fR .ad .sp .6 .RS 4n A case-insensitive, comma-separated list of output fields to display. The field name must be one fields listed below, or the special value \fBall\fR to display all fields. By default (without \fB-o\fR), \fBshow-link\fR displays all fields. .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the datalink. .RE .sp .ne 2 .mk .na \fB\fBZONE\fR\fR .ad .sp .6 .RS 4n The current zone of the datalink. .RE .sp .ne 2 .mk .na \fB\fBCLASS\fR\fR .ad .sp .6 .RS 4n The class of the datalink. \fBdladm\fR distinguishes between the following classes: .sp .ne 2 .mk .na \fB\fBaggr\fR\fR .ad .sp .6 .RS 4n Link Aggregation either as Datalink Multipathing (\fBdlmp\fR) or IEEE 802.3ad \fBtrunk\fR. The \fBshow-aggr\fR subcommand displays more details for this class of datalink. .RE .sp .ne 2 .mk .na \fB\fBbridge\fR\fR .ad .sp .6 .RS 4n A bridge instance, identified by an administratively-chosen name. .RE .sp .ne 2 .mk .na \fB\fBeoib\fR\fR .ad .sp .6 .RS 4n An EoIB interface. The \fBshow-eoib\fR subcommand displays more detail for this class of datalink. .RE .sp .ne 2 .mk .na \fB\fBetherstub\fR\fR .ad .sp .6 .RS 4n Instance of an etherstub. An Ethernet stub can be used instead of a physical NIC to create VNICs. VNICs created on an \fBetherstub\fR will appear to be connected through a virtual switch, allowing complete virtual networks to be built without physical hardware. .RE .sp .ne 2 .mk .na \fB\fBiptun\fR\fR .ad .sp .6 .RS 4n An instance of an IP tunnel link. .RE .sp .ne 2 .mk .na \fB\fBpart\fR\fR .ad .sp .6 .RS 4n An IP-over-IB interface. The \fBshow-part\fR subcommand displays more detail for this class of datalink. .RE .sp .ne 2 .mk .na \fB\fBphys\fR\fR .ad .sp .6 .RS 4n A physical datalink. The \fBshow-phys\fR subcommand displays more detail for this class of datalink. .RE .sp .ne 2 .mk .na \fB\fBvlan\fR\fR .ad .sp .6 .RS 4n A VLAN datalink. The \fBshow-vlan\fR subcommand displays more detail for this class of datalink. .RE .sp .ne 2 .mk .na \fB\fBvnic\fR\fR .ad .sp .6 .RS 4n A virtual network interface. The \fBshow-vnic\fR subcommand displays more detail for this class of datalink. .RE .RE .sp .ne 2 .mk .na \fB\fBMTU\fR\fR .ad .sp .6 .RS 4n The maximum transmission unit size for the datalink being displayed. .RE .sp .ne 2 .mk .na \fB\fBSTATE\fR\fR .ad .sp .6 .RS 4n The virtual link state of the datalink. The state can be up, down, or unknown. When a NIC is carved up into multiple virtual NICs (VNICs), then a virtual switch is created internally to allow the VNICs and the primary datalink to communicate as long as they are on the same VLAN. These datalinks can talk to each other, even if the physical datalink has no connection with the external network. This forms the virtual link state of the datalink. .RE .sp .ne 2 .mk .na \fB\fBBRIDGE\fR\fR .ad .sp .6 .RS 4n The name of the bridge to which this link is assigned, if any. .RE .sp .ne 2 .mk .na \fB\fBOVER\fR\fR .ad .sp .6 .RS 4n The physical datalink(s) over which the datalink is operating. This applies to \fBaggr\fR, \fBbridge\fR, \fBeoib\fR, \fBvlan\fR and \fBpart\fR classes of datalinks. A VLAN, IB partition, or EoIB datalink is created over a single physical datalink, a bridge has multiple attached links, and an aggregation is comprised of one or more physical datalinks. .RE .RE .sp .ne 2 .mk .na \fB\fB-p\fR, \fB--parseable\fR\fR .ad .sp .6 .RS 4n Display using a stable machine-parseable format. The \fB-o\fR option is required with \fB-p\fR. See "Parseable Output Format", below. .RE .sp .ne 2 .mk .na \fB\fB-P\fR, \fB--persistent\fR\fR .ad .sp .6 .RS 4n Display the persistent link configuration. .RE .sp .ne 2 .mk .na \fB\fB-Z\fR\fR .ad .sp .6 .RS 4n Display \fBZONE\fR column in the output. .RE .sp .ne 2 .mk .na \fB\fB-z\fR \fIzone\fR[,...]\fR .ad .sp .6 .RS 4n Display links from the specified zones. By default, \fBdladm\fR displays links in all the zones when it is run from the global zone. The links in other zones are displayed with the corresponding zonename as its prefix, followed by the slash (\fB/\fR) separator. For example, \fBzone1/net0\fR .sp When run from a non-global zone, this subcommand displays only links from that zone. A non-global zone cannot see links in other zones. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm rename-link\fR [\fB-R\fR \fIroot-dir\fR] \fIlink\fR \fInew-link\fR\fR .ad .sp .6 .RS 4n Rename \fIlink\fR to \fInew-link\fR. This is used to give a link a meaningful name, or to associate existing link configuration such as link properties of a removed device with a new device. See the \fBEXAMPLES\fR section for specific examples of how this subcommand is used. .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm delete-phys\fR \fIphys-link\fR\fR .ad .sp .6 .RS 4n This command is used to delete the persistent configuration of a link associated with physical hardware which has been removed from the system. .sp Layer 3 components such as ip interfaces should be deleted manually using the \fBipadm delete\fR commands. See the \fBEXAMPLES\fR section. .RE .sp .ne 2 .mk .na \fB\fBdladm show-phys\fR [\fB-PZ\fR] [\fB-Lm\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fB-H\fR] [\fB-z\fR \fIzone\fR[,...]] [\fB-D\fR [\fIdcb-feature\fR] [\fB-lr\fR]] [\fB-V\fR] [\fIphys-link\fR]\fR .ad .sp .6 .RS 4n Show the physical device and attributes of all physical links, or of the named physical link. Without \fB-P\fR, only physical links that are available on the running system are displayed. .sp .ne 2 .mk .na \fB\fB-D\fR [\fIdcb-feature\fR]\fR .ad .sp .6 .RS 4n Show DCB (Data Center Bridging)-related configuration information on the phys-link. Supported \fIdcb-feature\fRs include \fBets\fR (Enhanced Transmission Selection, IEEE 802.1Qaz) and \fBpfc\fR (Priority-based Flow Control, IEEE 802.1Qbb). The output for \fBdcb-feature\fR is unstable. .sp Output from \fB-D\fR \fBets\fR displays the following elements for ETS DCB feature: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the datalink. .RE .sp .ne 2 .mk .na \fB\fBCOS\fR\fR .ad .sp .6 .RS 4n 802.1p priority value. .RE .sp .ne 2 .mk .na \fB\fBETSBW_LCL_EFFECT\fR\fR .ad .sp .6 .RS 4n The effective ETS BW as a percentage for the CoS (802.1p priority) value. .RE .sp .ne 2 .mk .na \fB\fBETSBW_RMT_EFFECT\fR\fR .ad .sp .6 .RS 4n The effective ETS BW as a percentage for the CoS (802.1p priority) value on the peer. .RE .sp .ne 2 .mk .na \fB\fBETSBW_LCL_SOURCE\fR\fR .ad .sp .6 .RS 4n Indicates the source for \fBETSBW_LCL_EFFECT\fR value. This could be either local (configured) or remote (recommended) value. .RE .sp .ne 2 .mk .na \fB\fBCLIENTS\fR\fR .ad .sp .6 .RS 4n MAC clients that are using the CoS value. .RE .RE .sp .ne 2 .mk .na \fB\fB-l\fR\fR .ad .sp .6 .RS 4n For ETS DCB feature, this shows additional local information: .sp .ne 2 .mk .na \fB\fBETSBW_LCL\fR\fR .ad .RS 21n .rt The configured ETS BW as a percentage for the CoS (802.1p priority) value. .RE .sp .ne 2 .mk .na \fB\fBETSBW_LCL_EFFECT\fR\fR .ad .RS 21n .rt The effective ETS BW as a percentage for the CoS (802.1p priority) value. .RE .sp .ne 2 .mk .na \fB\fBETSBW_LCL_ADVICE:\fR\fR .ad .RS 21n .rt The ETS BW as a percentage for the CoS (802.1p priority) value that is recommended by the peer. .RE .RE .sp .ne 2 .mk .na \fB\fB-r\fR\fR .ad .sp .6 .RS 4n For ETS DCB feature, this shows additional remote information: .sp .ne 2 .mk .na \fB\fBETSBW_RMT_EFFECT\fR\fR .ad .RS 20n .rt The effective ETS BW as a percentage for the CoS (802.1p priority) value on the peer. .RE .sp .ne 2 .mk .na \fB\fBETSBW_RMT_ADVICE:\fR\fR .ad .RS 21n .rt The ETS BW as a percentage for the CoS (802.1p priority) value that is recommended to the peer. .RE Output from \fB-D\fR \fBpfc\fR displays the \fBLINK\fR, \fBCOS\fR, and \fBCLIENTS\fR fields, just the same as the \fB-D\fR \fBets\fR output. In addition, \fB-D\fR \fBpfc\fR displays the following elements specifically for PFC DCB feature: .sp .ne 2 .mk .na \fB\fBPFC\fR\fR .ad .sp .6 .RS 4n If the configured PFC is enabled for the CoS (802.1p priority) value. .RE .sp .ne 2 .mk .na \fB\fBPFC_EFFECT\fR\fR .ad .sp .6 .RS 4n If the effective PFC is enabled for the CoS (802.1p priority) value. .RE .RE .sp .ne 2 .mk .na \fB\fB-H\fR\fR .ad .sp .6 .RS 4n Show hardware resource usage, as returned by the NIC driver. Output from \fB-H\fR displays the following elements: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the datalink. .RE .sp .ne 2 .mk .na \fB\fBRINGTYPE\fR\fR .ad .sp .6 .RS 4n The type of the ring, either RX or TX. .RE .sp .ne 2 .mk .na \fB\fBRINGS\fR\fR .ad .sp .6 .RS 4n The ring index. A ring is an hardware resource, which typically maps to a DMA channel, that can be programmed for specific use. For example, an RX ring can be programmed to receive only packets belonging to a specific MAC address. .RE .sp .ne 2 .mk .na \fB\fBCLIENTS\fR\fR .ad .sp .6 .RS 4n MAC clients that are using the rings. .RE .RE .sp .ne 2 .mk .na \fB\fB-L\fR\fR .ad .sp .6 .RS 4n Display location information for the physical devices/links. Output is in location order\(emthat is, onboard devices before expansion slots\(emand location information (for example, PCIexp Slot 2, MB) is supplied where available. Output from \fB-L\fR supports the following elements: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n A physical device corresponding to a NIC driver. .RE .sp .ne 2 .mk .na \fB\fBDEVICE\fR\fR .ad .sp .6 .RS 4n The name of the physical device under this link. .RE .sp .ne 2 .mk .na \fB\fBLOC\fR\fR .ad .sp .6 .RS 4n Physical location description string (where available). .RE .RE .sp .ne 2 .mk .na \fB\fB-m\fR\fR .ad .sp .6 .RS 4n Display the list of factory MAC addresses, their slot identifiers, and their availability. .RE .sp .ne 2 .mk .na \fB\fB-V\fR\fR .ad .sp .6 .RS 4n Display SR-IOV information for a physical link. The output shows: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .RS 13n .rt The physical link name. .RE .sp .ne 2 .mk .na \fB\fBVFS-AVAIL\fR\fR .ad .RS 13n .rt The number of VFs available on this physical link. .RE .sp .ne 2 .mk .na \fB\fBVFS-INUSE\fR\fR .ad .RS 13n .rt The number of VFs in use by this physical link. .RE .sp .ne 2 .mk .na \fBFLAGS\fR .ad .RS 13n .rt The only possible flag is l, which stands for LDOMs-managed. If this flag is set, \fBdladm\fR will not be able to create VF VNICs on this physical link. .RE .RE .sp .ne 2 .mk .na \fB\fB-o\fR \fIfield\fR, \fB--output\fR=\fIfield\fR\fR .ad .sp .6 .RS 4n A case-insensitive, comma-separated list of output fields to display. The field name must be one of the fields listed below, or the special value \fBall\fR, to display all fields. For each link, the following fields can be displayed: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the datalink. .RE .sp .ne 2 .mk .na \fB\fBMEDIA\fR\fR .ad .sp .6 .RS 4n The media type provided by the physical datalink. .RE .sp .ne 2 .mk .na \fB\fBSTATE\fR\fR .ad .sp .6 .RS 4n The physical link state of the datalink. This can be up, down, or unknown. The physical link state identifies whether the physical device has connectivity with the external network (it does, if the cable is plugged in and the state of the port on the other end of the cable is "up"). .RE .sp .ne 2 .mk .na \fB\fBSPEED\fR\fR .ad .sp .6 .RS 4n The current speed of the link, in megabits per second. .RE .sp .ne 2 .mk .na \fB\fBDUPLEX\fR\fR .ad .sp .6 .RS 4n For Ethernet links, the full/half duplex status of the link is displayed if the link state is \fBup\fR. The duplex is displayed as \fBunknown\fR in all other cases. .RE .sp .ne 2 .mk .na \fB\fBDEVICE\fR\fR .ad .sp .6 .RS 4n The name of the physical device under this link. .RE .RE .sp .ne 2 .mk .na \fB\fB-p\fR, \fB--parseable\fR\fR .ad .sp .6 .RS 4n Display using a stable machine-parseable format. The \fB-o\fR option is required with \fB-p\fR. See "Parseable Output Format", below. .RE .sp .ne 2 .mk .na \fB\fB-P\fR, \fB--persistent\fR\fR .ad .sp .6 .RS 4n This option displays persistent configuration for all links, including those that have been removed from the system. The output provides a \fBFLAGS\fR column in which the \fBr\fR flag indicates that the physical device associated with a physical link has been removed. For such links, \fBdelete-phys\fR can be used to purge the link's configuration from the system. .RE .sp .ne 2 .mk .na \fB\fB-Z\fR\fR .ad .sp .6 .RS 4n Display \fBZONE\fR column in the output. .RE .sp .ne 2 .mk .na \fB\fB-z\fR \fIzone\fR[,...]\fR .ad .sp .6 .RS 4n See description of \fB-z\fR option under \fBdladm show-link\fR, above. .RE By default, Solaris assigns link names with the prefix of \fBnet\fR. Before installing Solaris, you can change this default by modifying the value of the \fBlinkname-policy/phys-prefix\fR SMF property of the service \fBsvc:/network/datalink-management:default\fR. Specify a new value for this property in the System Configuration manifests used the Automated Install (AI) program. See Chapter 2, \fIAdministering Datalink Configuration in Oracle Solaris,\fR in \fIConfiguring and Managing Network Components in Oracle Solaris 11.3\fR for details. .RE .sp .ne 2 .mk .na \fB\fBdladm create-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-m\fR \fImode\fR] [\fB-P\fR \fIpolicy\fR] [\fB-L\fR \fIlcapmode\fR] [\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\fR .ad .sp .6 .RS 4n Combine a set of links into a single link aggregation named \fIaggr-link\fR. The aggregation could be Datalink Multipathing (dlmp) or IEEE 802.3ad compliant. The use of an integer \fIkey\fR to generate a link name for the aggregation is also supported for backward compatibility. Many of the \fB*\fR\fB-aggr\fR subcommands below also support the use of a \fIkey\fR to refer to a given aggregation, but use of the aggregation link name is preferred. See the \fBNOTES\fR section for more information on keys. .sp \fBdladm\fR supports a number of port selection policies for an aggregation of ports. (See the description of the \fB-P\fR option, below.) If you do not specify a policy, \fBcreate-aggr\fR uses the default, the L4 policy, described under the \fB-P\fR option. .sp .ne 2 .mk .na \fB\fB-l\fR \fIether-link\fR, \fB--link\fR=\fIether-link\fR\fR .ad .sp .6 .RS 4n Each Ethernet link (or port) in the aggregation is specified using an \fB-l\fR option followed by the name of the link to be included in the aggregation. Multiple links are included in the aggregation by specifying multiple \fB-l\fR options. For backward compatibility with previous versions of Solaris, the \fBdladm\fR command also supports the using the \fB-d\fR option (or \fB--dev\fR) with a device name to specify links by their underlying device name. The other \fB*\fR\fB-aggr\fR subcommands that take \fB-l\fRoptions also accept \fB-d\fR. .RE .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the aggregation is temporary. Temporary aggregations last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .sp .ne 2 .mk .na \fB\fB-m\fR \fImode\fR\fR .ad .sp .6 .RS 4n Mode must be set to one of the following: .sp .ne 2 .mk .na \fB\fBtrunk\fR\fR .ad .sp .6 .RS 4n IEEE 802.3ad compliant link aggregation. If unspecified, \fImode\fR is \fBtrunk\fR. .RE .sp .ne 2 .mk .na \fB\fBdlmp\fR\fR .ad .sp .6 .RS 4n Datalink Multipathing mode. A layer 2 high availability technology that can provide failover among multiple switches, and does not require switch configuration. A \fBdlmp\fR link aggregation can also aggregate ports connected to same switch. However, it cannot be used in back-to-back setup. .sp An \fBdlmp\fR link aggregation is limited in its load-spreading ability: MAC clients configured on plumbed \fBdlmp\fR \fBaggr\fR are distributed across all \fBaggr\fR ports but an individual MAC client cannot spread load across multiple ports. .sp This mode is not IEEE 802.3ad compliant. Setting \fBpolicy\fR, \fBlacpmode\fR, \fBtime\fR or MAC address is invalid in this mode. .RE .RE .sp .ne 2 .mk .na \fB\fB-P\fR \fIpolicy\fR, \fB--policy\fR=\fIpolicy\fR\fR .ad .br .na \fB\fR .ad .sp .6 .RS 4n Specifies the port selection policy to use for load spreading of outbound traffic. The policy specifies which \fIdev\fR object is used to send packets. A policy is a list of one or more layers specifiers separated by commas. A layer specifier is one of the following: .sp .ne 2 .mk .na \fB\fBL2\fR\fR .ad .sp .6 .RS 4n Select outbound device according to source and destination \fBMAC\fR addresses of the packet. .RE .sp .ne 2 .mk .na \fB\fBL3\fR\fR .ad .sp .6 .RS 4n Select outbound device according to source and destination \fBIP\fR addresses of the packet. .RE .sp .ne 2 .mk .na \fB\fBL4\fR\fR .ad .sp .6 .RS 4n Select outbound device according to the upper layer protocol information contained in the packet. For \fBTCP\fR and \fBUDP\fR, this includes source and destination ports. For IPsec, this includes the \fBSPI\fR (Security Parameters Index). .RE For example, to use upper layer protocol information, the following policy can be used: .sp .in +2 .nf -P L4 .fi .in -2 .sp Note that policy L4 is the default. .sp To use the source and destination \fBMAC\fR addresses as well as the source and destination \fBIP\fR addresses, the following policy can be used: .sp .in +2 .nf -P L2,L3 .fi .in -2 .sp .RE .sp .ne 2 .mk .na \fB\fB-L\fR \fIlacpmode\fR, \fB--lacp-mode\fR=\fImode\fR\fR .ad .sp .6 .RS 4n Specifies whether \fBLACP\fR should be used and, if used, the mode in which it should operate. Supported values are \fBoff\fR, \fBactive\fR or \fBpassive\fR. .RE .sp .ne 2 .mk .na \fB\fB-T\fR \fItime\fR, \fB--lacp-timer\fR=\fItime\fR\fR .ad .br .na \fB\fR .ad .sp .6 .RS 4n Specifies the \fBLACP\fR timer value. The supported values are \fBshort\fR or \fBlong\fR. .RE .sp .ne 2 .mk .na \fB\fB-u\fR \fIaddress\fR, \fB--unicast\fR=\fIaddress\fR\fR .ad .sp .6 .RS 4n Specifies a fixed unicast hardware address to be used for the aggregation. If this option is not specified, then an address is automatically chosen from the set of addresses of the component devices. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm modify-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-m\fR \fImode\fR] [\fB-P\fR \fIpolicy\fR] [\fB-L\fR \fIlacpmode\fR] [\fB-T\fR \fItime\fR] [\fB-u\fR \fIaddress\fR] \fIaggr-link\fR\fR .ad .sp .6 .RS 4n Modify the parameters of the specified aggregation. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the modification is temporary. Temporary aggregations last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .sp .ne 2 .mk .na \fB\fB-m\fR \fImode\fR\fR .ad .sp .6 .RS 4n See description of \fB-m\fR \fImode\fR option under \fBcreate-aggr\fR subcommand, above. .RE .sp .ne 2 .mk .na \fB\fB-P\fR \fIpolicy\fR, \fB--policy\fR=\fIpolicy\fR\fR .ad .sp .6 .RS 4n Specifies the port selection policy to use for load spreading of outbound traffic. See \fBdladm create-aggr\fR for a description of valid policy values. .RE .sp .ne 2 .mk .na \fB\fB-L\fR \fIlacpmode\fR, \fB--lacp-mode\fR=\fImode\fR\fR .ad .sp .6 .RS 4n Specifies whether \fBLACP\fR should be used and, if used, the mode in which it should operate. Supported values are \fBoff\fR, \fBactive\fR, or \fBpassive\fR. .RE .sp .ne 2 .mk .na \fB\fB-T\fR \fItime\fR, \fB--lacp-timer\fR=\fItime\fR\fR .ad .br .na \fB\fR .ad .sp .6 .RS 4n Specifies the \fBLACP\fR timer value. The supported values are \fBshort\fR or \fBlong\fR. .RE .sp .ne 2 .mk .na \fB\fB-u\fR \fIaddress\fR, \fB--unicast\fR=\fIaddress\fR\fR .ad .sp .6 .RS 4n Specifies a fixed unicast hardware address to be used for the aggregation. If this option is not specified, then an address is automatically chosen from the set of addresses of the component devices. .sp (Note that modification of the fixed unicast hardware address will override any previously defined \fBmac-address\fR link property defined for the aggregation. See "General Link Properties".) .RE .RE .sp .ne 2 .mk .na \fB\fBdladm delete-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIaggr-link\fR\fR .ad .sp .6 .RS 4n Deletes the specified aggregation. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the deletion is temporary. Temporary deletions last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm add-aggr\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-l\fR \fIether-link1\fR [\fB--link\fR=\fIether-link2\fR...] \fIaggr-link\fR\fR .ad .sp .6 .RS 4n Adds links to the specified aggregation. .sp .ne 2 .mk .na \fB\fB-l\fR \fIether-link\fR, \fB--link\fR=\fIether-link\fR\fR .ad .sp .6 .RS 4n Specifies an Ethernet link to add to the aggregation. Multiple links can be added by supplying multiple \fB-l\fR options. .RE .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the additions are temporary. Temporary additions last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .RE .sp .ne 2 .mk .na \fB\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...] \fIaggr-link\fR\fR .ad .sp .6 .RS 4n Removes links from the specified aggregation. .sp .ne 2 .mk .na \fB\fB-l\fR \fIether-link\fR, \fB--link\fR=\fIether-link\fR\fR .ad .sp .6 .RS 4n Specifies an Ethernet link to remove from the aggregation. Multiple links can be added by supplying multiple \fB-l\fR options. .RE .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the removals are temporary. Temporary removal last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm show-aggr\fR [\fB-PLxZS\fR] [\fB-s\fR [\fB-i\fR \fIinterval\fR]] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fB-z\fR \fIzone\fR[,...]] [\fIaggr-link\fR]\fR .ad .sp .6 .RS 4n Show aggregation configuration (the default), LACP information or DLMP probe-based failure/recovery detection status either for all aggregations or for the specified aggregation. .sp By default (with no options), the following fields can be displayed: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the aggregation link. .RE .sp .ne 2 .mk .na \fB\fBMODE\fR\fR .ad .sp .6 .RS 4n The aggregation mode, either \fBtrunk\fR or \fBdlmp\fR. .RE .sp .ne 2 .mk .na \fB\fBPOLICY\fR\fR .ad .sp .6 .RS 4n The LACP policy of the aggregation. See the \fBcreate-aggr\fR \fB-P\fR option for a description of the possible values. .RE .sp .ne 2 .mk .na \fB\fBADDRPOLICY\fR\fR .ad .sp .6 .RS 4n Either \fBauto\fR, if the aggregation is configured to automatically configure its unicast MAC address (the default if the \fB-u\fR option was not used to create or modify the aggregation), or \fBfixed\fR, if \fB-u\fR was used to set a fixed MAC address. .RE .sp .ne 2 .mk .na \fB\fBLACPACTIVITY\fR\fR .ad .sp .6 .RS 4n The LACP mode of the aggregation. Possible values are \fBoff\fR, \fBactive\fR, or \fBpassive\fR, as set by the \fB-l\fR option to \fBcreate-aggr\fR or \fBmodify-aggr\fR. .RE .sp .ne 2 .mk .na \fB\fBLACPTIMER\fR\fR .ad .sp .6 .RS 4n The LACP timer value of the aggregation as set by the \fB-T\fR option of \fBcreate-aggr\fR or \fBmodify-aggr\fR. .RE The following field is not part of the default output, but can be queried using \fB-o\fR. .sp .ne 2 .mk .na \fB\fBFLAGS\fR\fR .ad .sp .6 .RS 4n A set of state flags associated with the aggregation. The only possible flag is \fBf\fR, which is displayed if the administrator forced the creation the aggregation using the \fB-f\fR option to \fBcreate-aggr\fR. Other flags might be defined in the future. .RE The \fBshow-aggr\fR command accepts the following options: .sp .ne 2 .mk .na \fB\fB-L\fR, \fB--lacp\fR\fR .ad .sp .6 .RS 4n Displays detailed \fBLACP\fR information for the aggregation link and each underlying port. Most of the state information displayed by this option is defined by IEEE 802.3. With this option, the following fields can be displayed: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the aggregation link. .RE .sp .ne 2 .mk .na \fB\fBPORT\fR\fR .ad .sp .6 .RS 4n The name of one of the underlying aggregation ports. .RE .sp .ne 2 .mk .na \fB\fBAGGREGATABLE\fR\fR .ad .sp .6 .RS 4n Whether the port can be added to the aggregation. .RE .sp .ne 2 .mk .na \fB\fBSYNC\fR\fR .ad .sp .6 .RS 4n If \fByes\fR, the system considers the port to be synchronized and part of the aggregation. .RE .sp .ne 2 .mk .na \fB\fBCOLL\fR\fR .ad .sp .6 .RS 4n If \fByes\fR, collection of incoming frames is enabled on the associated port. .RE .sp .ne 2 .mk .na \fB\fBDIST\fR\fR .ad .sp .6 .RS 4n If \fByes\fR, distribution of outgoing frames is enabled on the associated port. .RE .sp .ne 2 .mk .na \fB\fBDEFAULTED\fR\fR .ad .sp .6 .RS 4n If \fByes\fR, the port is using defaulted partner information (that is, has not received LACP data from the LACP partner). .RE .sp .ne 2 .mk .na \fB\fBEXPIRED\fR\fR .ad .sp .6 .RS 4n If \fByes\fR, the receive state of the port is in the \fBEXPIRED\fR state. .RE .RE .sp .ne 2 .mk .na \fB\fB-x\fR, \fB--extended\fR\fR .ad .sp .6 .RS 4n Display additional aggregation information including detailed information on each underlying port. With \fB-x\fR, the following fields can be displayed: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the aggregation link. .RE .sp .ne 2 .mk .na \fB\fBPORT\fR\fR .ad .sp .6 .RS 4n The name of one of the underlying aggregation ports. .RE .sp .ne 2 .mk .na \fB\fBSPEED\fR\fR .ad .sp .6 .RS 4n The speed of the link or port in megabits per second. .RE .sp .ne 2 .mk .na \fB\fBDUPLEX\fR\fR .ad .sp .6 .RS 4n The full/half duplex status of the link or port is displayed if the link state is \fBup\fR. The duplex status is displayed as \fBunknown\fR in all other cases. .RE .sp .ne 2 .mk .na \fB\fBSTATE\fR\fR .ad .sp .6 .RS 4n The link state. This can be \fBup\fR, \fBdown\fR, or \fBunknown\fR. .RE .sp .ne 2 .mk .na \fB\fBADDRESS\fR\fR .ad .sp .6 .RS 4n The MAC address of the link or port. .RE .sp .ne 2 .mk .na \fB\fBPORTSTATE\fR\fR .ad .sp .6 .RS 4n This indicates whether the individual aggregation port is in the \fBstandby\fR or \fBattached\fR state. .RE .RE .sp .ne 2 .mk .na \fB\fB-S\fR\fR .ad .sp .6 .RS 4n Displays detailed probe information for the given DLMP aggregation link and each underlying port. With \fB-S\fR, the following fields can be displayed: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .RS 12n .rt The name of the aggregation link. .RE .sp .ne 2 .mk .na \fB\fBPORT\fR\fR .ad .RS 12n .rt The name of one of the underlying aggregation ports. .RE .sp .ne 2 .mk .na \fBFLAGS\fR .ad .RS 12n .rt The four letters of the \fBFLAGS\fR field represent: .sp .ne 2 .mk .na \fBlink state\fR .ad .RS 16n .rt \&'u' for link up, 'd' for link down or '-' for unknown link state. .RE .sp .ne 2 .mk .na \fBprober state\fR .ad .RS 16n .rt \&'p' for elected ICMP prober (in case all ports are failed). .RE .sp .ne 2 .mk .na \fBL2 state\fR .ad .RS 16n .rt \&'2' for "L2 active". .RE .sp .ne 2 .mk .na \fBICMP state\fR .ad .RS 16n .rt \&'3' for "ICMP active". .RE .RE .sp .ne 2 .mk .na \fB\fBSTATE\fR\fR .ad .RS 12n .rt The state of the port. Possible values can be "active", "failed or "unknown". .RE .sp .ne 2 .mk .na \fB\fBTARGETS\fR\fR .ad .RS 12n .rt The active ICMP targets for this port. .RE .sp .ne 2 .mk .na \fB\fBXTARGETS\fR\fR .ad .RS 12n .rt The active transitive probe targets for this port. .RE .RE .sp .ne 2 .mk .na \fB\fB-o\fR \fIfield\fR[,...], \fB--output\fR=\fIfield\fR[,...]\fR .ad .sp .6 .RS 4n A case-insensitive, comma-separated list of output fields to display. The field name must be one of the fields listed above, or the special value \fBall\fR, to display all fields. The fields applicable to the \fB-o\fR option are limited to those listed under each output mode. For example, if using \fB-L\fR, only the fields listed under \fB-L\fR, above, can be used with \fB-o\fR. .RE .sp .ne 2 .mk .na \fB\fB-p\fR, \fB--parseable\fR\fR .ad .sp .6 .RS 4n Display using a stable machine-parseable format. The \fB-o\fR option is required with \fB-p\fR. See "Parseable Output Format", below. .RE .sp .ne 2 .mk .na \fB\fB-P\fR, \fB--persistent\fR\fR .ad .sp .6 .RS 4n Display the persistent aggregation configuration rather than the state of the running system. .RE .sp .ne 2 .mk .na \fB\fB-Z\fR\fR .ad .sp .6 .RS 4n Display \fBZONE\fR column in the output. .RE .sp .ne 2 .mk .na \fB\fB-z\fR \fIzone\fR[,...]\fR .ad .sp .6 .RS 4n See description of \fB-z\fR option under \fBdladm show-link\fR, above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm create-bridge\fR [ \fB-P\fR \fIprotect\fR] [\fB-R\fR \fIroot-dir\fR] [ \fB-p\fR \fIpriority\fR] [ \fB-m\fR \fImax-age\fR] [ \fB-h\fR \fIhello-time\fR] [ \fB-d\fR \fIforward-delay\fR] [ \fB-f\fR \fIforce-protocol\fR] [\fB-l\fR \fIlink\fR...] \fIbridge-name\fR\fR .ad .sp .6 .RS 4n Create an 802.1D bridge instance and optionally assign one or more network links to the new bridge. By default, no bridge instances are present on the system. .sp In order to bridge between links, you must create at least one bridge instance. Each bridge instance is separate, and there is no forwarding connection between bridges. .sp Note that the bridge-related subcommands, \fBcreate-bridge\fR among them, require installation of the \fBpkg://solaris/network/bridging\fR package. .sp .ne 2 .mk .na \fB\fB-P\fR \fIprotect\fR, \fB--protect\fR=\fIprotect\fR\fR .ad .sp .6 .RS 4n Specifies a protection method. The defined protection methods are \fBstp\fR for the Spanning Tree Protocol and trill for \fBTRILL\fR, which is used on RBridges. The default value is \fBstp\fR. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .sp .ne 2 .mk .na \fB\fB-p\fR \fIpriority\fR, \fB--priority\fR=\fIpriority\fR\fR .ad .sp .6 .RS 4n Specifies the Bridge Priority. This sets the IEEE STP priority value for determining the root bridge node in the network. The default value is \fB32768\fR. Valid values are \fB0\fR (highest priority) to \fB61440\fR (lowest priority), in increments of 4096. .sp If a value not evenly divisible by 4096 is used, the system silently rounds downward to the next lower value that is divisible by 4096. .RE .sp .ne 2 .mk .na \fB\fB-m\fR \fImax-age\fR, \fB--max-age\fR=\fImax-age\fR\fR .ad .sp .6 .RS 4n Specifies the maximum age for configuration information in seconds. This sets the STP Bridge Max Age parameter. This value is used for all nodes in the network if this node is the root bridge. Bridge link information older than this time is discarded. It defaults to 20 seconds. Valid values are from 6 to 40 seconds. See the \fB-d\fR \fIforward-delay\fR parameter for additional constraints. .RE .sp .ne 2 .mk .na \fB\fB-h\fR \fIhello-time\fR, \fB--hello-time\fR=\fIhello-time\fR\fR .ad .sp .6 .RS 4n Specifies the STP Bridge Hello Time parameter. When this node is the root node, it sends Configuration BPDUs at this interval throughout the network. The default value is 2 seconds. Valid values are from 1 to 10 seconds. See the \fB-d\fR \fIforward-delay\fR parameter for additional constraints. .RE .sp .ne 2 .mk .na \fB\fB-d\fR \fIforward-delay\fR, \fB--forward-delay\fR=\fIforward-delay\fR\fR .ad .sp .6 .RS 4n Specifies the STP Bridge Forward Delay parameter. When this node is the root node, then all bridges in the network use this timer to sequence the link states when a port is enabled. The default value is 15 seconds. Valid values are from 4 to 30 seconds. .sp Bridges must obey the following two constraints: .sp .in +2 .nf 2 * (\fIforward-delay\fR - 1.0) >= \fImax-age\fR \fImax-age\fR >= 2 * (\fIhello-time\fR + 1.0) .fi .in -2 .sp Any parameter setting that would violate those constraints is treated as an error and causes the command to fail with a diagnostic message. The message provides valid alternatives to the supplied values. .RE .sp .ne 2 .mk .na \fB\fB-f\fR \fIforce-protocol\fR, \fB--force-protocol\fR=\fIforce-protocol\fR\fR .ad .sp .6 .RS 4n Specifies the MSTP forced maximum supported protocol. The default value is 3. Valid values are non-negative integers. The current implementation does not support RSTP or MSTP, so this currently has no effect. However, to prevent MSTP from being used in the future, the parameter may be set to \fB0\fR for STP only or \fB2\fR for STP and RSTP. .RE .sp .ne 2 .mk .na \fB\fB-l\fR \fIlink\fR, \fB--link\fR=\fIlink\fR\fR .ad .sp .6 .RS 4n Specifies one or more links to add to the newly-created bridge. This is similar to creating the bridge and then adding one or more links, as with the \fBadd-bridge\fR subcommand. However, if any of the links cannot be added, the entire command fails, and the new bridge itself is not created. To add multiple links on the same command line, repeat this option for each link. You are permitted to create bridges without links. For more information about link assignments, see the \fBadd-bridge\fR subcommand. .RE Bridge creation and link assignment require the \fBPRIV_SYS_DL_CONFIG\fR privilege. Bridge creation might fail if the optional bridging feature is not installed on the system. .RE .sp .ne 2 .mk .na \fB\fBdladm modify-bridge\fR [ \fB-P\fR \fIprotect\fR] [\fB-R\fR \fIroot-dir\fR] [ \fB-p\fR \fIpriority\fR] [ \fB-m\fR \fImax-age\fR] [ \fB-h\fR \fIhello-time\fR] [ \fB-d\fR \fIforward-delay\fR] [ \fB-f\fR \fIforce-protocol\fR] [\fB-l\fR \fIlink\fR...] \fIbridge-name\fR\fR .ad .sp .6 .RS 4n Modify the operational parameters of an existing bridge. The options are the same as for the \fBcreate-bridge\fR subcommand, except that the \fB-l\fR option is not permitted. To add links to an existing bridge, use the \fBadd-bridge\fR subcommand. .sp Bridge parameter modification requires the \fBPRIV_SYS_DL_CONFIG\fR privilege. .RE .sp .ne 2 .mk .na \fB\fBdladm delete-bridge\fR [\fB-R\fR \fIroot-dir\fR] \fIbridge-name\fR\fR .ad .sp .6 .RS 4n Delete a bridge instance. The bridge being deleted must not have any attached links. Use the \fBremove-bridge\fR subcommand to deactivate links before deleting a bridge. .sp Bridge deletion requires the \fBPRIV_SYS_DL_CONFIG\fR privilege. .sp The \fB-R\fR (\fB--root-dir\fR) option is the same as for the \fBcreate-bridge\fR subcommand. .RE .sp .ne 2 .mk .na \fB\fBdladm add-bridge\fR [\fB-R\fR \fIroot-dir\fR] \fB-l\fR \fIlink\fR [\fB-l\fR \fIlink\fR...] \fIbridge-name\fR\fR .ad .sp .6 .RS 4n Add one or more links to an existing bridge. If multiple links are specified, and adding any one of them results in an error, the command fails and no changes are made to the system. .sp Link addition to a bridge requires the \fBPRIV_SYS_DL_CONFIG\fR privilege. .sp A link may be a member of at most one bridge. An error occurs when you attempt to add a link that already belongs to another bridge. To move a link from one bridge instance to another, remove it from the current bridge before adding it to a new one. .sp The links assigned to a bridge must not also be VLANs, VNICs, or tunnels. Only physical Ethernet datalinks, aggregation datalinks, and Ethernet stubs are permitted to be assigned to a bridge. .sp Links assigned to a bridge must all have the same MTU. This is checked when the link is assigned. The link is added to the bridge in a deactivated form if it is not the first link on the bridge and it has a differing MTU. .sp Note that systems using bridging should not set the \fBeeprom\fR(1M) \fBlocal-mac-address?\fR variable to false. .sp The options are the same as for the \fBcreate-bridge\fR subcommand. .RE .sp .ne 2 .mk .na \fB\fBdladm remove-bridge\fR [\fB-R\fR \fIroot-dir\fR] \fB-l\fR \fIlink\fR [\fB-l\fR \fIlink\fR...] \fIbridge-name\fR\fR .ad .sp .6 .RS 4n Remove one or more links from a bridge instance. If multiple links are specified, and removing any one of them would result in an error, the command fails and none are removed. .sp Link removal from a bridge requires the \fBPRIV_SYS_DL_CONFIG\fR privilege. .sp The options are the same as for the \fBcreate-bridge\fR subcommand. .RE .sp .ne 2 .mk .na \fB\fBdladm show-bridge\fR [\fB-flt\fR] [\fB-s\fR [\fB-i\fR \fIinterval\fR]] [[\fB-p\fR] \fB-o\fR \fIfield\fR,...] [\fIbridge-name\fR]\fR .ad .sp .6 .RS 4n Show the running status and configuration of bridges, their attached links, learned forwarding entries, and \fBTRILL\fR nickname databases. When showing overall bridge status and configuration, the bridge name can be omitted to show all bridges. The other forms require a specified bridge. .sp The show-bridge subcommand accepts the following options: .sp .ne 2 .mk .na \fB\fB-i\fR \fIinterval\fR, \fB--interval\fR=\fIinterval\fR\fR .ad .sp .6 .RS 4n Used with the \fB-s\fR option to specify an interval, in seconds, at which statistics should be displayed. If this option is not specified, statistics will be displayed only once. This option is made obsolete by the \fBshow-bridge\fR subcommand in \fBdlstat\fR(1M). .RE .sp .ne 2 .mk .na \fB\fB-s\fR, \fB--statistics\fR\fR .ad .sp .6 .RS 4n Display statistics for the specified bridges or for a given bridge's attached links. This option cannot be used with the \fB-f\fR and \fB-t\fR options. This option is made obsolete by the \fBshow-bridge\fR subcommand in \fBdlstat\fR(1M). .RE .sp .ne 2 .mk .na \fB\fB-p\fR, \fB--parseable\fR\fR .ad .sp .6 .RS 4n Display using a stable machine-parsable format. See "Parsable Output Format," below. .RE .sp .ne 2 .mk .na \fB\fB-o\fR \fIfield\fR[,...], \fB--output\fR=\fIfield\fR[,...]\fR .ad .sp .6 .RS 4n A case-insensitive, comma-separated list of output fields to display. The field names are described below. The special value all displays all fields. Each set of fields has its own default set to display when \fB-o\fR is not specified. .RE By default, the \fBshow-bridge\fR subcommand shows bridge configuration. The following fields can be shown: .sp .ne 2 .mk .na \fB\fBBRIDGE\fR\fR .ad .sp .6 .RS 4n The name of the bridge. .RE .sp .ne 2 .mk .na \fB\fBADDRESS\fR\fR .ad .sp .6 .RS 4n The Bridge Unique Identifier value (MAC address). .RE .sp .ne 2 .mk .na \fB\fBPRIORITY\fR\fR .ad .sp .6 .RS 4n Configured priority value; set by \fB-p\fR with \fBcreate-bridge\fR and \fBmodify-bridge\fR. .RE .sp .ne 2 .mk .na \fB\fBBMAXAGE\fR\fR .ad .sp .6 .RS 4n Configured bridge maximum age; set by \fB-m\fR with \fBcreate-bridge\fR and \fBmodify-bridge\fR. .RE .sp .ne 2 .mk .na \fB\fBBHELLOTIME\fR\fR .ad .sp .6 .RS 4n Configured bridge hello time; set by \fB-h\fR with \fBcreate-bridge\fR and \fBmodify-bridge\fR. .RE .sp .ne 2 .mk .na \fB\fBBFWDDELAY\fR\fR .ad .sp .6 .RS 4n Configured forwarding delay; set by \fB-d\fR with \fBcreate-bridge\fR and \fBmodify-bridge\fR. .RE .sp .ne 2 .mk .na \fB\fBFORCEPROTO\fR\fR .ad .sp .6 .RS 4n Configured forced maximum protocol; set by \fB-f\fR with \fBcreate-bridge\fR and \fBmodify-bridge\fR. .RE .sp .ne 2 .mk .na \fB\fBTCTIME\fR\fR .ad .sp .6 .RS 4n Time, in seconds, since last topology change. .RE .sp .ne 2 .mk .na \fB\fBTCCOUNT\fR\fR .ad .sp .6 .RS 4n Count of the number of topology changes. .RE .sp .ne 2 .mk .na \fB\fBTCHANGE\fR\fR .ad .sp .6 .RS 4n This indicates that a topology change was detected. .RE .sp .ne 2 .mk .na \fB\fBDESROOT\fR\fR .ad .sp .6 .RS 4n Bridge Identifier of the root node. .RE .sp .ne 2 .mk .na \fB\fBROOTCOST\fR\fR .ad .sp .6 .RS 4n Cost of the path to the root node. .RE .sp .ne 2 .mk .na \fB\fBROOTPORT\fR\fR .ad .sp .6 .RS 4n Port number used to reach the root node. .RE .sp .ne 2 .mk .na \fB\fBMAXAGE\fR\fR .ad .sp .6 .RS 4n Maximum age value from the root node. .RE .sp .ne 2 .mk .na \fB\fBHELLOTIME\fR\fR .ad .sp .6 .RS 4n Hello time value from the root node. .RE .sp .ne 2 .mk .na \fB\fBFWDDELAY\fR\fR .ad .sp .6 .RS 4n Forward delay value from the root node. .RE .sp .ne 2 .mk .na \fB\fBHOLDTIME\fR\fR .ad .sp .6 .RS 4n Minimum BPDU interval. .RE By default, when the \fB-o\fR option is not specified, only the \fBBRIDGE\fR, \fBADDRESS\fR, \fBPRIORITY\fR, and \fBDESROOT\fR fields are shown. .sp When the \fB-s\fR option is specified, the \fBshow-bridge\fR subcommand shows bridge statistics. The following fields can be shown: .sp .ne 2 .mk .na \fB\fBBRIDGE\fR\fR .ad .sp .6 .RS 4n Bridge name. .RE .sp .ne 2 .mk .na \fB\fBDROPS\fR\fR .ad .sp .6 .RS 4n Number of packets dropped due to resource problems. .RE .sp .ne 2 .mk .na \fB\fBFORWARDS\fR\fR .ad .sp .6 .RS 4n Number of packets forwarded from one link to another. .RE .sp .ne 2 .mk .na \fB\fBMBCAST\fR\fR .ad .sp .6 .RS 4n Number of multicast and broadcast packets handled by the bridge. .RE .sp .ne 2 .mk .na \fB\fBRECV\fR\fR .ad .sp .6 .RS 4n Number of packets received on all attached links. .RE .sp .ne 2 .mk .na \fB\fBSENT\fR\fR .ad .sp .6 .RS 4n Number of packets sent on all attached links. .RE .sp .ne 2 .mk .na \fB\fBUNKNOWN\fR\fR .ad .sp .6 .RS 4n Number of packets handled that have an unknown destination. Such packets are sent to all links. .RE By default, when the \fB-o\fR option is not specified, only the \fBBRIDGE\fR, \fBDROPS\fR, and \fBFORWARDS\fR fields are shown. .sp The \fBshow-bridge\fR subcommand also accepts the following options: .sp .ne 2 .mk .na \fB\fB-l\fR, \fB--link\fR\fR .ad .sp .6 .RS 4n Displays link-related status and statistics information for all links attached to a single bridge instance. By using this option and without the \fB-s\fR option, the following fields can be displayed for each link: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The link name. .RE .sp .ne 2 .mk .na \fB\fBINDEX\fR\fR .ad .sp .6 .RS 4n Port (link) index number on the bridge. .RE .sp .ne 2 .mk .na \fB\fBSTATE\fR\fR .ad .sp .6 .RS 4n State of the link. The state can be \fBdisabled\fR, \fBdiscarding\fR, \fBlearning\fR, \fBforwarding\fR, \fBnon-stp\fR, or \fBbad-mtu\fR. .RE .sp .ne 2 .mk .na \fB\fBUPTIME\fR\fR .ad .sp .6 .RS 4n Number of seconds since the last reset or initialization. .RE .sp .ne 2 .mk .na \fB\fBOPERCOST\fR\fR .ad .sp .6 .RS 4n Actual cost in use (1-65535). .RE .sp .ne 2 .mk .na \fB\fBOPERP2P\fR\fR .ad .sp .6 .RS 4n This indicates whether point-to-point (\fBP2P\fR) mode been detected. .RE .sp .ne 2 .mk .na \fB\fBOPEREDGE\fR\fR .ad .sp .6 .RS 4n This indicates whether edge mode has been detected. .RE .sp .ne 2 .mk .na \fB\fBDESROOT\fR\fR .ad .sp .6 .RS 4n The Root Bridge Identifier that has been seen on this port. .RE .sp .ne 2 .mk .na \fB\fBDESCOST\fR\fR .ad .sp .6 .RS 4n Path cost to the network root node through the designated port. .RE .sp .ne 2 .mk .na \fB\fBDESBRIDGE\fR\fR .ad .sp .6 .RS 4n Bridge Identifier for this port. .RE .sp .ne 2 .mk .na \fB\fBDESPORT\fR\fR .ad .sp .6 .RS 4n The ID and priority of the port used to transmit configuration messages for this port. .RE .sp .ne 2 .mk .na \fB\fBTCACK\fR\fR .ad .sp .6 .RS 4n This indicates whether Topology Change Acknowledge has been seen. .RE When the \fB-l\fR option is specified without the \fB-o\fR option, only the \fBLINK\fR, \fBSTATE\fR, \fBUPTIME\fR, and \fBDESROOT\fR fields are shown. .sp When the \fB-l\fR option is specified, the \fB-s\fR option can be used to display the following fields for each link: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n Link name. .RE .sp .ne 2 .mk .na \fB\fBCFGBPDU\fR\fR .ad .sp .6 .RS 4n Number of configuration BPDUs received. .RE .sp .ne 2 .mk .na \fB\fBTCNBPDU\fR\fR .ad .sp .6 .RS 4n Number of topology change BPDUs received. .RE .sp .ne 2 .mk .na \fB\fBRSTPBPDU\fR\fR .ad .sp .6 .RS 4n Number of Rapid Spanning Tree BPDUs received. .RE .sp .ne 2 .mk .na \fB\fBTXBPDU\fR\fR .ad .sp .6 .RS 4n Number of BPDUs transmitted. .RE .sp .ne 2 .mk .na \fB\fBDROPS\fR\fR .ad .sp .6 .RS 4n Number of packets dropped due to resource problems. .RE .sp .ne 2 .mk .na \fB\fBRECV\fR\fR .ad .sp .6 .RS 4n Number of packets received by the bridge. .RE .sp .ne 2 .mk .na \fB\fBXMIT\fR\fR .ad .sp .6 .RS 4n Number of packets sent by the bridge. .RE When the \fB-o\fR option is not specified, only the \fBLINK\fR, \fBDROPS\fR, \fBRECV\fR, and \fBXMIT\fR fields are shown. .RE .sp .ne 2 .mk .na \fB\fB-f\fR, \fB--forwarding\fR\fR .ad .sp .6 .RS 4n Displays forwarding entries for a single bridge instance. With this option, the following fields can be shown for each forwarding entry: .sp .ne 2 .mk .na \fB\fBDEST\fR\fR .ad .sp .6 .RS 4n Destination MAC address. .RE .sp .ne 2 .mk .na \fB\fBAGE\fR\fR .ad .sp .6 .RS 4n Age of entry in seconds and milliseconds. Omitted for local entries. .RE .sp .ne 2 .mk .na \fB\fBFLAGS\fR\fR .ad .sp .6 .RS 4n The \fBL\fR (local) flag is shown if the MAC address belongs to an attached link or to a VNIC on one of the attached links. .RE .sp .ne 2 .mk .na \fB\fBOUTPUT\fR\fR .ad .sp .6 .RS 4n For local entries, this is the name of the attached link that has the MAC address. Otherwise, for bridges that use Spanning Tree Protocol, this is the output interface name. For RBridges, this is the output \fBTRILL\fR nickname. .RE When the \fB-o\fR option is not specified, the \fBDEST\fR, \fBAGE\fR, \fBFLAGS\fR, and \fBOUTPUT\fR fields are shown. .RE .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--trill\fR\fR .ad .sp .6 .RS 4n Displays \fBTRILL\fR nickname entries for a single bridge instance. With this option, the following fields can be shown for each \fBTRILL\fR nickname entry: .sp .ne 2 .mk .na \fB\fBNICK\fR\fR .ad .sp .6 .RS 4n \fBTRILL\fR nickname for this RBridge, which is a number from 1 to 65535. .RE .sp .ne 2 .mk .na \fB\fBFLAGS\fR\fR .ad .sp .6 .RS 4n The \fBL\fR flag is shown if the nickname identifies the local system. .RE .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n Link name for output when sending messages to this RBridge. .RE .sp .ne 2 .mk .na \fB\fBNEXTHOP\fR\fR .ad .sp .6 .RS 4n MAC address of the next hop RBridge that is used to reach the RBridge with this nickname. .RE When the \fB-o\fR option is not specified, the \fBNICK\fR, \fBFLAGS\fR, \fBLINK\fR, and \fBNEXTHOP\fR fields are shown. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm create-vlan\fR [\fB-ft\fR] [\fB-R\fR \fIroot-dir\fR] \fB-l\fR \fIether-link\fR \fB-v\fR \fIvid\fR[,\fIpvlan-svid\fR[,\fIpvlan-type\fR]] [\fIvlan-link\fR]\fR .ad .sp .6 .RS 4n Create a tagged VLAN link with an ID of \fIvid\fR over Ethernet link \fIether-link\fR. The name of the VLAN link can be specified as \fIvlan\fR-\fIlink\fR. The name can be specified as zonename/linkname, which will create the VLAN in the given zone's namespace. If the name is not specified, a name will be automatically generated (assuming that \fIether-link\fR is \fIname\fR\fIPPA\fR) as: .sp .in +2 .nf <\fIname\fR><1000 * \fIvlan-tag\fR + \fIPPA\fR> .fi .in -2 .sp For example, if \fIether-link\fR is \fBbge1\fR and \fIvid\fR is 2, the name generated is \fBbge2001\fR. .sp .ne 2 .mk .na \fB\fB-f\fR, \fB--force\fR\fR .ad .sp .6 .RS 4n Force the creation of the VLAN link. Some devices do not allow frame sizes large enough to include a VLAN header. When creating a VLAN link over such a device, the \fB-f\fR option is needed, and the MTU of the IP interfaces on the resulting VLAN must be set to 1496 instead of 1500. .RE .sp .ne 2 .mk .na \fB\fB-l\fR \fIether-link\fR\fR .ad .sp .6 .RS 4n Specifies Ethernet link over which VLAN is created. .RE .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the VLAN link is temporary. Temporary VLAN links last until the next reboot. The \fB-t\fR option must be specified if the VLAN is created in a non-global zone's namespace. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm modify-vlan\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-l\fR \fIether-link\fR] [\fB-v\fR \fIvid\fR[,\fIpvlan-svid\fR[,\fIpvlan-type\fR]] [\fB-f\fR]] {\fIvlan-link\fR,[\fIvlan-link\fR,...] | \fB-L\fR \fIsource-ether-link\fR}\fR .ad .sp .6 .RS 4n Modifies the underlying link and/or the VLAN-ID of the specified VLAN link(s). The VLAN link(s) can be specified as a comma-delimited list or as \fB-L\fR \fIsource-ether-link\fR to indicate "all VLANs on \fIsource-ether-link\fR". .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the VLAN modification is temporary. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .sp .ne 2 .mk .na \fB\fB-l\fR \fIether-link\fR\fR .ad .sp .6 .RS 4n Specifies the Ethernet link to which to move the VLAN(s). The Ethernet link must be different from the current one the VLAN(s) is or are using. .RE .sp .ne 2 .mk .na \fB\fB-v\fR \fIvid\fR, [\fIpvlan-svid\fR,[\fIpvlan-type\fR]] [\fB-f\fR]\fR .ad .sp .6 .RS 4n Specifies the VLAN-ID to be used. This option can be used only if a single VLAN link is specified. The purpose of the \fB-f\fR option is the same as in \fBcreate-vlan\fR, above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm delete-vlan\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIvlan-link\fR\fR .ad .sp .6 .RS 4n Delete the VLAN link specified. .sp The \fBdelete-vlan\fRsubcommand accepts the following options: .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the deletion is temporary. Temporary deletions last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm show-vlan\fR [\fB-PZ\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fB-z\fR \fIzone\fR[,...]] [\fIvlan-link\fR]\fR .ad .sp .6 .RS 4n Display VLAN configuration for all VLAN links or for the specified VLAN link. .sp The \fBshow-vlan\fR subcommand accepts the following options: .sp .ne 2 .mk .na \fB\fB-o\fR \fIfield\fR[,...], \fB--output\fR=\fIfield\fR[,...]\fR .ad .sp .6 .RS 4n A case-insensitive, comma-separated list of output fields to display. The field name must be one of the fields listed below, or the special value \fBall\fR, to display all fields. For each VLAN link, the following fields can be displayed: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the VLAN link. .RE .sp .ne 2 .mk .na \fB\fBVID\fR\fR .ad .sp .6 .RS 4n The ID associated with the VLAN. Or the Primary VID associated with a PVLAN. .RE .sp .ne 2 .mk .na \fB\fBSVID\fR\fR .ad .sp .6 .RS 4n The PVLAN Secondary VLAN ID assocated with the VNIC. .RE .sp .ne 2 .mk .na \fB\fBPVLAN-TYPE\fR\fR .ad .sp .6 .RS 4n The PVLAN type associated with the VNIC. .RE .sp .ne 2 .mk .na \fB\fBOVER\fR\fR .ad .sp .6 .RS 4n The name of the physical link over which this VLAN is configured. .RE .sp .ne 2 .mk .na \fB\fBFLAGS\fR\fR .ad .sp .6 .RS 4n A set of flags associated with the VLAN link. Possible flags are: .sp .ne 2 .mk .na \fB\fBf\fR\fR .ad .sp .6 .RS 4n The VLAN was created using the \fB-f\fR option to \fBcreate-vlan\fR. .RE .sp .ne 2 .mk .na \fB\fBi\fR\fR .ad .sp .6 .RS 4n The VLAN was implicitly created when the DLPI link was opened. These VLAN links are automatically deleted on last close of the DLPI link (for example, when the IP interface associated with the VLAN link is unplumbed). .RE Additional flags might be defined in the future. .RE .RE .sp .ne 2 .mk .na \fB\fB-p\fR, \fB--parseable\fR\fR .ad .sp .6 .RS 4n Display using a stable machine-parseable format. The \fB-o\fR option is required with \fB-p\fR. See "Parseable Output Format", below. .RE .sp .ne 2 .mk .na \fB\fB-P\fR, \fB--persistent\fR\fR .ad .sp .6 .RS 4n Display the persistent VLAN configuration rather than the state of the running system. .RE .sp .ne 2 .mk .na \fB\fB-Z\fR\fR .ad .sp .6 .RS 4n Display \fBZONE\fR column in the output. .RE .sp .ne 2 .mk .na \fB\fB-z\fR \fIzone\fR[,...]\fR .ad .sp .6 .RS 4n See description of \fB-z\fR option under \fBdladm show-link\fR, above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm scan-wifi\fR [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIwifi-link\fR]\fR .ad .sp .6 .RS 4n Scans for \fBWiFi\fR networks, either on all \fBWiFi\fR links, or just on the specified \fIwifi-link\fR. .sp By default, currently all fields but \fBBSSTYPE\fR are displayed. .sp .ne 2 .mk .na \fB\fB-o\fR \fIfield\fR[,...], \fB--output\fR=\fIfield\fR[,...]\fR .ad .sp .6 .RS 4n A case-insensitive, comma-separated list of output fields to display. The field name must be one of the fields listed below, or the special value \fBall\fR to display all fields. For each \fBWiFi\fR network found, the following fields can be displayed: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the link the \fBWiFi\fR network is on. .RE .sp .ne 2 .mk .na \fB\fBESSID\fR\fR .ad .sp .6 .RS 4n The \fBESSID\fR (name) of the \fBWiFi\fR network. .RE .sp .ne 2 .mk .na \fB\fBBSSID\fR\fR .ad .sp .6 .RS 4n Either the hardware address of the \fBWiFi\fR network's Access Point (for \fBBSS\fR networks), or the \fBWiFi\fR network's randomly generated unique token (for \fBIBSS\fR networks). .RE .sp .ne 2 .mk .na \fB\fBSEC\fR\fR .ad .sp .6 .RS 4n Either \fBnone\fR for a \fBWiFi\fR network that uses no security, \fBwep\fR for a \fBWiFi\fR network that requires WEP (Wired Equivalent Privacy), or \fBwpa\fR for a WiFi network that requires WPA (Wi-Fi Protected Access). .RE .sp .ne 2 .mk .na \fB\fBMODE\fR\fR .ad .sp .6 .RS 4n The supported connection modes: one or more of \fBa\fR, \fBb\fR, \fBg\fR, or \fBn\fR. .RE .sp .ne 2 .mk .na \fB\fBSTRENGTH\fR\fR .ad .sp .6 .RS 4n The strength of the signal: one of \fBexcellent\fR, \fBvery good\fR, \fBgood\fR, \fBweak\fR, or \fBvery weak\fR. .RE .sp .ne 2 .mk .na \fB\fBSPEED\fR\fR .ad .sp .6 .RS 4n The maximum speed of the \fBWiFi\fR network, in megabits per second. .RE .sp .ne 2 .mk .na \fB\fBBSSTYPE\fR\fR .ad .sp .6 .RS 4n Either \fBbss\fR for \fBBSS\fR (infrastructure) networks, or \fBibss\fR for \fBIBSS\fR (ad-hoc) networks. .RE .RE .sp .ne 2 .mk .na \fB\fB-p\fR, \fB--parseable\fR\fR .ad .sp .6 .RS 4n Display using a stable machine-parseable format. The \fB-o\fR option is required with \fB-p\fR. See "Parseable Output Format", below. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm connect-wifi\fR [\fB-e\fR \fIessid\fR] [\fB-i\fR \fIbssid\fR] [\fB-k\fR \fIkey\fR,...] [\fB-s\fR \fBnone\fR | \fBwep\fR | \fBwpa\fR] [\fB-a\fR \fBopen\fR|\fBshared\fR] [\fB-b\fR \fBbss\fR|\fBibss\fR] [\fB-c\fR] [\fB-m\fR \fBa\fR|\fBb\fR|\fBg\fR|\fBn\fR] [\fB-T\fR \fItime\fR] [\fIwifi-link\fR]\fR .ad .sp .6 .RS 4n Connects to a \fBWiFi\fR network. This consists of four steps: \fIdiscovery\fR, \fIfiltration\fR, \fIprioritization\fR, and \fIassociation\fR. However, to enable connections to non-broadcast \fBWiFi\fR networks and to improve performance, if a \fBBSSID\fR or \fBESSID\fR is specified using the \fB-e\fR or \fB-i\fR options, then the first three steps are skipped and \fBconnect-wifi\fR immediately attempts to associate with a \fBBSSID\fR or \fBESSID\fR that matches the rest of the provided parameters. If this association fails, but there is a possibility that other networks matching the specified criteria exist, then the traditional discovery process begins as specified below. .sp The discovery step finds all available \fBWiFi\fR networks on the specified WiFi link, which must not yet be connected. For administrative convenience, if there is only one \fBWiFi\fR link on the system, \fIwifi-link\fR can be omitted. .sp Once discovery is complete, the list of networks is filtered according to the value of the following options: .sp .ne 2 .mk .na \fB\fB-e\fR \fIessid,\fR \fB--essid\fR=\fIessid\fR\fR .ad .sp .6 .RS 4n Networks that do not have the same \fIessid\fR are filtered out. .RE .sp .ne 2 .mk .na \fB\fB-b\fR \fBbss\fR|\fBibss\fR, \fB--bsstype\fR=\fBbss\fR|\fBibss\fR\fR .ad .sp .6 .RS 4n Networks that do not have the same \fBbsstype\fR are filtered out. .RE .sp .ne 2 .mk .na \fB\fB-m\fR \fBa\fR|\fBb\fR|\fBg\fR, \fB--mode\fR=\fBa\fR|\fBb\fR|\fBg\fR|\fBn\fR\fR .ad .sp .6 .RS 4n Networks not appropriate for the specified 802.11 mode are filtered out. .RE .sp .ne 2 .mk .na \fB\fB-k\fR \fIkey,...\fR, \fB--key\fR=\fIkey, ...\fR\fR .ad .sp .6 .RS 4n Use the specified \fBsecobj\fR named by the key to connect to the network. Networks not appropriate for the specified keys are filtered out. .RE .sp .ne 2 .mk .na \fB\fB-s\fR \fBnone\fR|\fBwep\fR|\fBwpa\fR, \fB--sec\fR=\fBnone\fR|\fBwep\fR|\fBwpa\fR\fR .ad .sp .6 .RS 4n Networks not appropriate for the specified security mode are filtered out. .RE Next, the remaining networks are prioritized, first by signal strength, and then by maximum speed. Finally, an attempt is made to associate with each network in the list, in order, until one succeeds or no networks remain. .sp In addition to the options described above, the following options also control the behavior of \fBconnect-wifi\fR: .sp .ne 2 .mk .na \fB\fB-a\fR \fBopen\fR|\fBshared\fR, \fB--auth\fR=\fBopen\fR|\fBshared\fR\fR .ad .sp .6 .RS 4n Connect using the specified authentication mode. By default, \fBopen\fR and \fBshared\fR are tried in order. .RE .sp .ne 2 .mk .na \fB\fB-c\fR, \fB--create-ibss\fR\fR .ad .sp .6 .RS 4n Used with \fB-b ibss\fR to create a new ad-hoc network if one matching the specified \fBESSID\fR cannot be found. If no \fBESSID\fR is specified, then \fB-c -b ibss\fR always triggers the creation of a new ad-hoc network. .RE .sp .ne 2 .mk .na \fB\fB-T\fR \fItime\fR, \fB--timeout\fR=\fItime\fR\fR .ad .sp .6 .RS 4n Specifies the number of seconds to wait for association to succeed. If \fItime\fR is \fBforever\fR, then the associate will wait indefinitely. The current default is ten seconds, but this might change in the future. Timeouts shorter than the default might not succeed reliably. .RE .sp .ne 2 .mk .na \fB\fB-k\fR \fIkey,...\fR, \fB--key\fR=\fIkey,...\fR\fR .ad .sp .6 .RS 4n In addition to the filtering previously described, the specified keys will be used to secure the association. The security mode to use will be based on the key class; if a security mode was explicitly specified, it must be compatible with the key class. All keys must be of the same class. .sp For security modes that support multiple key slots, the slot to place the key will be specified by a colon followed by an index. Therefore, \fB-k mykey:3\fR places \fBmykey\fR in slot 3. By default, slot 1 is assumed. For security modes that support multiple keys, a comma-separated list can be specified, with the first key being the active key. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm disconnect-wifi\fR [\fB-a\fR] [\fIwifi-link\fR]\fR .ad .sp .6 .RS 4n Disconnect from one or more \fBWiFi\fR networks. If \fIwifi-link\fR specifies a connected \fBWiFi\fR link, then it is disconnected. For administrative convenience, if only one \fBWiFi\fR link is connected, \fIwifi-link\fR can be omitted. .sp .ne 2 .mk .na \fB\fB-a\fR, \fB--all-links\fR\fR .ad .sp .6 .RS 4n Disconnects from all connected links. This is primarily intended for use by scripts. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm show-wifi\fR [\fB-Z\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR,...] [\fB-z\fR \fIzone\fR[,...]] [\fIwifi-link\fR]\fR .ad .sp .6 .RS 4n Shows \fBWiFi\fR configuration information either for all \fBWiFi\fR links or for the specified link \fIwifi-link\fR. .sp .ne 2 .mk .na \fB\fB-o\fR \fIfield,...\fR, \fB--output\fR=\fIfield\fR\fR .ad .sp .6 .RS 4n A case-insensitive, comma-separated list of output fields to display. The field name must be one of the fields listed below, or the special value \fBall\fR, to display all fields. For each \fBWiFi\fR link, the following fields can be displayed: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the link being displayed. .RE .sp .ne 2 .mk .na \fB\fBSTATUS\fR\fR .ad .sp .6 .RS 4n Either \fBconnected\fR if the link is connected, or \fBdisconnected\fR if it is not connected. If the link is disconnected, all remaining fields have the value \fB--\fR. .RE .sp .ne 2 .mk .na \fB\fBESSID\fR\fR .ad .sp .6 .RS 4n The \fBESSID\fR (name) of the connected \fBWiFi\fR network. .RE .sp .ne 2 .mk .na \fB\fBBSSID\fR\fR .ad .sp .6 .RS 4n Either the hardware address of the \fBWiFi\fR network's Access Point (for \fBBSS\fR networks), or the \fBWiFi\fR network's randomly generated unique token (for \fBIBSS\fR networks). .RE .sp .ne 2 .mk .na \fB\fBSEC\fR\fR .ad .sp .6 .RS 4n Either \fBnone\fR for a \fBWiFi\fR network that uses no security, \fBwep\fR for a \fBWiFi\fR network that requires WEP, or \fBwpa\fR for a WiFi network that requires WPA. .RE .sp .ne 2 .mk .na \fB\fBMODE\fR\fR .ad .sp .6 .RS 4n The supported connection modes: one or more of \fBa\fR, \fBb\fR, \fBg\fR, or \fBn\fR. .RE .sp .ne 2 .mk .na \fB\fBSTRENGTH\fR\fR .ad .sp .6 .RS 4n The connection strength: one of \fBexcellent\fR, \fBvery good\fR, \fBgood\fR, \fBweak\fR, or \fBvery weak\fR. .RE .sp .ne 2 .mk .na \fB\fBSPEED\fR\fR .ad .sp .6 .RS 4n The connection speed, in megabits per second. .RE .sp .ne 2 .mk .na \fB\fBAUTH\fR\fR .ad .sp .6 .RS 4n Either \fBopen\fR or \fBshared\fR (see \fBconnect-wifi\fR). .RE .sp .ne 2 .mk .na \fB\fBBSSTYPE\fR\fR .ad .sp .6 .RS 4n Either \fBbss\fR for \fBBSS\fR (infrastructure) networks, or \fBibss\fR for \fBIBSS\fR (ad-hoc) networks. .RE By default, currently all fields but \fBAUTH\fR, \fBBSSID\fR, \fBBSSTYPE\fR are displayed. .RE .sp .ne 2 .mk .na \fB\fB-p\fR, \fB--parseable\fR\fR .ad .sp .6 .RS 4n Displays using a stable machine-parseable format. The \fB-o\fR option is required with \fB-p\fR. See "Parseable Output Format", below. .RE .sp .ne 2 .mk .na \fB\fB-Z\fR\fR .ad .sp .6 .RS 4n Display \fBZONE\fR column in the output. .RE .sp .ne 2 .mk .na \fB\fB-z\fR \fIzone\fR[,...]\fR .ad .sp .6 .RS 4n See description of \fB-z\fR option under \fBdladm show-link\fR, above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm show-ether\fR [\fB-xZ\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR,...] [\fB-z\fR \fIzone\fR[,...]] [\fB-P\fR \fIprotocol\fR] [\fIether-link\fR]\fR .ad .sp .6 .RS 4n Shows state information either for all physical Ethernet links or for a specified physical Ethernet link. .sp The \fBshow-ether\fR subcommand accepts the following options: .sp .ne 2 .mk .na \fB\fB-o\fR \fIfield\fR,..., \fB--output\fR=\fIfield\fR\fR .ad .sp .6 .RS 4n A case-insensitive, comma-separated list of output fields to display. The field name must be one of the fields listed below, or the special value \fBall\fR to display all fields. For each link, the following fields can be displayed: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the link being displayed. .RE .sp .ne 2 .mk .na \fB\fBPTYPE\fR\fR .ad .sp .6 .RS 4n Parameter type, where \fBcurrent\fR indicates the negotiated state of the link, \fBcapable\fR indicates capabilities supported by the device, \fBadv\fR indicates the advertised capabilities, and \fBpeeradv\fR indicates the capabilities advertised by the link-partner. .RE .sp .ne 2 .mk .na \fB\fBSTATE\fR\fR .ad .sp .6 .RS 4n The physical link state of the datalink. This can be up, down, or unknown. The physical link state identifies whether the physical device has connectivity with the external network (it does, if the cable is plugged in and the state of the port on the other end of the cable is "up"). .RE .sp .ne 2 .mk .na \fB\fBAUTO\fR\fR .ad .sp .6 .RS 4n A \fByes\fR/\fBno\fR value indicating whether auto-negotiation is advertised. .RE .sp .ne 2 .mk .na \fB\fBSPEED-DUPLEX\fR\fR .ad .sp .6 .RS 4n Combinations of speed and duplex values available. The units of speed are encoded with a trailing suffix of \fBG\fR (Gigabits/s) or \fBM\fR (Mb/s). Duplex values are encoded as \fBf\fR (full-duplex) or \fBh\fR (half-duplex). .RE .sp .ne 2 .mk .na \fB\fBPAUSE\fR\fR .ad .sp .6 .RS 4n Flow control information. Can be \fBno\fR, indicating no flow control is available; \fBtx\fR, indicating that the end-point can transmit pause frames, but ignores any received pause frames; \fBrx\fR, indicating that the end-point receives and acts upon received pause frames; or \fBbi\fR, indicating bi-directional flow-control. .RE .sp .ne 2 .mk .na \fB\fBREM_FAULT\fR\fR .ad .sp .6 .RS 4n Fault detection information. Valid values are \fBnone\fR or \fBfault\fR. .RE By default, all fields except \fBREM_FAULT\fR are displayed for the "current" \fBPTYPE\fR. .RE .sp .ne 2 .mk .na \fB\fB-p\fR, \fB--parseable\fR\fR .ad .sp .6 .RS 4n Displays using a stable machine-parseable format. The \fB-o\fR option is required with \fB-p\fR. See "Parseable Output Format", below. .RE .sp .ne 2 .mk .na \fB\fB-P\fR \fIprotocol\fR\fR .ad .sp .6 .RS 4n Displays information about supported Ethernet protocols. Supported protocols include \fBvdp\fR, the VSI Discovery and Configuration protocol, and \fBecp\fR, Edge Control Protocol. .sp VDP information is specific to a VNIC. Thus, if the link argument is a \fBphys-link\fR, VDP information for all of the VNIC over the \fBphys-link\fR is displayed. .sp ECP information is specific to a \fBphys-link\fR. .sp For VDP, following information is displayed: .sp .ne 2 .mk .na \fB\fBVSI\fR\fR .ad .sp .6 .RS 4n The name of the Virtual Station Interface (VSI) or VNIC. .RE .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the physical link over which this VNIC is configured. .RE .sp .ne 2 .mk .na \fB\fBVSI-STATE\fR\fR .ad .sp .6 .RS 4n The state of the VDP protocol state machine for the VNIC. Supported states include \fBASSOC\fR, \fBDEASSOC\fR, or \fBTIMEDOUT\fR. .RE .sp .ne 2 .mk .na \fB\fBVSIID\fR\fR .ad .sp .6 .RS 4n The identifier for the VSI or VNIC. This identifier is used by the bridge to associate properties with VNICs. Supported format for the VSIID is the MAC address. Thus, the VSIID for a VNIC is its MAC address. .RE .sp .ne 2 .mk .na \fB\fBVSI-TYPEID\fR\fR .ad .sp .6 .RS 4n This is VSI Type ID and Version associated with a VNIC and is of the form VSI Type ID/Version. The VSI Type identifies the properties associated with the VNIC. .RE .sp .ne 2 .mk .na \fB\fBCMD-PENDING\fR\fR .ad .sp .6 .RS 4n The VDP command that is currently in progress. Supported commands are: \fBASSOC\fR, \fBDEASSOC\fR. The \fBASSOC\fR command requests the bridge to associate properties with a VSI (identified by the VSIID), whereas the \fBDEASSOC\fR requests the bridge to disassociate the properties from a given VSIID. .RE .sp .ne 2 .mk .na \fB\fBFILTER-INFO\fR\fR .ad .sp .6 .RS 4n The information used by the switch to filter packets for a given VNIC. Supported format for Filter Info includes the MAC/VLAN ID combination. Thus, the \fBFilterInfo\fR for a VNIC is its MAC address and VLAN ID, if any. .RE .sp .ne 2 .mk .na \fB\fBKEEPALIVE-INTERVAL\fR\fR .ad .sp .6 .RS 4n The interval (in seconds) for Keep Alive messages to be transmitted for existing associations. The default is 11.6 secs. .RE .sp .ne 2 .mk .na \fB\fBRESP-TIMEOUT\fR\fR .ad .sp .6 .RS 4n The time (in seconds) to wait for a response from the bridge before timing out a request. .RE For ECP, following information is displayed: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the physical link for the ECP instance. .RE .sp .ne 2 .mk .na \fB\fBMAC-RETRIES\fR\fR .ad .sp .6 .RS 4n The maximum number of transmission retries without receiving an acknowledgement from the peer. .RE .sp .ne 2 .mk .na \fB\fBTIMEOUT\fR\fR .ad .sp .6 .RS 4n The interval of time (in milliseconds) to wait for an acknowledgment from the peer. .RE .RE .sp .ne 2 .mk .na \fB\fB-x\fR, \fB--extended\fR\fR .ad .sp .6 .RS 4n Extended output is displayed for \fBPTYPE\fR values of \fBcurrent\fR, \fBcapable\fR, \fBadv\fR and \fBpeeradv\fR. .RE .sp .ne 2 .mk .na \fB\fB-Z\fR\fR .ad .sp .6 .RS 4n Display \fBZONE\fR column in the output. .RE .sp .ne 2 .mk .na \fB\fB-z\fR \fIzone\fR[,...]\fR .ad .sp .6 .RS 4n See description of \fB-z\fR option under \fBdladm show-link\fR, above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm set-linkprop\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-p\fR \fIprop\fR=\fIvalue\fR[,...] \fIlink\fR\fR .ad .sp .6 .RS 4n Sets the values of one or more properties on the link specified. The list of properties and their possible values depend on the link type, the network device driver, and networking hardware. These properties can be retrieved using \fBshow-linkprop\fR. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the changes are temporary. Temporary changes last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .sp .ne 2 .mk .na \fB\fB-p\fR \fIprop\fR=\fIvalue\fR[,...], \fB--prop\fR \fIprop\fR=\fIvalue\fR[,...]\fR .ad .br .na \fB\fR .ad .sp .6 .RS 4n A comma-separated list of properties to set to the specified values. .RE Note that when the persistent value is set, the temporary value changes to the same value. .RE .sp .ne 2 .mk .na \fB\fBdladm reset-linkprop\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-p\fR \fIprop\fR,...] \fIlink\fR\fR .ad .sp .6 .RS 4n Resets one or more properties to their values on the link specified. Properties are reset to the values they had at startup. If no properties are specified, all properties are reset. See \fBshow-linkprop\fR for a description of properties. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the resets are temporary. Values are reset to default values. Temporary resets last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .sp .ne 2 .mk .na \fB\fB-p\fR \fIprop, ...\fR, \fB--prop\fR=\fIprop, ...\fR\fR .ad .sp .6 .RS 4n A comma-separated list of properties to reset. .RE Note that when the persistent value is reset, the temporary value changes to the same value. .RE .sp .ne 2 .mk .na \fB\fBdladm show-linkprop\fR [\fB-HPZ\fR] [[\fB-c\fR] \fB-o\fR \fIfield\fR[,...]][\fB-p\fR \fIprop\fR[,...]] [\fB-z\fR \fIzone\fR[,...]] [\fIlink\fR]\fR .ad .sp .6 .RS 4n Show the current or persistent values of one or more properties, either for all datalinks or for the specified link. By default, current values are shown. If no properties are specified, all available link properties are displayed. For each property, the following fields are displayed: .sp .ne 2 .mk .na \fB\fB-o\fR \fIfield\fR[,...], \fB--output\fR=\fIfield\fR\fR .ad .sp .6 .RS 4n A case-insensitive, comma-separated list of output fields to display. The field name must be one of the fields listed below, or the special value \fBall\fR to display all fields. For each link, the following fields can be displayed: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the datalink. .RE .sp .ne 2 .mk .na \fB\fBPROPERTY\fR\fR .ad .sp .6 .RS 4n The name of the property. .RE .sp .ne 2 .mk .na \fB\fBPERM\fR\fR .ad .sp .6 .RS 4n The read/write permissions of the property. The value shown is one of \fBro\fR or \fBrw\fR. .RE .sp .ne 2 .mk .na \fB\fBVALUE\fR\fR .ad .sp .6 .RS 4n The current (or persistent) property value. If the value is not set, it is shown as \fB--\fR. If it is unknown, the value is shown as \fB?\fR. Persistent values that are not set or have been reset will be shown as \fB--\fR and will use the system \fBDEFAULT\fR value (if any). .RE .sp .ne 2 .mk .na \fB\fBEFFECTIVE\fR\fR .ad .sp .6 .RS 4n The property value chosen by the system. For some properties the value chosen by the system may not be same as the value configured by the user. This is because the property value is constrained by the resource availability, capabilities of the underlying physical datalink, or in some cases the datalink partner. .RE .sp .ne 2 .mk .na \fB\fBDEFAULT\fR\fR .ad .sp .6 .RS 4n The default value of the property. If the property has no default value, \fB--\fR is shown. .RE .sp .ne 2 .mk .na \fB\fBPOSSIBLE\fR\fR .ad .sp .6 .RS 4n A comma-separated list of the values the property can have. If the values span a numeric range, \fImin\fR - \fImax\fR might be shown as shorthand. If the possible values are unknown or unbounded, \fB--\fR is shown. .RE .sp .ne 2 .mk .na \fB\fBHWPOSSIBLE\fR\fR .ad .sp .6 .RS 4n Shows a value if there is hardware support. This explains that the physical NIC is capable of the property. A value of \fB--\fR means there is no support. .RE .sp .ne 2 .mk .na \fB\fBSWPOSSIBLE\fR\fR .ad .sp .6 .RS 4n Shows a value if there is software support in the networking stack for the property. A value of \fB--\fR means there is no support. .sp For both \fBHWPOSSIBLE\fR and \fBSWPOSSIBLE\fR, any granularity requirement (step value) for the value is shown after the number range followed by a \fB:\fR. Currently, only \fBmaxbw\fR property shows a value for the step value. .RE .sp .ne 2 .mk .na \fB\fBMODE\fR\fR .ad .sp .6 .RS 4n Shows the current mode used for the data link to implement the property. Possible values or \fBsw\fR for software only, \fBhw\fR for hardware only and \fBnone\fR for no support is possible for the link. Note that \fBMODE\fR can be \fBnone\fR even though there is hardware or software support. .RE \fBHWFLAGS\fR and \fBSWFLAGS\fR currently show the flag \fBo\fR for outbound, \fBi\fR for inbound and \fBoi\fR for inbound and outbound. Currently, it shows a value only for the \fBSLA properties\fR, \fBmaxbw\fR, \fBbwshare\fR and \fBpriority\fR. .sp The list of properties depends on the link type and network device driver, and the available values for a given property further depends on the underlying network hardware and its state. General link properties are documented in the "General Link Properties" section. However, link properties that begin with "\fB_\fR" (underbar) are specific to a given link or its underlying network device and subject to change or removal. See the appropriate network device driver man page for details. .RE .sp .ne 2 .mk .na \fB\fB-c\fR, \fB--parseable\fR\fR .ad .sp .6 .RS 4n Display using a stable machine-parseable format. The \fB-o\fR option is required with this option. See "Parseable Output Format", below. .RE .sp .ne 2 .mk .na \fB\fB-H\fR\fR .ad .sp .6 .RS 4n Show-linkprop \fB-H\fR shows information on the underlying physical link capabilities and the networking stack software capabilities for supporting the property. Also, shows which mode is currently used for the data link. .RE .sp .ne 2 .mk .na \fB\fB-P\fR, \fB--persistent\fR\fR .ad .sp .6 .RS 4n Display persistent link property information .RE .sp .ne 2 .mk .na \fB\fB-p\fR \fIprop, ...\fR, \fB--prop\fR=\fIprop, ...\fR\fR .ad .sp .6 .RS 4n A comma-separated list of properties to show. See the sections on link properties following subcommand descriptions. .RE .sp .ne 2 .mk .na \fB\fB-Z\fR\fR .ad .sp .6 .RS 4n Display \fBZONE\fR column in the output. .RE .sp .ne 2 .mk .na \fB\fB-z\fR \fIzone\fR[,...]\fR .ad .sp .6 .RS 4n See description of \fB-z\fR option under \fBdladm show-link\fR, above. .RE .RE .sp .ne 2 .mk .na \fB\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\fR .ad .sp .6 .RS 4n Create a secure object named \fIsecobj\fR in the specified \fIclass\fR to be later used as a WEP or WPA key in connecting to an encrypted network. The value of the secure object can either be provided interactively or read from a file. The sequence of interactive prompts and the file format depends on the class of the secure object. .sp Currently, the classes \fBwep\fR and \fBwpa\fR are supported. The \fBWEP\fR (Wired Equivalent Privacy) key can be either 5 or 13 bytes long. It can be provided either as an \fBASCII\fR or hexadecimal string -- thus, \fB12345\fR and \fB0x3132333435\fR are equivalent 5-byte keys (the \fB0x\fR prefix can be omitted). A file containing a \fBWEP\fR key must consist of a single line using either \fBWEP\fR key format. The WPA (Wi-Fi Protected Access) key must be provided as an ASCII string with a length between 8 and 63 bytes. .sp This subcommand is only usable by users or roles that belong to the "Network Link Security" \fBRBAC\fR profile. .sp .ne 2 .mk .na \fB\fB-c\fR \fIclass\fR, \fB--class\fR=\fIclass\fR\fR .ad .sp .6 .RS 4n \fIclass\fR can be \fBwep\fR or \fBwpa\fR. See preceding discussion. .RE .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the creation is temporary. Temporary creation last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .sp .ne 2 .mk .na \fB\fB-f\fR \fIfile\fR, \fB--file\fR=\fIfile\fR\fR .ad .sp .6 .RS 4n Specifies a file that should be used to obtain the secure object's value. The format of this file depends on the secure object class. See the \fBEXAMPLES\fR section for an example of using this option to set a \fBWEP\fR key. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm delete-secobj\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIsecobj\fR[,...]\fR .ad .sp .6 .RS 4n Delete one or more specified secure objects. This subcommand is only usable by users or roles that belong to the "Network Link Security" \fBRBAC\fR profile. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the deletions are temporary. Temporary deletions last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm show-secobj\fR [\fB-P\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIsecobj\fR,...]\fR .ad .sp .6 .RS 4n Show current or persistent secure object information. If one or more secure objects are specified, then information for each is displayed. Otherwise, all current or persistent secure objects are displayed. .sp By default, current secure objects are displayed, which are all secure objects that have either been persistently created and not temporarily deleted, or temporarily created. .sp For security reasons, it is not possible to show the value of a secure object. .sp .ne 2 .mk .na \fB\fB-o\fR \fIfield\fR[,...] , \fB--output\fR=\fIfield\fR[,...]\fR .ad .sp .6 .RS 4n A case-insensitive, comma-separated list of output fields to display. The field name must be one of the fields listed below. For displayed secure object, the following fields can be shown: .sp .ne 2 .mk .na \fB\fBOBJECT\fR\fR .ad .sp .6 .RS 4n The name of the secure object. .RE .sp .ne 2 .mk .na \fB\fBCLASS\fR\fR .ad .sp .6 .RS 4n The class of the secure object. .RE .RE .sp .ne 2 .mk .na \fB\fB-p\fR, \fB--parseable\fR\fR .ad .sp .6 .RS 4n Display using a stable machine-parseable format. The \fB-o\fR option is required with \fB-p\fR. See "Parseable Output Format", below. .RE .sp .ne 2 .mk .na \fB\fB-P\fR, \fB--persistent\fR\fR .ad .sp .6 .RS 4n Display persistent secure object information .RE .RE .sp .ne 2 .mk .na \fB\fBdladm create-vnic\fR [\fB-t\fR] [\fB-f\fR] \fB-l\fR \fIlink\fR [\fB-R\fR \fIroot-dir\fR] [\fB-m\fR \fIvalue\fR | auto | {factory [\fB-n\fR \fIslot-identifier\fR]} | {vrrp \fB-A\fR {inet | inet6} \fB-V\fR \fIvrid\fR} | {random [\fB-r\fR \fIprefix\fR]}] [\fB-v\fR \fIvlan-id\fR] [\fB-P\fR \fIpkey\fR] [\fB-p\fR prop=value[,...]] \fIvnic-link\fR\fR .ad .sp .6 .RS 4n Create a VNIC with name \fIvnic-link\fR over the specified link. The \fIvnic-link\fR can be specified as zonename/linkname, which will create the VNIC in the given zone's namespace. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the VNIC is temporary. Temporary VNICs last until the next reboot. The \fB-t\fR option must be specified if the VNIC is to be created in a non-global zone's namespace. .RE .sp .ne 2 .mk .na \fB\fB-f\fR, \fB--force\fR\fR .ad .sp .6 .RS 4n If the VNIC is a IPoIB VNIC, force the creation of the VNIC even if \fIpkey\fR is absent on the port, the multicast group is absent, or the port is down. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .sp .ne 2 .mk .na \fB\fB-l\fR \fIlink\fR, \fB--link\fR=\fIlink\fR\fR .ad .sp .6 .RS 4n \fIlink\fR can be a physical link, an \fBetherstub\fR, or an aggregation link (\fIaggr-link\fR). .RE .sp .ne 2 .mk .na \fB\fB-m\fR \fIvalue\fR | \fIkeyword\fR, \fB--mac-address\fR=\fIvalue\fR | \fIkeyword\fR\fR .ad .sp .6 .RS 4n This option only applies to Ethernet VNICs. .sp Sets the VNIC's MAC address based on the specified value or keyword. If \fIvalue\fR is not a keyword, it is interpreted as a unicast MAC address, which must be valid for the underlying NIC. A user-specified MAC address must be drawn from the ranges specified by the Globally Unique and Locally Administered types of MAC addresses. .sp The following special keywords can be used: .sp .ne 2 .mk .na \fBfactory [\fB-n\fR \fIslot-identifier\fR],\fR .ad .br .na \fBfactory [\fB--slot\fR=\fIslot-identifier\fR]\fR .ad .sp .6 .RS 4n Assign a factory MAC address to the VNIC. When a factory MAC address is requested, \fB-m\fR can be combined with the \fB-n\fR option to specify a MAC address slot to be used. If \fB-n\fR is not specified, the system will choose the next available factory MAC address. The \fB-m\fR option of the \fBshow-phys\fR subcommand can be used to display the list of factory MAC addresses, their slot identifiers, and their availability. .RE .sp .ne 2 .mk .na \fB\fR .ad .br .na \fB\fBrandom\fR [\fB-r\fR \fIprefix\fR],\fR .ad .br .na \fBrandom [\fB--mac-prefix\fR=\fIprefix\fR]\fR .ad .sp .6 .RS 4n Assign a random MAC address to the VNIC. A default prefix consisting of a valid IEEE OUI with the local bit set will be used. That prefix can be overridden with the \fB-r\fR option. .RE .sp .ne 2 .mk .na \fB\fBvrrp\fR \fB-A\fR {\fBinet\fR | \fBinet6\fR} \fB-V\fR \fIvrid\fR\fR .ad .sp .6 .RS 4n Assign a VRRP virtual MAC address to the VNIC base on the specified address family and \fIvrid\fR. .RE .sp .ne 2 .mk .na \fB\fBauto\fR\fR .ad .sp .6 .RS 4n Try and use a factory MAC address first. If none is available, assign a random MAC address. \fBauto\fR is the default action if the \fB-m\fR option is not specified. .RE .sp .ne 2 .mk .na \fB\fB-v\fR \fIvlan-id\fR\fR .ad .sp .6 .RS 4n This option only applies to Ethernet VNICs. .sp Enable VLAN tagging for this VNIC. The VLAN tag will have id \fIvlan-id\fR. .LP Note - .sp .RS 2 \fBdladm create-vnic\fR may fail while creating a vNIC over an EoIB (Ethernet-over-Infiniband) data link, if executed right after the Infiniband gateway switch's \fBdisallowhostconfig\fR or \fBallowhostconfig\fR command. The commands restart the bridge manager on the gateway, triggering a series of asynchronous events between the gateway and the host. It takes some time to finalize those events and vNIC creation requests prematurely generated by the host get rejected. .LP To avoid this, wait for after the \fBdisallowhostconfig\fR or \fBallowhostconfig\fR command returns and before executing the \fBcreate-vnic\fR command. .RE .RE .RE .sp .ne 2 .mk .na \fB\fB-P\fR, \fB--pkey=pkey\fR\fR .ad .sp .6 .RS 4n Partition key to be used. This option is mandatory for IPoIB VNICs and not applicable for other type of links. \fIpkey\fR specified is always treated as hexadecimal, whether it has the 0x prefix or not. .RE .sp .ne 2 .mk .na \fB\fB-p\fR \fIprop\fR=\fIvalue\fR,..., \fB--prop\fR \fIprop\fR=\fIvalue\fR,...\fR .ad .sp .6 .RS 4n A comma-separated list of properties to set to the specified values. .RE .RE .sp .ne 2 .mk .na \fB\fR .ad .br .na \fB\fBdladm create-vnic\fR \fB-t\fR \fB-c\fR <\fIevsname\fR>[/<\fIvportname\fR>] [\fB-T\fR <\fItenant\fR>] <\fIvnic-link\fR>\fR .ad .sp .6 .RS 4n .LP Note - .sp .RS 2 You must install Elastic Virtual Switch (EVS) IPS packages to use this form of \fBcreate-vnic\fR, and then configure EVS controller as described in the \fBevsadm\fR(1M) manpage and \fIManaging Network Virtualization and Network Resources in Oracle Solaris 11.3\fR. .RE Creates a VNIC with name \fIvnic-link\fR, by connecting to a EVS \fIevsname\fR at optionally provided Virtual Port (VPort) \fIvportname\fR. If the \fItenantname\fR is provided, then the EVS will be searched in tenant's namespace. If VPort is specified, then the SLA properties (\fBmaxbw\fR, \fBcos\fR, and \fBpriority\fR), IP address, and MAC address of the VPort will be inherited by the VNIC. If Vport is not specified, then the EVS controller will generate a system VPort which will have IP address, MAC address, and default SLA properties of EVS, and then the VNIC will be connected to this system VPort. .sp VNICs when connected to EVS have the following limitiations (in terms of how they can be managed through \fBdladm\fR): .RS +4 .TP .ie t \(bu .el o They cannot be renamed through \fBdladm rename-link\fR .RE .RS +4 .TP .ie t \(bu .el o Their properties cannot be changed by using \fBdladm set-linkrop\fR or \fBdladm reset-linkprop\fR .RE .RS +4 .TP .ie t \(bu .el o They cannot be modified by using \fBdladm modify-vnic\fR .RE For more information on EVS, VPorts, and tenants, see \fBevsadm\fR(1M) manpage. .sp The VNIC created is temporary and will be lost upon next reboot. See EXAMPLES section below for an example usage. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the VNIC is temporary. This is a required option. .RE .sp .ne 2 .mk .na \fB\fB-T\fR <\fItenantname\fR>, \fB--tenant\fR <\fItenantname\fR>\fR .ad .sp .6 .RS 4n Specifies the name of the tenant that owns the EVS. If it is not provided, then the default tenant \fBsys-global\fR will be assumed. .RE .sp .ne 2 .mk .na \fB\fB-c\fR <\fIevsname\fR>[/<\fIvportname\fR>], \fB--connect\fR <\fIevsname\fR>[/\fIvportname\fR]\fR .ad .sp .6 .RS 4n Specifies the name of the EVS to which the VNIC must be connected. If \fIvportname\fR is provided, the the VNIC will be connected to that vport. If a \fIvportname\fR is not provided, then a vport will be automatically generated and assigned to the VNIC. .sp The act of connecting a VNIC to EVS results in either the VNIC inheriting the properties from EVS or a provided vport. .RE .RE .sp .ne 2 .mk .na \fB\fR .ad .br .na \fB\fBdladm modify-vnic\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] [\fB-l\fR \fIlink\fR] [\fB-m\fR \fIvalue\fR | auto | {factory [\fB-n\fR \fIslot-identifier\fR]} | {vrrp \fB-A\fR {inet | inet6} \fB-V\fR \fIvrid\fR} | {random [\fB-r\fR \fIprefix\fR]}] [\fB-v\fR \fIvlan-id\fR] {\fIvnic-link\fR,[\fIvnic-link\fR,...] | \fB-L\fR \fIsource-link\fR}\fR .ad .sp .6 .RS 4n Modifies the underlying link and/or the MAC address/VLAN-ID of the specified VNIC link(s). The VNIC link(s) can be specified as a comma-delimited list or as \fB-L\fR \fIsource-link\fR to indicate "all VNICs on source-link". .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the VNIC modification is temporary. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .sp .ne 2 .mk .na \fB\fB-l\fR \fIlink\fR, \fB-link\fR=\fIlink\fR\fR .ad .sp .6 .RS 4n Specifies the link to which to move the VNIC(s). \fIlink\fR can be of any link type supported by \fBcreate-vnic\fR. \fIlink\fR must be different from the link the VNIC(s) are currently using. If the VNIC(s) are using a factory MAC address and \fB-m\fR is not specified, a new MAC address will be allocated on the target link, using the \fB-m\fR \fIauto\fR scheme, and assigned to the VNIC(s). .RE .sp .ne 2 .mk .na \fB\fB-m\fR \fIvalue\fR | \fIkeyword\fR, \fB--mac-address\fR=\fIvalue\fR | \fIkeyword\fR\fR .ad .sp .6 .RS 4n This option only applies to Ethernet VNICs. .sp See \fBcreate-vnic\fR, above, for supported options. If multiple VNICs are specified, only the \fBauto\fR, \fBrandom\fR, and \fBfactory\fR (without \fB-n\fR) address assignment schemes will be supported. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm delete-vnic\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIvnic-link\fR\fR .ad .sp .6 .RS 4n Deletes the specified VNIC. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the deletion is temporary. Temporary deletions last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm show-vnic\fR [\fB-P\fR | {\fB-z\fR \fIzone\fR[,..]}] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,..]] [\fB-l\fR \fIlink\fR] [\fIvnic-link\fR]\fR .ad .br .na \fB\fBshow-vnic\fR [\fB-Zmv\fR] [\fB-l\fR \fIlink\fR] [\fIvnic-link\fR]\fR .ad .sp .6 .RS 4n Show VNIC configuration information for all VNICs, all VNICs on a link, or only the specified \fIvnic-link\fR. .sp .ne 2 .mk .na \fB\fB-o\fR \fIfield\fR[,...] , \fB--output\fR=\fIfield\fR[,...]\fR .ad .sp .6 .RS 4n A case-insensitive, comma-separated list of output fields to display. The field name must be one of the fields listed below, or the special value \fBall\fR to display all fields. By default (without \fB-o\fR), \fBshow-vnic\fR displays all fields. .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the VNIC. .RE .sp .ne 2 .mk .na \fB\fBOVER\fR\fR .ad .sp .6 .RS 4n The name of the physical link over which this VNIC is configured. .RE .sp .ne 2 .mk .na \fB\fBSPEED\fR\fR .ad .sp .6 .RS 4n The maximum speed of the VNIC, in megabits per second. .RE .sp .ne 2 .mk .na \fB\fBMACADDRESS\fR\fR .ad .sp .6 .RS 4n MAC address of the VNIC. .sp For IPoIB VNICs, by default (without \fB-o\fR), first five bytes of the mac address are shown, and ".." is shown in the sixth byte position. To show the full mac address use the \fB-o\fR option. .RE .sp .ne 2 .mk .na \fB\fBMACADDRESSES\fR\fR .ad .sp .6 .RS 4n If the VNIC is associated with more than one MAC addresses then this column will display all the MAC addresses of a VNIC. .sp For IPoIB VNICs, by default (without \fB-o\fR), first five bytes of the mac address are shown, and ".." is shown in the sixth byte position. To show the full mac address use the \fB-o\fR option. .RE .sp .ne 2 .mk .na \fB\fBMACADDRTYPE\fR\fR .ad .sp .6 .RS 4n MAC address type of the VNIC. \fBdladm\fR distinguishes among the following MAC address types: .sp .ne 2 .mk .na \fB\fBrandom\fR\fR .ad .sp .6 .RS 4n A random address assigned to the VNIC. .RE .sp .ne 2 .mk .na \fB\fBfactory\fR\fR .ad .sp .6 .RS 4n A factory MAC address used by the VNIC. .RE .RE .sp .ne 2 .mk .na \fB\fBMACADDRTYPES\fR\fR .ad .sp .6 .RS 4n If the VNIC is associated with more than one MAC addresses then this column will display the MAC address type for each of the MAC address. .RE .sp .ne 2 .mk .na \fB\fBVID\fR\fR .ad .sp .6 .RS 4n The VLAN ID associated with the VNIC. .RE .sp .ne 2 .mk .na \fB\fBSVID\fR\fR .ad .sp .6 .RS 4n The Secondary VLAN ID associated with the VNIC. .RE .sp .ne 2 .mk .na \fB\fBPVLAN-TYPE\fR\fR .ad .sp .6 .RS 4n The PVLAN type associated with the VNIC. .RE .sp .ne 2 .mk .na \fB\fBVIDS\fR\fR .ad .sp .6 .RS 4n If the VNIC is associated with more than one VLAN ID, then this column will display all the VLAN IDs. .RE .sp .ne 2 .mk .na \fB\fBEVS\fR\fR .ad .sp .6 .RS 4n Name of the EVS to which the VNIC is connected to. .RE .sp .ne 2 .mk .na \fB\fBVPORT\fR\fR .ad .sp .6 .RS 4n Name of the vport to which the VNIC is connected to and inherits the properties from. .RE .sp .ne 2 .mk .na \fB\fBTENANT\fR\fR .ad .sp .6 .RS 4n Name of the tenant that owns the EVS. .RE .sp .ne 2 .mk .na \fB\fBPKEY\fR\fR .ad .sp .6 .RS 4n IB partition key associated with the VNIC. Applicable only to IPoIB datalinks. .RE .sp .ne 2 .mk .na \fB\fBIDS\fR\fR .ad .sp .6 .RS 4n Shows VIDS for ethernet datalinks and PKEY for IPoIB datalinks in the format "VID:" and "PKEY:" respectively. .RE See the \fBcreate-vnic\fR section above for more information on \fBEVS\fR, \fBVPORT\fR, and \fBTENANT\fR. .RE .sp .ne 2 .mk .na \fB\fB-p\fR, \fB--parseable\fR\fR .ad .sp .6 .RS 4n Display using a stable machine-parseable format. The \fB-o\fR option is required with \fB-p\fR. See "Parseable Output Format", below. .RE .sp .ne 2 .mk .na \fB\fB-P\fR, \fB--persistent\fR\fR .ad .sp .6 .RS 4n Display the persistent VNIC configuration. .RE .sp .ne 2 .mk .na \fB\fB-l\fR \fIlink\fR, \fB--link\fR=\fIlink\fR\fR .ad .sp .6 .RS 4n Display information for all VNICs on the named link. .RE .sp .ne 2 .mk .na \fB\fB-Z\fR\fR .ad .sp .6 .RS 4n Display \fBZONE\fR column in the output. .RE .sp .ne 2 .mk .na \fB\fB-V\fR\fR .ad .sp .6 .RS 4n Display SR-IOV information for a VNIC. The output shows: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .RS 15n .rt The name of the VNIC. .RE .sp .ne 2 .mk .na \fB\fBVF_ASSIGNED\fR\fR .ad .RS 15n .rt The name of the VF device instance currently assigned to the VNIC. .RE .RE .sp .ne 2 .mk .na \fB\fB-z\fR \fIzone\fR[,...]\fR .ad .sp .6 .RS 4n See description of \fB-z\fR option under \fBdladm show-link\fR, above. .RE .sp .ne 2 .mk .na \fB\fB-c\fR\fR .ad .sp .6 .RS 4n Display the EVS information for the given vnic. This is a shortcut for the following fields: \fBLINK\fR, \fBTENANT\fR, \fBEVS\fR, \fBVPORT\fR, \fBOVER\fR, \fBMACADDRESS\fR, \fBVIDS\fR. .sp See the \fBcreate-vnic\fR section above for more information. .RE .sp .ne 2 .mk .na \fB\fB-m\fR\fR .ad .sp .6 .RS 4n Display all MAC addresses, MAC address types and VLAN IDs associated with the VNIC. .RE .sp .ne 2 .mk .na \fB\fB-v\fR\fR .ad .sp .6 .RS 4n Display all VLAN information associated with the VNIC. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm create-part\fR [\fB-t\fR] [\fB-f\fR] [\fB-R\fR \fIroot-dir\fR] \fB-l\fR \fIib-link\fR [\fB-p\fR \fIprop\fR=\fIvalue\fR[,..]] \fB-P\fR \fIpkey\fR \fIpart-link\fR\fR .ad .sp .6 .RS 4n Create an IP-over-IB link with the name \fIpart-link\fR over the specified link. This subcommand is supported only on InfiniBand physical links. The \fIpart-link\fR can be specified as zonename/linkname, which will create the partition link in the given zone's namespace. .sp .ne 2 .mk .na \fB\fB-f\fR, \fB--force\fR\fR .ad .sp .6 .RS 4n Forces the creation of the partition link even if \fIpkey\fR is absent on the port, the multicast group is absent, or the port is down. .RE .sp .ne 2 .mk .na \fB\fB-l\fR \fIib-link\fR, \fB--link\fR=\fIib-link\fR\fR .ad .sp .6 .RS 4n IP-over-IB physical link name. .RE .sp .ne 2 .mk .na \fB\fB-P\fR, \fB--pkey\fR=\fIpkey\fR\fR .ad .sp .6 .RS 4n Partition key to be used for creating the partition link. \fIpkey\fR specified is always treated as hexadecimal, whether it has the \fB0x\fR prefix or not. .RE .sp .ne 2 .mk .na \fB\fB-p\fR \fIprop\fR=\fIvalue\fR[,..]\fR .ad .br .na \fB\fB--prop\fR \fIprop\fR=\fIvalue\fR[,..]\fR .ad .sp .6 .RS 4n A comma-separated list of properties to set to the specified values. Supported properties are given "General Link Properties" section below. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the partition link creation is temporary. Temporary partition links last until the next reboot. The \fB-t\fR option must be specified if the partition link is to be created in a non-global zone's namespace. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm delete-part\fR [\fB-R\fR \fIroot-dir\fR] \fIpart-link\fR\fR .ad .sp .6 .RS 4n Delete the specified partition link. .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the partition link deletion is temporary. Temporary deletion last until the next reboot. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm show-part\fR [\fB-pP\fR] [\fB-l\fR \fIib-link\fR] [\fB-o\fR \fIfield\fR[,...]] [\fIpart-link\fR]\fR .ad .sp .6 .RS 4n Displays IB partition link information for all partition links, for all partitions on \fIib-link\fR, or for only the specified \fIpart-link\fR. .sp .ne 2 .mk .na \fB\fB-l\fR \fIib-link\fR, \fB--link\fR=\fIib-link\fR\fR .ad .sp .6 .RS 4n Display information for all the partitions on the named link. .RE .sp .ne 2 .mk .na \fB\fB-o\fR \fIfield\fR[,...]\fR .ad .sp .6 .RS 4n A case-insensitive, comma-separated list of output fields to display. The field name must be one of the fields listed below, or the special value \fBall\fR to display all fields. By default (without \fB-o\fR), \fBshow-part\fR displays all fields. .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the partition link. .RE .sp .ne 2 .mk .na \fB\fBPKEY\fR\fR .ad .sp .6 .RS 4n \fBPkey\fR associated with the partition link. .RE .sp .ne 2 .mk .na \fB\fBOVER\fR\fR .ad .sp .6 .RS 4n The name of the physical link over which this partition link is created. .RE .sp .ne 2 .mk .na \fB\fBSTATE\fR\fR .ad .sp .6 .RS 4n Current state of the partition link. Possible values are \fBup\fR, \fBdown\fR, or \fBunknown\fR. .RE .sp .ne 2 .mk .na \fB\fBFLAGS\fR\fR .ad .sp .6 .RS 4n A set of state flags used for creating the partition link. Possible values are: .sp .ne 2 .mk .na \fB\fBf\fR\fR .ad .RS 5n .rt Partition was created forcibly (without checking whether creating a partition were possible). .RE .sp .ne 2 .mk .na \fB\fBt\fR\fR .ad .RS 5n .rt Partition link is temporary, lasting only until the next reboot. .RE .RE .RE .sp .ne 2 .mk .na \fB\fB-P\fR, \fB--persistent\fR\fR .ad .sp .6 .RS 4n Display the persistent IB partition link configuration. .RE .sp .ne 2 .mk .na \fB\fB-p\fR, \fB--parseable\fR\fR .ad .sp .6 .RS 4n Display using a stable machine-parseable format. The \fB-o\fR option is required with \fB-p\fR. See "Parseable Output Format", below. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm show-ib\fR [\fB-pP\fR] [\fB-o\fR \fIfield\fR[,...]] [\fIib-link\fR]\fR .ad .sp .6 .RS 4n Display IB physical link information on all or the specified IB links. .sp .ne 2 .mk .na \fB\fB-o\fR \fIfield\fR[,...]\fR .ad .sp .6 .RS 4n A case-insensitive, comma-separated list of output fields to display. The field name must be one of the fields listed below, or the special value \fBall\fR to display all fields. By default (without \fB-o\fR), \fBshow-ib\fR displays all fields except \fBHCA\fR, \fBGWID\fR and \fBGWFLAGS\fR. .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the physical link. .RE .sp .ne 2 .mk .na \fB\fBHCA\fR\fR .ad .sp .6 .RS 4n Infiniband Host Channel Adapter (HCA) name as managed by the \fBibadm\fR(1M) utility. .RE .sp .ne 2 .mk .na \fB\fBHCAGUID\fR\fR .ad .sp .6 .RS 4n Globally unique identifier of the HCA. .RE .sp .ne 2 .mk .na \fB\fBPORTGUID\fR\fR .ad .sp .6 .RS 4n Globally unique identifier of the port. If the \fBPORTGUID\fR is not set, it is shown as unknown. For IB SR-IOV virtual adapters, the \fBPORTGUID\fR is set when the link is up. .RE .sp .ne 2 .mk .na \fB\fBPORT\fR\fR .ad .sp .6 .RS 4n Port number. .RE .sp .ne 2 .mk .na \fB\fBSTATE\fR\fR .ad .sp .6 .RS 4n Current state of the physical link. Possible values are \fBup\fR, \fBdown\fR, or \fBunknown\fR. .RE .sp .ne 2 .mk .na \fB\fBGWNAME\fR\fR .ad .sp .6 .RS 4n The configured system name of the IB-Ethernet gateway switch that is discovered from this IB physical link. .RE .sp .ne 2 .mk .na \fB\fBGWPORT\fR\fR .ad .sp .6 .RS 4n The name of the connector associated with the gateway ethernet port. .RE .sp .ne 2 .mk .na \fB\fBGWID\fR\fR .ad .sp .6 .RS 4n The identifier for the gateway instance associated with the displayed gateway ethernet port. The value is expected to be unique even if multiple gateway switches share the same InfiniBand fabric. The value of the gateway instance identifier ranges from 0 to 1023. .RE .sp .ne 2 .mk .na \fB\fBGWFLAGS\fR\fR .ad .sp .6 .RS 4n A set of flags associated with the discovered gateway. Possible flags are: .sp .ne 2 .mk .na \fBa\fR .ad .RS 5n .rt The gateway has indicated its availability for logins from this IB port in its advertisement. .RE .sp .ne 2 .mk .na \fBH\fR .ad .RS 5n .rt The gateway allows host-administered VNICs from this IB port. .RE .sp .ne 2 .mk .na \fBn\fR .ad .RS 5n .rt The gateway has at least one macaddress assigned for the EoIB datalink from this IB port. .RE .RE .sp .ne 2 .mk .na \fB\fBPKEYS\fR\fR .ad .sp .6 .RS 4n \fBPkey\fRs available on the port associated with the IP-over-IB link specified in the \fBLINK\fR field. .RE .RE .sp .ne 2 .mk .na \fB\fB-P\fR, \fB--persistent\fR\fR .ad .sp .6 .RS 4n Display the persistent IB physical link configuration. .RE .sp .ne 2 .mk .na \fB\fB-p\fR, \fB--parseable\fR\fR .ad .sp .6 .RS 4n Display using a stable machine-parseable format. The \fB-o\fR option is required with \fB-p\fR. See "Parseable Output Format", below. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm create-eoib\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-l\fR \fIib-link\fR \fB-g\fR \fIgw-system-name\fR \fB-c\fR \fIgw-eth-port\fR \fIeoib-link\fR\fR .ad .sp .6 .RS 4n Create an EoIB link with the name eoib-link over the specified link. This subcommand is supported only on InfiniBand physical links. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB-\(emtemporary\fR\fR .ad .sp .6 .RS 4n Specifies that the EoIB link creation is temporary. Temporary links will last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir=root-dir\fR\fR .ad .sp .6 .RS 4n See "Options" above. .RE .sp .ne 2 .mk .na \fB\fB-l\fR \fIib-link\fR,\fB--link=ib-link\fR\fR .ad .sp .6 .RS 4n InfiniBand physical link name. .RE .sp .ne 2 .mk .na \fB\fB-g\fR \fIgw-system-name\fR\fR .ad .sp .6 .RS 4n Specifies the system name of the IB-Ethernet gateway switch. .RE .sp .ne 2 .mk .na \fB\fB-c\fR \fIgw-eth-port\fR\fR .ad .sp .6 .RS 4n Specifies the name of the connector associated with the gateway switch's ethernet port. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm delete-eoib\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIeoib-link\fR\fR .ad .sp .6 .RS 4n Delete the specified EoIB link. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB-\(emtemporary\fR\fR .ad .sp .6 .RS 4n Specifies that the EoIB link creation is temporary. Temporary links will last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir=root-dir\fR\fR .ad .sp .6 .RS 4n See "Options" above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm show-eoib\fR [\fB-PZ\fR] [\fB-g\fR \fIgw-system-name\fR] [\fB-l\fR \fIib-link\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fB-z\fR \fIzone\fR[,...]] [\fIeoib-link\fR]\fR .ad .sp .6 .RS 4n Displays information about all the EoIB datalinks on the system, EoIB datalinks over a specific ib-link and/or a \fIgw-system-name\fR, or information about a specific EoIB datalink. .sp .ne 2 .mk .na \fB\fB-P\fR, \fB--persistent\fR\fR .ad .RS 21n .rt Display the persistent EoIB link configuration. .RE .sp .ne 2 .mk .na \fB\fB-Z\fR\fR .ad .RS 21n .rt Display ZONE column in the output. .RE .sp .ne 2 .mk .na \fB\fB-g\fR \fIgw-system-name\fR\fR .ad .RS 21n .rt Display information about EoIB datalinks bound to ethernet ports on the specified gateway. .RE .sp .ne 2 .mk .na \fB\fB-l\fR \fIib-link\fR\fR .ad .RS 21n .rt Display information about EoIB datalinks built over the specified IB link. .RE .sp .ne 2 .mk .na \fB\fB-o\fR \fIfield\fR[,...]\fR .ad .RS 21n .rt A case-insensitive, comma-separated list of output fields to display. The field name must be one of the fields listed below, or the special value all to display all fields. By default (without \fB-o\fR option) \fBshow-eoib\fR displays all fields. .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .RS 14n .rt The name of the EoIB datalink. .RE .sp .ne 2 .mk .na \fB\fBGWNAME\fR\fR .ad .RS 14n .rt The configured system name of the IB-Ethernet gateway switch. For persistent links, if the gateway system name is unknown (because the link is being migrated from the old administration model) and if the gateway corresponding to the GWID of the link is not discovered yet, the value is shown as \fB?\fR. .RE .sp .ne 2 .mk .na \fB\fBGWPORT\fR\fR .ad .RS 14n .rt The name of the connector associated with the gateway ethernet port. For persistent links, if the gateway system name is unknown (because the link is being migrated from the old model of administration) and if the gateway corresponding to the \fBGWID\fR of the link is not discovered yet, the value is shown as \fB?\fR. .RE .sp .ne 2 .mk .na \fB\fBGWID\fR\fR .ad .RS 14n .rt The identifier for the gateway instance associated with the displayed gateway ethernet port. The value is expected to be unique even if multiple gateway switches share the same InfiniBand fabric. The value of the gateway instance identifier ranges from 0 to 1023. If the gateway has not been discovered yet, the value is shown as \fB--\fR. .RE .sp .ne 2 .mk .na \fB\fBSPEED\fR\fR .ad .RS 14n .rt The maximum speed of the link, in megabits per second. .RE .sp .ne 2 .mk .na \fB\fBMACADDRESS\fR\fR .ad .RS 14n .rt MAC address assigned for the EoIB link on the gateway. If the underlying connection to the gateway has not been established yet, the \fBmacaddress\fR is shown as all zeros. .RE .sp .ne 2 .mk .na \fB\fBOVER\fR\fR .ad .RS 14n .rt The name of the IB physical link over which this EoIB datalink is created. .RE .sp .ne 2 .mk .na \fB\fBFLAGS\fR\fR .ad .RS 14n .rt A set of flags associated with the EoIB link. In addition to the flags listed earlier under \fBshow-ib\fR description, two additional flag values are possible: .sp .ne 2 .mk .na \fB\fBD\fR\fR .ad .RS 5n .rt The ethernet port associated with the link is currently DOWN. .RE .sp .ne 2 .mk .na \fB\fBU\fR\fR .ad .RS 5n .rt The ethernet port associated with the link is currently UP. .RE .RE .RE .sp .ne 2 .mk .na \fB\fB-p\fR, \fB--parseable\fR\fR .ad .RS 21n .rt Display using a stable machine-parseable format. The \fB-o\fR option is required with \fB-p\fR. See "Parseable Output Format" below. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm create-etherstub\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIetherstub\fR\fR .ad .sp .6 .RS 4n Create an etherstub with the specified name. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the etherstub is temporary. Temporary etherstubs do not persist across reboots. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE VNICs can be created on top of etherstubs instead of physical NICs. As with physical NICs, such a creation causes the stack to implicitly create a virtual switch between the VNICs created on top of the same etherstub. .RE .sp .ne 2 .mk .na \fB\fR .ad .br .na \fB\fBdladm delete-etherstub\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIetherstub\fR\fR .ad .sp .6 .RS 4n Delete the specified etherstub. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the deletion is temporary. Temporary deletions last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm show-etherstub\fR [\fB-Z\fR] [\fB-z\fR \fIzone\fR[,...]] [\fIetherstub\fR]\fR .ad .sp .6 .RS 4n Show all configured etherstubs by default, or the specified etherstub if \fIetherstub\fR is specified. .sp .ne 2 .mk .na \fB\fB-Z\fR\fR .ad .sp .6 .RS 4n Display \fBZONE\fR column in the output. .RE .sp .ne 2 .mk .na \fB\fB-z\fR \fIzone\fR[,...]\fR .ad .sp .6 .RS 4n See description of \fB-z\fR option under \fBdladm show-link\fR, above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm create-iptun\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-T\fR \fItype\fR [\fB-a\fR {\fBlocal\fR|\fBremote\fR}=\fIaddr\fR,...] \fIiptun-link\fR\fR .ad .sp .6 .RS 4n Create an IP tunnel link named \fIiptun-link\fR. Such links can additionally be protected with IPsec using \fBipsecconf\fR(1M). .sp An IP tunnel is conceptually comprised of two parts: a virtual link between two or more IP nodes, and an IP interface above this link that allows the system to transmit and receive IP packets encapsulated by the underlying link. This subcommand creates a virtual link. The \fBipadm\fR(1M) command is used to configure IP interfaces above the link. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the IP tunnel link is temporary. Temporary tunnels last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .sp .ne 2 .mk .na \fB\fB-T\fR \fItype\fR, \fB--tunnel-type\fR=\fItype\fR\fR .ad .sp .6 .RS 4n Specifies the type of tunnel to be created. The type must be one of the following: .sp .ne 2 .mk .na \fB\fBipv4\fR\fR .ad .sp .6 .RS 4n A point-to-point, IP-over-IP tunnel between two IPv4 nodes. This type of tunnel requires IPv4 source and destination addresses to function. IPv4 and IPv6 interfaces can be plumbed above such a tunnel to create IPv4-over-IPv4 and IPv6-over-IPv4 tunneling configurations. .RE .sp .ne 2 .mk .na \fB\fBipv6\fR\fR .ad .sp .6 .RS 4n A point-to-point, IP-over-IP tunnel between two IPv6 nodes as defined in IETF RFC 2473. This type of tunnel requires IPv6 source and destination addresses to function. IPv4 and IPv6 interfaces can be plumbed above such a tunnel to create IPv4-over-IPv6 and IPv6-over-IPv6 tunneling configurations. .RE .sp .ne 2 .mk .na \fB\fB6to4\fR\fR .ad .sp .6 .RS 4n A 6to4, point-to-multipoint tunnel as defined in IETF RFC 3056. This type of tunnel requires an IPv4 source address to function. An IPv6 interface is plumbed on such a tunnel link to configure a 6to4 router. .RE .RE .sp .ne 2 .mk .na \fB\fB-a\fR {\fBlocal\fR|\fBremote\fR}=\fIaddr\fR,...\fR .ad .br .na \fB\fB--address\fR {\fBlocal\fR|\fBremote\fR}=\fIaddr\fR,...\fR .ad .sp .6 .RS 4n Literal IP addresses or hostnames corresponding to the local or remote tunnel addresses. Either local or remote can be specified individually, or both can be specified separated by a comma (for example, \fB-a\fR \fBlocal=\fR\fIladdr\fR\fB,remote=\fR\fIraddr\fR). .RE .RE .sp .ne 2 .mk .na \fB\fBdladm modify-iptun\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-a\fR {\fBlocal\fR|\fBremote\fR}=\fIaddr\fR,... \fIiptun-link\fR\fR .ad .sp .6 .RS 4n Modify the parameters of the specified IP tunnel. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the modification is temporary. Temporary modifications last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .sp .ne 2 .mk .na \fB\fR .ad .br .na \fB\fR .ad .br .na \fB\fB-a\fR {\fBlocal\fR|\fBremote\fR}=\fIaddr\fR,...\fR .ad .br .na \fB\fB--address\fR {\fBlocal\fR|\fBremote\fR}=\fIaddr\fR,...\fR .ad .sp .6 .RS 4n Specify new local or remote addresses for the tunnel link. See \fBcreate-iptun\fR for a description. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm delete-iptun\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIiptun-link\fR\fR .ad .sp .6 .RS 4n Delete the specified IP tunnel link. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the deletion is temporary. Temporary deletions last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm show-iptun\fR [\fB-PZ\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fB-z\fR \fIzone\fR[,...]] [\fIiptun-link\fR]\fR .ad .sp .6 .RS 4n Show IP tunnel link configuration for a single IP tunnel or all IP tunnels. .sp .ne 2 .mk .na \fB\fB-P\fR, \fB--persistent\fR\fR .ad .sp .6 .RS 4n Display the persistent IP tunnel configuration. .RE .sp .ne 2 .mk .na \fB\fB-p\fR, \fB--parseable\fR\fR .ad .sp .6 .RS 4n Display using a stable machine-parseable format. The -o option is required with -p. See "Parseable Output Format", below. .RE .sp .ne 2 .mk .na \fB\fB-o\fR \fIfield\fR[,...], \fB--output\fR=\fIfield\fR[,...]\fR .ad .sp .6 .RS 4n A case-insensitive, comma-separated list of output fields to display. The field name must be one of the fields listed below, or the special value \fBall\fR, to display all fields. By default (without \fB-o\fR), \fBshow-iptun\fR displays all fields. .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .sp .6 .RS 4n The name of the IP tunnel link. .RE .sp .ne 2 .mk .na \fB\fBTYPE\fR\fR .ad .sp .6 .RS 4n Type of tunnel as specified by the \fB-T\fR option of \fBcreate-iptun\fR. .RE .sp .ne 2 .mk .na \fB\fBFLAGS\fR\fR .ad .sp .6 .RS 4n A set of flags associated with the IP tunnel link. Possible flags are: .sp .ne 2 .mk .na \fB\fBs\fR\fR .ad .sp .6 .RS 4n The IP tunnel link is protected by IPsec policy. To display the IPsec policy associated with the tunnel link, enter: .sp .in +2 .nf # \fBipsecconf -ln -i \fItunnel-link\fR\fR .fi .in -2 .sp See \fBipsecconf\fR(1M) for more details on how to configure IPsec policy. .RE .sp .ne 2 .mk .na \fB\fBi\fR\fR .ad .sp .6 .RS 4n The IP tunnel link was implicitly created with \fBipadm\fR(1M), and will be automatically deleted when it is no longer referenced (that is, when the last IP interface over the tunnel is removed). See \fBipadm\fR(1M) for details on implicit tunnel creation. .RE .RE .sp .ne 2 .mk .na \fB\fBLOCAL\fR\fR .ad .sp .6 .RS 4n The local tunnel address. .RE .sp .ne 2 .mk .na \fB\fBREMOTE\fR\fR .ad .sp .6 .RS 4n The remote tunnel address. .RE .RE .sp .ne 2 .mk .na \fB\fB-Z\fR\fR .ad .sp .6 .RS 4n Display \fBZONE\fR column in the output. .RE .sp .ne 2 .mk .na \fB\fB-z\fR \fIzone\fR[,...]\fR .ad .sp .6 .RS 4n See description of \fB-z\fR option under \fBdladm show-link\fR, above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm create-vxlan\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fB-p\fR \fIvni\fR=<\fIvxlan id\fR>[,\fIprop=value\fR[,...] ] \fIvxlan-link\fR\fR .ad .sp .6 .RS 4n Creates a VXLAN link called \fBvxlan-link\fR. A VXLAN link is a virtual link that is created over an IP interface, which will be used for receiving and transmitting VXLAN packets. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the modification is temporary. Temporary modifications last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .sp .ne 2 .mk .na \fB\fB-p\fR \fIprop\fR=\fIvalue\fR[,...]\fR .ad .sp .6 .RS 4n The properties of the VXLAN link to be created. See "General Link Properties" for VXLAN related properties. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm delete-vxlan\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIvxlan-link\fR\fR .ad .sp .6 .RS 4n Deletes the specified VXLAN link. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the modification is temporary. Temporary modifications last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options," above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm show-vxlan\fR [\fB-P\fR] [[\fB-p\fR] \fB-o\fR \fIfield\fR[,...]] [\fIvxlan-link\fR]\fR .ad .sp .6 .RS 4n Displays VXLAN configuration for all VXLAN links or for the specified VXLAN link. .sp The \fBshow-vxlan\fR subcommand accepts the following options: .sp .ne 2 .mk .na \fB\fB-P\fR, \fB--persistent\fR\fR .ad .sp .6 .RS 4n Displays the persistent IP tunnel configuration. .RE .sp .ne 2 .mk .na \fB\fB-p\fR, \fB--parseable\fR\fR .ad .sp .6 .RS 4n Displays using a stable machine-parseable format. The \fB-o\fR option is required with \fB-p\fR option. See "Parseable Output Format", below. .RE .sp .ne 2 .mk .na \fB\fB-o\fR \fIfield\fR[,...], \fB--output\fR=\fIfield\fR[,...]\fR .ad .sp .6 .RS 4n A case-insensitive, comma-separated list of output fields to display. The field name must be one of the fields listed below, or the special value all, to display all fields. For each VXLAN link, the following fields can be displayed: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .RS 10n .rt The name of the VXLAN link. .RE .sp .ne 2 .mk .na \fB\fBADDR\fR\fR .ad .RS 10n .rt The address of the IP interface associated with the VXLAN link. .RE .sp .ne 2 .mk .na \fB\fBVNI\fR\fR .ad .RS 10n .rt The VXLAN segment number that the VXLAN link belongs to. .RE .sp .ne 2 .mk .na \fB\fBMGROUP\fR\fR .ad .RS 10n .rt The multicast group associated with the VXLAN link. .RE .RE .RE .sp .ne 2 .mk .na \fB\fBdladm create-cap\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIcap-link\fR\fR .ad .sp .6 .RS 4n Creates a capture datalink with name cap-link. The cap-link must be unique in given zone namespace, where dladm command is running. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the capture datalink is temporary. Temporary capture last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options" above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm delete-cap\fR [\fB-t\fR] [\fB-R\fR \fIroot-dir\fR] \fIcap-link\fR\fR .ad .sp .6 .RS 4n Deletes the specified capture datalink. .sp .ne 2 .mk .na \fB\fB-t\fR, \fB--temporary\fR\fR .ad .sp .6 .RS 4n Specifies that the deletion is temporary. Temporary deletions last until the next reboot. .RE .sp .ne 2 .mk .na \fB\fB-R\fR \fIroot-dir\fR, \fB--root-dir\fR=\fIroot-dir\fR\fR .ad .sp .6 .RS 4n See "Options" above. .RE .RE .sp .ne 2 .mk .na \fB\fBdladm show-cap\fR [\fB-P\fR] [[\fB-p\fR] \fB-o\fR <\fIfield\fR>,...] [\fIcap-link\fR] \fR .ad .sp .6 .RS 4n Shows all/individual cap-link capture interface(s) bound to the zone, where dladm command is running. .sp .ne 2 .mk .na \fB\fB-P\fR, \fB--persistent\fR\fR .ad .sp .6 .RS 4n Show persistent datalink configuration. .RE .sp .ne 2 .mk .na \fB\fB-p\fR, \fB--parseable\fR\fR .ad .sp .6 .RS 4n Displays using a stable machine-parseable format. The \fB-o\fR option is required with \fB-p\fR option. See "Parseable Output Format" below. .RE .sp .ne 2 .mk .na \fB-o field[,...], --output=field[,...]\fR .ad .sp .6 .RS 4n A case-insensitive, comma-separated list of output fields to display. The field name must be one of the fields listed below, or the special value \fBall\fR, to display all fields. For each capture link, the following fields can be displayed: .sp .ne 2 .mk .na \fB\fBLINK\fR\fR .ad .RS 8n .rt The name of the capture link. .RE .sp .ne 2 .mk .na \fB\fBZONE\fR\fR .ad .RS 8n .rt The current zone of the datalink. .RE .sp .ne 2 .mk .na \fB\fBTYPE\fR\fR .ad .RS 8n .rt Datalink type, currently \fBpflog\fR link type is the only type supported. .RE .sp .ne 2 .mk .na \fBMTU\fR .ad .RS 8n .rt Link mtu. .RE .RE .RE .sp .ne 2 .mk .na \fB\fBhelp\fR [\fIsubcommand-name\fR]\fR .ad .sp .6 .RS 4n Displays all the supported \fBdladm\fR subcommands or usage for a given subcommand. If you invoke help for a specific subcommand, the command syntax is displayed, along with an example. Using \fBdladm\fR help without any argument displays all of the subcommands. .RE .SS "Parseable Output Format" .sp .LP Many \fBdladm\fR subcommands have an option that displays output in a machine-parseable format. The output format is one or more lines of colon (\fB:\fR) delimited fields. The fields displayed are specific to the subcommand used and are listed under the entry for the \fB-o\fR option for a given subcommand. Output includes only those fields requested by means of the \fB-o\fR option, in the order requested. .sp .LP When you request multiple fields, any literal colon characters are escaped by a backslash (\fB\e\fR) before being output. Similarly, literal backslash characters will also be escaped (\fB\e\e\fR). This escape format is parseable by using shell \fBread\fR(1) functions with the environment variable \fBIFS=:\fR (see \fBEXAMPLES\fR, below). Note that escaping is not done when you request only a single field. .SS "General Link Properties" .sp .LP The following general link properties are supported: .sp .ne 2 .mk .na \fB\fBaddr\fR\fR .ad .sp .6 .RS 4n Applicable only for VXLAN links. This property specifies the IP address, IPv4 or IPv6, that hosts a VXLAN link. A \fBprefixlen\fR may be specified as part of the IPv4 or IPv6 address. A hostname may be provided instead of an IP address. If a hostname is provided, its numeric value is obtained from the entry in \fB/etc/hosts\fR or the resolver specified for hosts or ipnodes in \fBnsswitch.conf\fR(4). As IP addresses are created before naming services have been brought online during boot process, it is important that any hostname used be included in \fB/etc/hosts\fR. This property cannot be specified if the VXLAN link is also configured with interface property. This property can be set only when creating a VXLAN link and cannot be modified thereafter. This property may change in the future. .RE .sp .ne 2 .mk .na \fB\fBautopush\fR\fR .ad .sp .6 .RS 4n Specifies the set of STREAMS modules to push on the stream associated with a link when its DLPI device is opened. It is a space-delimited list of modules. .sp The optional special character sequence \fB[anchor]\fR indicates that a STREAMS anchor should be placed on the stream at the module previously specified in the list. It is an error to specify more than one anchor or to have an anchor first in the list. .sp The \fBautopush\fR property is preferred over the more general \fBautopush\fR(1M) command. .RE .sp .ne 2 .mk .na \fB\fBcos\fR\fR .ad .sp .6 .RS 4n The 802.1p priority associated with the link. This property, when set, indicates the 802.1p priority on outbound packets on the link. The values range from 0 to 7. When this property is set, all the packets outbound on the link will have a VLAN tag with the priority field set to the property value. When this property is set on a physical NIC, only traffic for the primary client on that physical NIC will have priority set and not any other datalinks on the NIC. This property is only valid on Ethernet data link. The default cos is 0 for VLAN data links or when the underlying device registers DCB capabilities, otherwise the default is not to add a VLAN tag. .RE .sp .ne 2 .mk .na \fB\fBcpus\fR\fR .ad .sp .6 .RS 4n Bind the processing of packets for a given data link to a processor or a set of processors. The value can be a comma-separated list of one or more processor ids or a range of ids. If the list consists of more than one processor, the processing will spread out to all the processors. Connection to processor affinity and packet ordering for any individual connection will be maintained. .sp The processor or set of processors are not exclusively reserved for the link. Only the kernel threads and interrupts associated with processing of the link are bound to the processor or the set of processors specified. In case it is desired that processors be dedicated to the link, \fBpsrset\fR(1M) can be used to create a processor set and then specifying the processors from the processor set to bind the link to. .sp If the link was already bound to processor or set of processors due to a previous operation, the binding will be removed and the new set of processors will be used instead. .sp The default is no CPU binding, which is to say that the processing of packets is not bound to any specific processor or processor set. .sp Specification of the \fBcpus\fR property is not allowed on links with a \fBpool\fR link property. .sp The effective value of \fBcpus\fR property displays the list of CPUs used for packet processing on the named data link. If the \fBcpus\fR property has been set, the effective value will be the same as the set value. If the pool property has been set, effective value will be selected from the pool designated by the administrator. If neither the pool nor \fBcpus\fR property is set, the system will select the effective value for \fBcpus\fR property. .RE .sp .ne 2 .mk .na \fB\fBetsbw-lcl\fR\fR .ad .sp .6 .RS 4n This indicates the ETS bandwidth configured on the TX side for a link. This property can be configured on a data link only if the underlying physical NIC registers DCB capability and supports ETS. The value is a percentage of the physical NIC's bandwidth and the sum of values of this property over all links on a physical NIC cannot exceed 100. Aggregation of physical NIC that register DCB capabilities is not supported currently, hence this property cannot be set on aggregations. The effective value for this property could be the \fBetsbw-lcl\fR or \fBetsbw-lcl-advice\fR depending on LLDP negotiations. .RE .sp .ne 2 .mk .na \fB\fBetsbw-lcl-advice\fR\fR .ad .sp .6 .RS 4n This indicates the ETS bandwidth (as a percentage) recommended by the remote end for this link. The value is obtained by means of LLDP. .RE .sp .ne 2 .mk .na \fB\fBetsbw-rmt\fR\fR .ad .sp .6 .RS 4n This indicates the ETS bandwidth (in percentage) that is on the remote end for this link. The value is obtained by means of LLDP. .RE .sp .ne 2 .mk .na \fB\fBetsbw-rmt-advice\fR\fR .ad .sp .6 .RS 4n This indicates the ETS bandwidth (as a percentage) recommended to the remote end for this link. This value is used by LLDP. .RE .sp .ne 2 .mk .na \fB\fBinterface\fR\fR .ad .sp .6 .RS 4n Applicable only for VXLAN links. This property specifies the underlying IP interface for a VXLAN link. The VXLAN will be created using an IP address that is available on the specified interface. By default an IPv4 address will be selected for the VXLAN link which can be changed using the ipvers property. This property can be set only when creating a VXLAN link and cannot be modified thereafter. This property may change in the future. .RE .sp .ne 2 .mk .na \fB\fBipvers\fR\fR .ad .sp .6 .RS 4n Applicable only to VXLAN datalinks. This property indicates whether an IPv4 or IPv6 address should be selected on an IP interface, specified using interface property, for a VXLAN link. This property can be set only when creating a VXLAN link and cannot be modified thereafter. This property may change in the future. .RE .sp .ne 2 .mk .na \fB\fBrxfanout\fR\fR .ad .sp .6 .RS 4n Allows you to specify the number of receive-side fanout threads. .sp Traffic received on a receive ring can be fanned out across multiple threads and processed in parallel. This is particularly useful when the system has large number of CPUs. This property is a count for the number of receive-side fanout threads for a particular datalink. Note that this property lets an administrator specify the desired \fBrxfanout\fR. However, based on the number of available CPUs and hardware RX rings, the system might choose a different (smaller or even higher) value for fanout. The number of CPUs is the upper bound on the receive side fanout while the number of \fBrxrings\fR is the lower bound. Thus, the actual receive-side fanout count can have a value different from the one set by the user. .RE .sp .ne 2 .mk .na \fB\fBlearn_limit\fR\fR .ad .sp .6 .RS 4n Limits the number of new or changed MAC sources to be learned over a bridge link. When the number exceeds this value, learning on that link is temporarily disabled. Only non-VLAN, non-VNIC type links have this property. .sp The default value is \fB1000\fR. Valid values are greater or equal to 0. .RE .sp .ne 2 .mk .na \fB\fBlearn_decay\fR\fR .ad .sp .6 .RS 4n Specifies the decay rate for source changes limited by \fBlearn_limit\fR. This number is subtracted from the counter for a bridge link every 5 seconds. Only non-VLAN, non-VNIC type links have this property. .sp The default value is \fB200\fR. Valid values are greater or equal to 0. .RE .sp .ne 2 .mk .na \fB\fBlro\fR\fR .ad .sp .6 .RS 4n Specifies the user's disposition of turning LRO on or off or using system default LRO value on a data link. .sp Valid values are off, on, or auto. The default value is auto. The value auto is set to off for physical NICs while it inherits the lower link's lro disposition for virtual NICs. .RE .sp .ne 2 .mk .na \fB\fBmac-address\fR\fR .ad .sp .6 .RS 4n Sets the primary MAC address for the data link. When set, changes the primary MAC address used by all current and future MAC clients of the underlying data link. .LP Note - .sp .RS 2 The system might not turn LRO on if it determines it is unsafe to do so. For instance, if IP is forwarding traffic using a data link, then the system would deem it unsafe to turn on LRO for that data link. So the effective value will be different from the configured value in such cases. .RE .RE .sp .ne 2 .mk .na \fB\fBmaxbw\fR\fR .ad .sp .6 .RS 4n Sets the full duplex bandwidth for the link. The bandwidth is specified as an integer with one of the scale suffixes (\fBK\fR, \fBM\fR, or \fBG\fR for Kbps, Mbps, and Gbps). If no units are specified, the input value will be read as Mbps. The default is no bandwidth limit. .RE .sp .ne 2 .mk .na \fB\fBbwshare\fR\fR .ad .sp .6 .RS 4n Bandwidth share for a VNIC is the minimum share of the bandwidth the VNIC will get when there is competition from other VNICs on the same data link. Note that the bandwidth is allocated among all the active VNICs. The amount of allocation is proportional to their share. For example, .sp .in +2 .nf # \fBdladm set-linkprop -p bwshare=40 vnic1\fR # \fBdladm set-linkprop -p bwshare=10 vnic2\fR .fi .in -2 .sp Assuming a 1Gbps link and assuming these two are the only VNICs, \fBvnic1\fR can have up to 800 Mbps (1Gbps * 40/(40+10)) and \fBvnic2\fR can have up to 200 Mbps (1Gbps * 10/(40+10)). .sp The above example assumes both the VNICs have traffic to consume their share of the bandwidth. However, if \fBvnic1\fR consumes only 100 Mbps, then \fBvnic2\fR can go up to 900 Mbps. The goal with bandwidth shares is no wasted bandwidth when there is a VNIC that can use it while assuring the allocated share when there is competition from other VNICs. .sp This property is currently supported only on certain NICs. \fBdladm show-linkprop -H -p bwshare\fR command can be used to determine if \fBbwshare\fR property is supported on a given link. The value can range from 1 to 100. The value is a relative share value and does not indicate a percentage of the bandwidth. The effective value is printed as a percentage of the physical link bandwidth. This is the minimum % of the bandwidth assured to the VNIC when there is competition. The effective value can keep changing depending on the other VNICs on the link. .RE .sp .ne 2 .mk .na \fB\fBmgroup\fR\fR .ad .sp .6 .RS 4n Applicable only to VXLAN datalinks. This property indicates the multicast group a VXLAN link subscribes to. The VXLAN link will use this address to discover other VXLAN links on the same VXLAN segment. If this property is not set, the default all-host address will be used by the VXLAN link. This property can be set only when creating a VXLAN link and cannot be modified thereafter. This property may change in the future. .RE .sp .ne 2 .mk .na \fB\fBpool\fR\fR .ad .sp .6 .RS 4n Bind the processing of packets for a given data link to a pool of processors defined and administered by \fBpoolcfg\fR(1M) and \fBpooladm\fR(1M). The binding of processes is similar to what occurs with the \fBcpus\fR link property, except that the list of CPUs is not explicit and is instead maintained by the pools facility. .sp If pools are enabled, and no pool is specified for the link, \fBpool_default\fR will be used for packet processing. .sp For zones with \fBip-type=exclusive\fR, if a pool is specified through a pool zone property or \fBdedicated-cpus\fR allocation, that pool will also be used for all data links associated with the zone. .sp Specification of the \fBpool\fR property is not allowed on links with a \fBcpus\fR link property. .sp If the pools facility has been enabled, and if the administrator has not assigned a pool to a data link, then the effective value of pool will be \fBpool_default\fR. .sp If the pools facility is disabled, there is no effective pool and the value will be empty. .RE .sp .ne 2 .mk .na \fB\fBpriority\fR\fR .ad .sp .6 .RS 4n Sets the relative priority for the link. The value can be given as one of the tokens \fBhigh\fR, \fBmedium\fR, or \fBlow\fR. The default is \fBmedium\fR. This priority is not reflected in any protocol priority fields on the wire, but used for packet processing scheduling within the system. A high priority link offers a better latency depending on the availability of system resources. Setting this property can cause CPU utilization to go up for some workloads. .RE .sp .ne 2 .mk .na \fB\fBrxringsavail\fR\fR .ad .sp .6 .RS 4n A read-only property that specifies the number of rings available on the receive side. .RE .sp .ne 2 .mk .na \fB\fBrxrings\fR\fR .ad .sp .6 .RS 4n Specifies the number of receive rings side for the MAC client. A value of \fBsw\fR means this MAC client should not be assigned any RX ring and will be software-based. A value of \fBhw\fR means this MAC client can get one RX ring, if available, or will be software-based. A non-zero value means reserve that many rings for this MAC client, if available, and fail if not. If this property is not specified, the MAC client can get one RX ring, if available, or will be software-based. .RE .sp .ne 2 .mk .na \fB\fBrxhwclntavail\fR\fR .ad .sp .6 .RS 4n A read-only property that specifies the number of additional RX hardware-based MAC clients that can be created. .RE .sp .ne 2 .mk .na \fB\fBtxringsavail\fR\fR .ad .sp .6 .RS 4n A read-only property that specifies the number of rings available on the transmit side. .RE .sp .ne 2 .mk .na \fB\fBtxrings\fR\fR .ad .sp .6 .RS 4n Specifies the number of transmit rings for the MAC client. A value of \fBsw\fR means this MAC client should not be assigned any TX ring. A value of \fBhw\fR means this MAC client can get one TX ring, if available, or will be software-based. A non-zero value means reserve that many rings for this MAC client, if available, and fail if not. If this property is not specified, the MAC client can get one TX ring, if available, or will be software-based. .RE .sp .ne 2 .mk .na \fB\fBtxhwclntavail\fR\fR .ad .sp .6 .RS 4n A read-only property that specifics the number of additional TX hardware-based MAC clients that can be created. .RE .sp .ne 2 .mk .na \fB\fBstp\fR\fR .ad .sp .6 .RS 4n Enables or disables Spanning Tree Protocol on a bridge link. Setting this value to \fB0\fR disables Spanning Tree, and puts the link into forwarding mode with BPDU guarding enabled. This mode is appropriate for point-to-point links connected only to end nodes. Only non-VLAN, non-VNIC type links have this property. The default value is \fB1\fR, to enable STP. .RE .sp .ne 2 .mk .na \fB\fBforward\fR\fR .ad .sp .6 .RS 4n Enables or disables forwarding for a VLAN. Setting this value to \fB0\fR disables bridge forwarding for a VLAN link. Disabling bridge forwarding removes that VLAN from the "allowed set" for the bridge. The default value is \fB1\fR, to enable bridge forwarding for configured VLANs. .RE .sp .ne 2 .mk .na \fB\fBdefault_tag\fR\fR .ad .sp .6 .RS 4n Sets the default VLAN ID that is assumed for untagged packets sent to and received from this link. Only non-VLAN, non-VNIC type links have this property. Setting this value to \fB0\fR disables the bridge forwarding of untagged packets to and from the port. The default value is \fBVLAN ID 1\fR. Valid values values are from 0 to 4094. The default VLAN ID is also referred to as the Port VLAN Identifier (PVID). .sp You cannot create a tagged VLAN or VLAN-tagged VNIC link with a VLAN ID that matches the default VLAN value of the underlying link. All untagged packets on the link are already associated with the default VLAN (PVID). To successfully create a tagged VLAN or VLAN-tagged VNIC link with VLAN ID equal to the default VLAN value, you must first change the \fBdefault_tag\fR property of the underlying link to a different VLAN value. .sp When \fBdefault_tag=0\fR, all untagged packets on the link are no longer associated with any VLAN. As a result, you can create a VLAN link with any VLAN ID from 1 to 4094. Note that any received packets that are erroneously tagged with the PVID at an end-point might be dropped. This situation occurs if all the end-points on a given link do not agree on the PVID. All end-points on a link must use the same PVID and must not tag traffic with the PVID. .RE .sp .ne 2 .mk .na \fB\fBstp_priority\fR\fR .ad .sp .6 .RS 4n Sets the STP and RSTP Port Priority value, which is used to determine the preferred root port on a bridge. Lower numerical values are higher priority. The default value is \fB128\fR. Valid values range from 0 to 255. .RE .sp .ne 2 .mk .na \fB\fBstp_cost\fR\fR .ad .sp .6 .RS 4n Sets the STP and RSTP cost for using the link. The default value is \fBauto\fR, which sets the cost based on link speed, using \fB100\fR for 10Mbps, \fB19\fR for 100Mbps, \fB4\fR for 1Gbps, and \fB2\fR for 10Gbps. Valid values range from 1 to 65535. .RE .sp .ne 2 .mk .na \fB\fBstp_edge\fR\fR .ad .sp .6 .RS 4n Enables or disables bridge edge port detection. If set to \fB0\fR (false), the system assumes that the port is connected to other bridges even if no bridge PDUs of any type are seen. The default value is \fB1\fR, which detects edge ports automatically. .RE .sp .ne 2 .mk .na \fB\fBstp_p2p\fR\fR .ad .sp .6 .RS 4n Sets bridge point-to-point operation mode. Possible values are \fBtrue\fR, \fBfalse\fR, and \fBauto\fR. When set to \fBauto\fR, point-to-point connections are automatically discovered. When set to \fBtrue\fR, the port mode is forced to use point-to-point. When set to \fBfalse\fR, the port mode is forced to use normal multipoint mode. The default value is \fBauto\fR. .RE .sp .ne 2 .mk .na \fB\fBstp_mcheck\fR\fR .ad .sp .6 .RS 4n Triggers the system to run the RSTP \fBForce BPDU Migration Check\fR procedure on this link. The procedure is triggered by setting the property value to \fB1\fR. The property is automatically reset back to \fB0\fR. This value cannot be set unless the following are true: .RS +4 .TP .ie t \(bu .el o The link is bridged .RE .RS +4 .TP .ie t \(bu .el o The bridge is protected by Spanning Tree .RE .RS +4 .TP .ie t \(bu .el o The bridge \fBforce-protocol\fR value is at least 2 (RSTP) .RE The default value is 0. .RE .sp .ne 2 .mk .na \fB\fBprotection\fR\fR .ad .sp .6 .RS 4n Enables one or more types of link protection. Valid values are: .sp .ne 2 .mk .na \fB\fBmac-nospoof\fR\fR .ad .sp .6 .RS 4n MAC address anti-spoof. An outbound packet's source MAC address must match the link's configured MAC address. Non-matching packets will be dropped. If the link belongs to a zone, turning \fBmac-nospoof\fR on will prevent the zone's owner from modifying the link's MAC address. .RE .sp .ne 2 .mk .na \fB\fBip-nospoof\fR\fR .ad .sp .6 .RS 4n IP address anti-spoof. This protection type works in conjunction with the link property \fBallowed-ips\fR. .sp \fBallowed-ips\fR is a list containing IP (IPv4 or IPv6) addresses. This list is empty by default. Addresses that are implicitly in this list are: the link local IPv6 address conforming to RFC 2464 (derived from the link's MAC address); IPv4/IPv6 addresses learned from DHCP replies; the unspecified (all-zeros) IPv4/IPv6 address. .sp An outbound IP packet can pass if its source address is in \fBallowed-ips\fR. .sp An outbound ARP packet can pass if its sender protocol address is in \fBallowed-ips\fR. .sp When a datalink has been protected by setting \fBallowed-ips\fR to a set of one or more IP addresses, any attempts to configure IP addresses that are not in this set will fail with an \fBEPERM\fR error being returned to the user. Moreover, the interface may not be used for forwarding IP packets, and attempts to set the \fBipadm\fR(1M) forwarding property on the interface will encounter an \fBEPERM\fR error. .RE .sp .ne 2 .mk .na \fB\fBdhcp-nospoof\fR\fR .ad .sp .6 .RS 4n DHCP client ID (DUID for DHCPv6) and hardware address anti-spoof. This protection type works in conjunction with the link property \fBallowed-dhcp-cids\fR. .sp Items in the \fBallowed-dhcp-cids\fR list should be formatted in the same way as the \fBCLIENT_ID\fR field in the \fB/etc/default/dhcpagent\fR file. The only difference is that \fB\&.\fR (period) should be used in place of \fB,\fR (comma) when specifying DUIDs. See \fBdhcpagent\fR(1M) for details. .sp An outbound DHCP (v4/v6) packet can pass only if these conditions are satisfied: .RS +4 .TP .ie t \(bu .el o If \fBallowed-dhcp-cids\fR is not configured and the packet type is: .RS +4 .TP .ie t \(bu .el o DHCPv4, the client ID field must match the configured MAC address. .RE .RS +4 .TP .ie t \(bu .el o DHCPv6, the DUID must be of type 1 or 3 and the link layer address part of the DUID must match the configured MAC address. .RE .RE .RS +4 .TP .ie t \(bu .el o If \fBallowed-dhcp-cids\fR is configured and the packet type is: .RS +4 .TP .ie t \(bu .el o DHCPv4, the client ID field must match one of the IDs on this list or the configured MAC address. .RE .RS +4 .TP .ie t \(bu .el o DHCPv6, the DUID field must match one of the IDs on this list or, the DUID must be of type 1 or 3 and the link layer address part of the DUID matches the configured MAC address. .RE .RE .RE .sp .ne 2 .mk .na \fB\fBrestricted\fR\fR .ad .sp .6 .RS 4n This protection restricts outgoing packet types to just IPv4, IPv6, and ARP. .RE .RE .sp .ne 2 .mk .na \fB\fBvni\fR\fR .ad .sp .6 .RS 4n Applicable only to VXLAN datalinks. This property, with values ranging between 0 and 16777215, that specifies the VXLAN segment the link belongs to. This property is mandatory when creating a VXLAN link and cannot be modified thereafter. This property may change in the future. .RE .sp .ne 2 .mk .na \fB\fBvsi-mgrid\fR\fR .ad .sp .6 .RS 4n An IPv6 address. .sp When the VDP service is enabled on a VNIC, properties of the VNIC are exchanged with the bridge using a 3-byte VSI Type ID and 1-byte VSI Version. A VSI Manager maintains the mapping between the {VSI Type ID-VSI Version} and the set of properties. The {VSI Manager ID, VSI Type id, VSI Version} tuple identifies a specific set of properties. .sp On a VNIC, the \fBvsi-mgrid\fR can be explicitly assigned. If the vsi-mgrid is not explicitly assigned, the \fBvsi-mgrid\fR is set to the \fBvsi-mgrid\fR value of the underlying link. .sp On physical link, \fBvsi-mgrid\fR specifies the default \fBvsi-manageid\fR for all the VNICs over it. The default value of the \fBvsi-mgrid\fR on a physical link is 0. .sp The default VSI Manager ID on a physical link is associated with the Oracle VSI Manager (\fBoracle_v1\fR). The Oracle VSI Manager is defined as a 3-byte encoding using the following link properties: .sp .in +2 .nf Bits Properties -------------------------------------------------- 0-4 Link Bandwidth Limit 00000-10100 : 0-100% of link speed in increments of 5% rest : reserved 5-7 Link Speed 000 - Unknown 001 - 10 Mbps 010 - 100 Mbps 011 - 1 Gbps 100 - 10 Gbps 101 - 40 Gbps 110 - 100 Gbps 111 - Reserved 8-12 Reserved 13-15 Traffic Class (0-7) 16-17 Link MTU 00 - 1500 bytes 01 - 9000 bytes 10 - Custom 11 - Reserved 18-23 Reserved .fi .in -2 .RE .sp .ne 2 .mk .na \fB\fBvsi-mgrid-enc\fR\fR .ad .sp .6 .RS 4n The encoding associated with the physical link's \fBvsi-mgrid\fR. Supported values include \fBoracle_v1\fR and \fBnone\fR. If this property is set to \fBnone\fR, the \fBvsi-typeid\fR and \fBvsi-vers\fR are not automatically generated over this link for VNICs that do not have their \fBvsi-mgrid\fR explicitly set. .RE .sp .ne 2 .mk .na \fB\fBvsi-typeid\fR\fR .ad .sp .6 .RS 4n A 3-byte value that is used to determine the properties associated with a VNIC. The \fBvsi-typeid\fR is used along with the \fBvsi-vers\fR and \fBvsi-mgrid\fR to obtain the actual properties associated with the VNIC. When the \fBvsi-mgrid\fR is not explicitly on the VNIC, the \fBvsi-typeid\fR is automatically generated using the properties of the VNIC and the above encoding (\fBoracle_v1\fR). .RE .sp .ne 2 .mk .na \fB\fBvsi-vers\fR\fR .ad .sp .6 .RS 4n A 1-byte value that is used to determine the properties associated with a VNIC. The \fBvsi-vers\fR is used along with the \fBvsi-typeid\fR and \fBvsi-mgrid\fR to obtain the actual properties associated with the VNIC. When the \fBvsi-mgrid\fR is not explicitly on the VNIC, the \fBvsi-vers\fR is set to 0. .RE .sp .ne 2 .mk .na \fB\fBvswitchmode\fR\fR .ad .sp .6 .RS 4n This property determines if switching between VNICs or MAC clients over a physical link happens through the virtual switch associated with the link or on the external switch. This property is applicable only to physical and aggregated links. By default switching happens through the virtual switch associated with the link. Valid values include: .sp .ne 2 .mk .na \fB\fBlocal\fR\fR .ad .RS 10n .rt Switching between MAC clients or VNICs over the link happens internally through the link's virtual switch. This is referred to as Virtual Ethernet Bridge (VEB). .RE .sp .ne 2 .mk .na \fB\fBremote\fR\fR .ad .RS 10n .rt Switching between MAC clients or VNICs over the link happens externally through the external switch. This is referred to as Virtual Ethernet Port Aggregator (VEPA). Setting this value assumes that Reflective Relay is configured on the external switch. .RE .sp .ne 2 .mk .na \fB\fBauto\fR\fR .ad .RS 10n .rt Switching is determined through Link Layer Discovery Protocol (LLDP) protocol. This value initiates LLDP exchange with the external switch to enable Reflective Relay. If LLDP successfully enables Reflective Relay on the switch, the effective value is remote (that is, switching happens on the external switch), else it is local (that is, switching happens locally through the link's virtual switch). .RE .RE .sp .ne 2 .mk .na \fBpvlan-tagmode\fR .ad .sp .6 .RS 4n This property determines how the outgoing packets should be tagged. This property applies to physical links. The valid values are: .sp .ne 2 .mk .na \fB\fBprimary\fR\fR .ad .RS 13n .rt The outgoing packets will be tagged with the VNIC's Primary VID. .RE .sp .ne 2 .mk .na \fBsecondary\fR .ad .RS 13n .rt The outgoing packets will be tagged with the VNIC's Secondary VID. This is the default value. .RE .RE .sp .ne 2 .mk .na \fB\fBiov\fR\fR .ad .sp .6 .RS 4n This property behaves differently depending on whether it is used on a physical link or a VNIC. .sp Setting this link property on a physical link allows the user to enable/disable SR-IOV mode. The possible values for \fBiov\fR on a physical link are: .sp .ne 2 .mk .na \fB\fBauto\fR\fR .ad .RS 8n .rt Allows the OS decide whether to enable SR-IOV mode on this link. This is the default value. .RE .sp .ne 2 .mk .na \fB\fBon\fR\fR .ad .RS 8n .rt Turns SR-IOV mode on. This will allow the creation of VF VNICS. .RE .sp .ne 2 .mk .na \fB\fBoff\fR\fR .ad .RS 8n .rt Turns SR-IOV mode off. This will disable the ability to create VF VNICs. .RE The user can display the current \fBiov\fR setting by using \fBshow-linkprop\fR. The EFFECTIVE column will show the value decided by the OS. The VALUE column will show the user specified value. .sp This property may also be specified during VNIC creation via the \fB-p\fR option. This option allows the user to choose whether to create a VF VNIC or not. For this case, the possible values for \fBiov\fR are: .sp .ne 2 .mk .na \fB\fBinherit\fR\fR .ad .RS 11n .rt Inherit the EFFECTIVE \fBiov\fR setting from the VNIC's underlying link. For example, if the underlying link has \fB-iov\fR on, specifying \fBinherit\fR during VNIC creation means, allowing the OS allocate a VF if possible; If a VF is not found, create a regular VNIC instead. If the underlying link has iov \fBoff\fR, it means a VF will not be allocated. .sp If \fB-p\fR \fBiov\fR is not specified during \fBcreate-vnic\fR, this is + the assumed default value. .RE .sp .ne 2 .mk .na \fB\fBon\fR\fR .ad .RS 11n .rt A VF must be allocated for this VNIC. If a VF cannot be found, fail the VNIC creation. .RE .sp .ne 2 .mk .na \fB\fBoff\fR\fR .ad .RS 11n .rt Do not allocate a VF for this VNIC. The created VNIC will always be a regular VNIC regardless of the underlying \fBiov\fR setting. .RE Unlike the physical link case, the VNIC's iov property cannot be modified by \fBset-linkprop\fR. It can only be specified during \fBcreate-vnic\fR. Displaying this property through \fBshow-linkprop\fR is allowed. .RE .sp .ne 2 .mk .na \fB\fBzone\fR\fR .ad .sp .6 .RS 4n Specifies the zone to which the link belongs. This property can be modified only temporarily through \fBdladm\fR, and thus the \fB-t\fR option must be specified. To modify the zone assignment such that it persists across reboots, please use \fBzonecfg\fR(1M). Possible values consist of any exclusive-IP zone currently running on the system. By default, the zone binding is as per \fBzonecfg\fR(1M). .RE .sp .ne 2 .mk .na \fB\fBallow-autoconf\fR\fR .ad .sp .6 .RS 4n Specifies whether a physical link should be automatically configured. This property is only applicable when the system-defined Automatic Network Configuration Profile is active. The default value is 1, meaning that the link will be automatically configured. If the value is set to 0, the link will not be automatically configured. .RE .sp .ne 2 .mk .na \fB\fBfw-vers\fR\fR .ad .sp .6 .RS 4n Applicable only for physical datalinks. A read-only property that specifies the firmware version information for the physical NIC. This property is only shown when explicitly requested through the \fB-p\fR option. The format, meaning, and stability of its value is up to each individual driver and optionally documented in the driver's manual page. .RE .sp .LP On IPoIB VNICs, only the following link properties are supported: \fBautopush\fR, \fBzone\fR, \fBmaxbw\fR, \fBcpus\fR, \fBrxfanout\fR, \fBpool\fR, \fBpriority\fR, \fBprotection\fR, \fBallowed-ips\fR, and \fBallowed-dhcp-cids\fR. .SS "Wifi Link Properties" .sp .LP The following \fBWiFi\fR link properties are supported. Note that the ability to set a given property to a given value depends on the driver and hardware. .sp .ne 2 .mk .na \fB\fBchannel\fR\fR .ad .sp .6 .RS 4n Specifies the channel to use. This property can be modified only by certain \fBWiFi\fR links when in \fBIBSS\fR mode. The default value and allowed range of values varies by regulatory domain. .RE .sp .ne 2 .mk .na \fB\fBpowermode\fR\fR .ad .sp .6 .RS 4n Specifies the power management mode of the \fBWiFi\fR link. Possible values are \fBoff\fR (disable power management), \fBmax\fR (maximum power savings), and \fBfast\fR (performance-sensitive power management). Default is \fBoff\fR. .RE .sp .ne 2 .mk .na \fB\fBradio\fR\fR .ad .sp .6 .RS 4n Specifies the radio mode of the \fBWiFi\fR link. Possible values are \fBon\fR or \fBoff\fR. Default is \fBon\fR. .RE .sp .ne 2 .mk .na \fB\fBspeed\fR\fR .ad .sp .6 .RS 4n Specifies a fixed speed for the \fBWiFi\fR link, in megabits per second. The set of possible values depends on the driver and hardware (but is shown by \fBshow-linkprop\fR); common speeds include 1, 2, 11, and 54. By default, there is no fixed speed. .RE .SS "Ethernet Link Properties" .sp .LP The following MII Properties, as documented in \fBieee802.3\fR(5), are supported in read-only mode: .RS +4 .TP .ie t \(bu .el o \fBduplex\fR .RE .RS +4 .TP .ie t \(bu .el o \fBstate\fR .RE .RS +4 .TP .ie t \(bu .el o \fBadv_autoneg_cap\fR .RE .RS +4 .TP .ie t \(bu .el o \fBadv_40gfdx_cap\fR .RE .RS +4 .TP .ie t \(bu .el o \fBadv_10gfdx_cap\fR .RE .RS +4 .TP .ie t \(bu .el o \fBadv_1000fdx_cap\fR .RE .RS +4 .TP .ie t \(bu .el o \fBadv_1000hdx_cap\fR .RE .RS +4 .TP .ie t \(bu .el o \fBadv_100fdx_cap\fR .RE .RS +4 .TP .ie t \(bu .el o \fBadv_100hdx_cap\fR .RE .RS +4 .TP .ie t \(bu .el o \fBadv_10fdx_cap\fR .RE .RS +4 .TP .ie t \(bu .el o \fBadv_10hdx_cap\fR .RE .sp .LP Each \fBadv_\fR property (for example, \fBadv_10fdx_cap\fR) also has a read/write counterpart \fBen_\fR property (for example, \fBen_10fdx_cap\fR) controlling parameters used at auto-negotiation. In the absence of Power Management, the \fBadv\fR* speed/duplex parameters provide the values that are both negotiated and currently effective in hardware. However, with Power Management enabled, the speed/duplex capabilities currently exposed in hardware might be a subset of the set of bits that were used in initial link parameter negotiation. Thus the MII \fBadv_\fR* parameters are marked read-only, with an additional set of \fBen_\fR* parameters for configuring speed and duplex properties at initial negotiation. .sp .LP Note that the \fBadv_autoneg_cap\fR does not have an \fBen_autoneg_cap\fR counterpart: the \fBadv_autoneg_cap\fR is a 0/1 switch that turns off/on autonegotiation itself, and therefore cannot be impacted by Power Management. .sp .LP In addition, the following Ethernet properties are reported: .sp .ne 2 .mk .na \fB\fBflowctrl\fR\fR .ad .sp .6 .RS 4n Establishes flow-control modes that will be advertised by the device. Valid input is one of: .sp .ne 2 .mk .na \fB\fBauto\fR\fR .ad .sp .6 .RS 4n Flow control mode on the device is dynamically determined. To see the actual flow control mode set on the device, check the \fBeffective\fR value of \fBflowctrl\fR property. .RE .sp .ne 2 .mk .na \fB\fBno\fR\fR .ad .sp .6 .RS 4n No flow control enabled. .RE .sp .ne 2 .mk .na \fB\fBrx\fR\fR .ad .sp .6 .RS 4n Receive, and act upon incoming pause frames. .RE .sp .ne 2 .mk .na \fB\fBtx\fR\fR .ad .sp .6 .RS 4n Transmit pause frames to the peer when congestion occurs, but ignore received pause frames. .RE .sp .ne 2 .mk .na \fB\fBpfc\fR\fR .ad .sp .6 .RS 4n Transmit pause frames including the priority value of the traffic that should be paused. Receive pause frames, and act upon the traffic whose priority values are specified in the frame. .RE .sp .ne 2 .mk .na \fB\fBbi\fR\fR .ad .sp .6 .RS 4n Bidirectional flow control. .RE Note that the actual settings for this value are constrained by the capabilities allowed by the device and the link partner. As such the effective value of \fBflowctrl\fR indicates the system chosen value. .RE .sp .ne 2 .mk .na \fB\fBgvrp-timeout\fR\fR .ad .sp .6 .RS 4n Specifies wait period between VID announcement broadcasts, in milliseconds. .RE .sp .ne 2 .mk .na \fB\fBmtu\fR\fR .ad .sp .6 .RS 4n The maximum client SDU (Send Data Unit) supported by the device. Valid range is 68-65536. .RE .sp .ne 2 .mk .na \fB\fBntcs\fR\fR .ad .sp .6 .RS 4n The number of Traffic Classes supported on the device. A device supporting extensions for DCB (Data Center Bridging) can support multiple traffic classes. This property can be used to determine if the device supports DCB extensions. This is a read-only property. .RE .sp .ne 2 .mk .na \fB\fBpfcmap\fR\fR .ad .sp .6 .RS 4n This property is used to indicate the 802.1p priority values for which PFC (Priority-based flow control) is enabled. This is an 8-bit mask, in which an individual bit signifies whether PFC is enabled for the corresponding priority. For priorities that have PFC enabled, the device will transmit a pause frame for that priority in the event of congestion. This is relevant only if \fBntcs\fR is greater than zero and \fBeffective\fR value of \fBflowctrl\fR is \fBpfc\fR. .sp The effective value of \fBpfcmap\fR can either be the user configured value or the effective value of \fBpfcmap-rmt\fR depending on LLDP DCBx negotiations. .RE .sp .ne 2 .mk .na \fB\fBpfcmap-rmt\fR\fR .ad .sp .6 .RS 4n This property is used to indicate the PFC configuration of the remote peer, usually an adjacent switch. .RE .sp .ne 2 .mk .na \fB\fBptp\fR\fR .ad .sp .6 .RS 4n (read-only) This property is used to indicate the availability of PTP hardware assistance in the device. .RE .sp .ne 2 .mk .na \fB\fBspeed\fR\fR .ad .sp .6 .RS 4n (read-only) The operating speed of the device, in Mbps. .RE .sp .ne 2 .mk .na \fB\fBtagmode\fR\fR .ad .sp .6 .RS 4n This link property controls the conditions in which 802.1Q VLAN tags will be inserted in packets being transmitted on the link. Two mode values can be assigned to this property: .sp .ne 2 .mk .na \fB\fBnormal\fR\fR .ad .RS 12n .rt Insert a VLAN tag in outgoing packets under the following conditions: .RS +4 .TP .ie t \(bu .el o The packet belongs to a VLAN. .RE .RS +4 .TP .ie t \(bu .el o The user requested priority tagging. .RE .RE .sp .ne 2 .mk .na \fB\fBvlanonly\fR\fR .ad .RS 12n .rt Insert a VLAN tag only when the outgoing packet belongs to a VLAN. If a tag is being inserted in this mode and the user has also requested a non-zero priority, the priority is honored and included in the VLAN tag. .RE The default value is \fBvlanonly\fR. .RE .sp .ne 2 .mk .na \fB\fBvlan-announce\fR\fR .ad .sp .6 .RS 4n This property controls automatic VLAN ID announcement. When enabled, it broadcasts the VIDs of any VNICs or VLANs configured on the device. It supports both physical links and aggregations. Possible values are: .sp .ne 2 .mk .na \fB\fBoff\fR\fR .ad .sp .6 .RS 4n No VID announcements will be sent. .RE .sp .ne 2 .mk .na \fB\fBgvrp\fR\fR .ad .sp .6 .RS 4n Announcements sent using GVRP protocol, as defined in 802.1D. See \fBgvrp-timeout\fR to configure broadcast frequency. .RE .RE .SS "InfiniBand Link Properties" .sp .LP The following properties are supported only on IB partition object datalinks and IPoIB VNIC datalinks. .sp .ne 2 .mk .na \fB\fBlinkmode\fR\fR .ad .sp .6 .RS 4n Sets the link transport service type on an IB partition datalink. The default value is \fBcm\fR. Valid values are: .sp .ne 2 .mk .na \fB\fBcm\fR\fR .ad .sp .6 .RS 4n Connected Mode. This mode uses a default MTU of 65520 and supports a maximum MTU of 65535 bytes. If Connected Mode is not available for a remote node, Unreliable Datagram mode will automatically be used instead. .RE .sp .ne 2 .mk .na \fB\fBud\fR\fR .ad .sp .6 .RS 4n Unreliable Datagram Mode. This mode uses a default MTU of 2044 and supports a maximum MTU of 4092 bytes. .RE .RE .SS "IP Tunnel Link Properties" .sp .LP The following IP tunnel link properties are supported. .sp .ne 2 .mk .na \fB\fBhoplimit\fR\fR .ad .sp .6 .RS 4n Specifies the IPv4 TTL or IPv6 hop limit for the encapsulating outer IP header of a tunnel link. This property exists for all tunnel types. The default value is 64. .RE .sp .ne 2 .mk .na \fB\fBencaplimit\fR\fR .ad .sp .6 .RS 4n Specifies the IPv6 encapsulation limit for an IPv6 tunnel as defined in RFC 2473. This value is the tunnel nesting limit for a given tunneled packet. The default value is 4. A value of 0 disables the encapsulation limit. .RE .SS "Aggregation Link Properties" .sp .LP The following properties are supported only on DLMP mode aggregations. .sp .ne 2 .mk .na \fB\fBprobe-enabled\fR\fR .ad .sp .6 .RS 4n This property controls whether the probe-based failure/recovery detection is enabled for the given aggregation. When disabled, the health detection of the underlying port will be solely relying on the port's link state. Possible values are: .sp .ne 2 .mk .na \fB\fBtrue\fR\fR .ad .RS 9n .rt Probe-based failure/recovery detection is enabled. This is the default value. .RE .sp .ne 2 .mk .na \fB\fBfalse\fR\fR .ad .RS 9n .rt Probe-based failure/recovery detection is disabled. .RE .RE .sp .ne 2 .mk .na \fB\fBprobe-ip\fR\fR .ad .sp .6 .RS 4n This property is a comma separated list of IP addressed allowed for use as source IP addresses for ICMP probing. IP addresses from this list, if configured (as plumbed primary or as VNICs) will be used for ICMP probing. These IP addresses will continue to carry data traffic like usual. Thus, there is no need to reserve exclusive IP addresses for probing. .sp Each field in the list consists of "source IP" followed by optional target configuration information. The target information, if specified, can either be the target IP address or the string "rt". If it is the latter, the \fBin.dlmpd\fR daemon will consult the routing table for routes on the same subnet as the specified "source IP" address, and uses the specified next-hop as the target IP address. .sp If no target is specified, the DLMP probing service will try to discover potential targets IP addresses by sending the ICMP multicast packet. .sp Regardless the sources of the target IP address (discovered, specified or come from the routing table), the target IP address must be in the same subnetwork as the specified source IP address, or, it will not take effect. .sp The following forms are accepted. Note that "target" can either be the IP address or the hostname of the target: .sp .ne 2 .mk .na \fB<\fIIP address\fR>[/\fBprefixlen\fR][+<\fItarget address\fR>\fR .ad .sp .6 .RS 4n Explicitly specify the IP address and its prefix length (optional). For example, \fI10.134.8.0/24+\fR. .RE .sp .ne 2 .mk .na \fB<\fIaddrobj_name\fR>[+<\fItarget address\fR>\fR .ad .sp .6 .RS 4n Specify the specific \fIaddrobj\fR name, which can be seen in the \fBipadm show-addr\fR output. For example, \fIvnic1/addr1+169.156.0.1\fR. .RE .sp .ne 2 .mk .na \fB<\fIinterface_name\fR>[+<\fItarget address\fR>\fR .ad .sp .6 .RS 4n Specify a specific interface name. It can be either the name of the aggregation interface itself or any VNIC configured over the aggregation in the global zone. All the IPv4 addresses and IPv6 addresses configured on the specified interface will be used for ICMP probing. Note that to avoid ambiguity between the hostname and the interface name, the interface names will be enclosed by the square bracket. For example, [\fIdlmp1\fR]+. .RE .sp .ne 2 .mk .na \fB+[<\fItarget\fR>]\fR .ad .sp .6 .RS 4n When no source IP address is specified, all the IP addresses configured on the aggregation and the VNICs in the global zone will be potential source IP address of ICMP probes. .RE .RE .sp .ne 2 .mk .na \fB\fBprobe-fdt\fR\fR .ad .sp .6 .RS 4n This link property defines the failure detection time. It configures the expected failure detection time value in seconds. The default value is 10s. .RE .SH EXAMPLES .LP \fBExample 1 \fRDisplay Datalink Configuration .sp .LP The following command shows the effect of invoking \fBdladm\fR with no arguments. .sp .in +2 .nf # \fBdladm\fR LINK CLASS MTU STATE OVER net0 phys 1500 up -- net1 phys 1500 up -- net2 phys 1500 unknown -- net3 phys 1500 up -- vnic1 vnic 1500 up net1 vlan1 vlan 1500 up net1 aggr1 aggr 1500 up net2 net3 stub1 etherstub 9000 unknown -- .fi .in -2 .sp .LP \fBExample 2 \fRConfiguring an Aggregation .sp .LP To configure a data-link over an aggregation of devices \fBbge0\fR (linkname \fBnet0\fR) and \fBbge1\fR (linkname \fBnet1\fR) with key 1, enter the following command: .sp .in +2 .nf # \fBdladm create-aggr -l net0 -l net1 1\fR .fi .in -2 .sp .sp .LP To configure an IEEE 802.3ad link aggregation of devices \fBe1000g1\fR (linkname \fBnet0\fR) and \fBe1000g2\fR (linkname \fBnet1\fR) with the name \fBaggr1\fR, enter following command: .sp .in +2 .nf # \fBdladm create-aggr -l net0 -l net1 aggr1\fR .fi .in -2 .sp .sp .LP To configure an Datalink Multipathing (\fBdlmp\fR) link aggregation of devices \fBixgbe1\fR (linkame \fBnet2\fR) and \fBixgbe2\fR (linkname \fBnet3\fR) with the name \fBaggr2\fR enter following command: .sp .in +2 .nf # \fBdladm create-aggr -m dlmp -l net2 -l net3 aggr2\fR .fi .in -2 .sp .sp .LP To list aggregations, enter following command: .sp .in +2 .nf # \fBdladm show-aggr\fR LINK MODE POLICY ADDRPOLICY LACPACTIVITY LACPTIMER aggr1 trunk L4 auto off short aggr2 dlmp -- -- -- -- .fi .in -2 .sp .LP \fBExample 3 \fRConnecting to a WiFi Link .sp .LP To connect to the most optimal available unsecured network on a system with a single \fBWiFi\fR link (as per the prioritization rules specified for \fBconnect-wifi\fR), enter the following command: .sp .in +2 .nf # \fBdladm connect-wifi\fR .fi .in -2 .sp .LP \fBExample 4 \fRCreating a WiFi Key .sp .LP To interactively create the \fBWEP\fR key \fBmykey\fR, enter the following command: .sp .in +2 .nf # \fBdladm create-secobj -c wep mykey\fR .fi .in -2 .sp .sp .LP Alternatively, to non-interactively create the \fBWEP\fR key \fBmykey\fR using the contents of a file: .sp .in +2 .nf # \fBumask 077\fR # \fBcat >/tmp/mykey.$$ <10.1.0.2 .fi .in -2 .sp .LP \fBExample 20 \fRCreating a 6to4 Tunnel .sp .LP The following command creates a 6to4 tunnel link. The IPv4 address of the 6to4 router is 75.10.11.12. .sp .in +2 .nf # \fBdladm create-iptun -T 6to4 -a local=75.10.11.12 sitetunnel0\fR # \fBdladm show-iptun sitetunnel0\fR LINK TYPE FLAGS SOURCE DESTINATION sitetunnel0 6to4 -- 75.10.11.12 -- .fi .in -2 .sp .sp .LP The following command creates an IPv6 interface on this tunnel: .sp .in +2 .nf # \fBipadm create-ip sitetunnel0\fR # \fBipadm show-addr sitetunnel0/_a\fR ADDROBJ TYPE STATE ADDR sitetunnel0/_a static ok 2002:4b0a:b0c::1/16 .fi .in -2 .sp .sp .LP Note that the system automatically configures the IPv6 address on the 6to4 IP interface. See \fBipadm\fR(1M) for a description of how IPv6 addresses are configured on 6to4 tunnel links. .LP \fBExample 21 \fRUsing Link Protection .sp .LP To enable link protection: .sp .in +2 .nf # \fBdladm set-linkprop \e\fR \fB-p protection=mac-nospoof,restricted,ip-nospoof,dhcp-nospoof vnic0\fR .fi .in -2 .sp .sp .LP To disable link protection: .sp .in +2 .nf # \fBdladm reset-linkprop -p protection vnic0\fR .fi .in -2 .sp .sp .LP To modify the \fBallowed-ips\fR list: .sp .in +2 .nf # \fBdladm set-linkprop -p allowed-ips=10.0.0.1,10.0.0.2 vnic0\fR .fi .in -2 .sp .sp .LP To modify the \fBallowed-dhcp-cids\fR list: .sp .in +2 .nf # \fBdladm set-linkprop -p allowed-dhcp-cids=hello vnic0\fR .fi .in -2 .sp .sp .LP To display the resulting configuration: .sp .in +2 .nf # \fBdladm show-linkprop -p protection,allowed-ips vnic0\fR LINK PROPERTY PERM VALUE EFFECTIVE DEFAULT POSSIBLE vnic0 protection rw mac-nospoof, mac-nospoof, -- mac-nospoof, restricted, restricted, restricted, ip-nospoof, ip-nospoof, ip-nospoof, dhcp-nospoof dhcp-nospoof dhcp-nospoof vnic0 allowed-ips rw 10.0.0.1, 10.0.0.1, -- -- 10.0.0.2 10.0.0.2 vnic0 allowed-dhcp-cids rw hello hello -- -- .fi .in -2 .sp .LP \fBExample 22 \fRCreating an IB Partition .sp .LP The following command creates a partition \fBffff.ibp0\fR with partition key \fB0xffff\fR on the physical link \fBibp0\fR. .sp .in +2 .nf # \fBdladm create-part -P ffff -l ibp0 ffff.ibp0\fR .fi .in -2 .sp .LP \fBExample 23 \fRDisplaying IB Partition Information .sp .LP The following command displays IB partition information. .sp .in +2 .nf # \fBdladm show-part\fR LINK PKEY OVER STATE FLAGS ffff.ibp0 FFFF ibp0 up ---- .fi .in -2 .sp .LP \fBExample 24 \fRDisplaying IB Data Links Information .sp .LP The following command displays IB data links information. .sp .in +2 .nf # \fBdladm show-ib\fR LINK HCAGUID PORTGUID PORT STATE GWNAME GWPORT PKEYS net0 3BA000100CD7C 3BA000100CD7D 1 down -- -- FFFF net1 3BA000100CD7C 3BA000100CD7E 2 down -- -- FFFF net3 5AD0000033634 5AD0000033636 2 up -- -- FFFF,8001 net2 5AD0000033634 5AD0000033635 1 up -- -- FFFF,8001 .fi .in -2 .sp .LP \fBExample 25 \fRDisplaying IB HCA mapping .sp .LP The following command displays IB HCA name as managed by \fBibadm\fR(1M) that each IB link runs over. .sp .in +2 .nf # \fBdladm show-ib -o link,hca,port,hcaguid,portguid,pkeys\fR LINK HCA PORT HCAGUID PORTGUID PKEYS net0 hermon0 1 3BA000100CD7C 3BA000100CD7D FFFF,8001 net1 hermon0 2 3BA000100CD7C 3BA000100CD7E FFFF,8001 net3 hermon0.vhca0 2 5AD0000033634 5AD0000033636 FFFF,8001 net2 hermon0.vhca1 1 5AD0000033634 5AD0000033635 FFFF,8001 .fi .in -2 .sp .LP \fBExample 26 \fRDeleting a Partition .sp .LP The following command deletes the partition \fBffff.ibp0\fR. .sp .in +2 .nf # \fBdladm delete-part ffff.ibp0\fR .fi .in -2 .sp .LP \fBExample 27 \fRUsing \fBshow-link\fR to Display Partition Information .sp .LP The following command uses the \fBshow-link\fR subcommand to display partition information. .sp .in +2 .nf # \fBdladm show-link\fR LINK CLASS MTU STATE OVER e1000g0 phys 1500 up -- e1000g1 phys 1500 unknown -- net0 phys 65520 down -- net3 phys 65520 up -- net2 phys 65520 up -- net1 phys 65520 down -- pffff.ibp0 part 2044 down ibp0 p8001.ibp2 part 65520 unknown ibp2 .fi .in -2 .sp .LP \fBExample 28 \fRDisplaying Links in All Zones from the Global Zone .sp .LP The \fBshow-link\fR command shown below displays data links in all zones from the global zone. Links that are not in the global zone are displayed with the zonename prefix followed by the slash (\fB/\fR) separator. .sp .LP In this example, \fBnet0\fR is a VNIC created in the global zone, \fBzone1/net0\fR is an automatically created VNIC for \fBzone1\fR, and \fBzone2/net0\fR is an automatically created VNIC for \fBzone2\fR. .sp .in +2 .nf # \fBdladm show-link\fR LINK CLASS MTU STATE OVER e1000g0 phys 1500 up -- e1000g1 phys 8170 unknown -- e1000g2 phys 1500 unknown -- e1000g3 phys 1500 unknown -- net0 vnic 1500 up e1000g0 zone1/net0 vnic 1500 up e1000g0 zone2/net0 vnic 1500 up e1000g0 .fi .in -2 .sp .LP \fBExample 29 \fRDisplaying Links in the Global Zone .sp .LP The following \fBshow-link\fR command displays data links in the global zone only. .sp .in +2 .nf # \fBdladm show-link -z global\fR LINK CLASS MTU STATE OVER e1000g0 phys 1500 up -- e1000g1 phys 8170 unknown -- e1000g2 phys 1500 unknown -- e1000g3 phys 1500 unknown -- net0 vnic 1500 up e1000g0 .fi .in -2 .sp .LP \fBExample 30 \fRDisplaying Links for a Specified Zone .sp .LP The following \fBshow-link\fR command displays data links in a specific, non-global zone. .sp .in +2 .nf # \fBdladm show-link -z zone1\fR LINK CLASS MTU STATE OVER zone1/net0 vnic 1500 up e1000g0 .fi .in -2 .sp .LP \fBExample 31 \fRDisplaying Links for a Specified Zone from the Global Zone .sp .LP The following \fBshow-link\fR command displays, from the global zone, data links in a specific, non-global zone. .sp .in +2 .nf # \fBdladm show-link -z zone1\fR LINK CLASS MTU STATE OVER zone1/net0 vnic 1500 up e1000g0 .fi .in -2 .sp .LP \fBExample 32 \fRDisplaying Links in a Non-Global Zone .sp .LP The following \fBshow-link\fR shown below is invoked from \fBzone1\fR and displays only data links for that zone. .sp .LP Note that, in \fBshow-link\fR output, the \fBzone1/\fR prefix is not displayed. The prefix is not displayed because the command was invoked from within the zone. .sp .in +2 .nf # \fBzlogin zone1\fR # \fBdladm show-link -z zone1\fR LINK CLASS MTU STATE OVER net0 vnic 1500 up ? .fi .in -2 .sp .LP \fBExample 33 \fRUsing -Z Option to Display the Current Zone .sp .LP The command below presumes the following conditions: .RS +4 .TP .ie t \(bu .el o The link \fBnet1\fR is currently assigned to \fBzoneA\fR. The entries \fBnet1\fR and \fBzoneA/net1\fR represents the same link. The \fBZONE\fR column for these two entries is the same and is the name of the zone to which the link is currently assigned. .RE .RS +4 .TP .ie t \(bu .el o The link \fBnet2\fR is not assigned to any non-global zone. .RE .RS +4 .TP .ie t \(bu .el o The link \fBzoneB/net2\fR is an automatic VNIC created for \fBzoneB\fR. .RE .RS +4 .TP .ie t \(bu .el o The link \fBzoneC/net2\fR is an automatic VNIC created for \fBzoneC\fR. .RE .RS +4 .TP .ie t \(bu .el o The link \fBzoneD/net2\fR is an IP tunnel created inside \fBzoneD\fR. Unlike for \fBnet1\fR, each entry for \fBnet2\fR represents a different link. The \fBZONE\fR column for these entries is different. .RE .sp .in +2 .nf # \fBdladm show-link -Z\fR LINK ZONE CLASS MTU STATE OVER e1000g0 global phys 1500 up -- e1000g1 global phys 1500 up -- net1 zoneA vnic 1500 up e1000g0 zoneA/net1 zoneA vnic 1500 up e1000g0 net2 global vnic 1500 up e1000g1 zoneB/net2 zoneB vnic 1500 up e1000g1 zoneC/net2 zoneC vnic 1500 up e1000g1 zoneD/net2 zoneD iptun 65515 up -- .fi .in -2 .sp .LP \fBExample 34 \fRDisplaying VDP Information .sp .LP The following command displays VDP information for \fBvnic1\fR. .sp .in +2 .nf # \fBdladm show-ether -P vdp vnic1\fR LINK VSI VSIID VSI-TYPEID VSI-STATE CMD-PENDING ixgbe1 vnic1 2:8:20:3:2:b 0x58/0 ASSOC DEASSOC .fi .in -2 .sp .LP \fBExample 35 \fRDisplaying ECP Information .sp .LP The following command displays ECP information for \fBixgbe1\fR. .sp .in +2 .nf # \fBdladm show-ether -P ecp ixgbe1\fR LINK SEQNO ACKNO LAST-ACK MAX-RETRIES TIMEOUTS ixgbe1 65535 25660 0 3 164 .fi .in -2 .sp .LP \fBExample 36 \fRSetting the VSI Manager ID, VSI Type, and VSI Version .sp .LP The following commands set the VSI Manager ID, VSI Type, and VSI Version on \fBvnic1\fR. .sp .in +2 .nf # \fBdladm set-linkprop -p vsi-mgrid=fe80::214:4fff:fec2:67c8 vnic1\fR # \fBdladm set-linkprop -p vsi-typeid=0x64,vsi-vers=1 vnic1\fR .fi .in -2 .sp .LP \fBExample 37 \fRMigrating a VLAN, Modifying its VLAN-ID .sp .LP The following command sequence shows how you migrate a VLAN and modify its VLAN-ID. .sp .in +2 .nf # \fBdladm show-vlan vlan0\fR LINK VID SVID PVLAN-TYPE FLAGS OVER vlan0 100 -- -- ----- net0 # \fBdladm modify-vlan -l net1 -v 200 vlan0\fR # \fBdladm show-vlan vlan0\fR LINK VID SVID PVLAN-TYPE FLAGS OVER vlan0 200 -- -- ----- net1 .fi .in -2 .sp .LP \fBExample 38 \fRMigrating Multiple VNICs .sp .LP The following command sequence shows how you migrate multiple VNICs. .sp .in +2 .nf # \fBdladm show-vnic\fR LINK OVER SPEED MACADDRESS MACADDRTYPE IDS vnic0 net0 1000 2:8:20:ec:c4:1d random VID:0 vnic1 net0 1000 2:8:20:ec:c4:1e random VID:0 # \fBdladm modify-vnic -l net1 -L net0\fR # \fBdladm show-vnic\fR LINK OVER SPEED MACADDRESS MACADDRTYPE IDS vnic0 net1 1000 2:8:20:ec:c4:1d random VID:0 vnic1 net1 1000 2:8:20:ec:c4:1e random VID:0 .fi .in -2 .sp .LP \fBExample 39 \fRMigrating a VNIC and Modifying its MAC Address .sp .LP The following command sequence shows how you migrate a VNIC and modify its MAC address. .sp .in +2 .nf # \fBdladm show-vnic vnic0\fR LINK OVER SPEED MACADDRESS MACADDRTYPE IDS vnic0 net0 1000 2:8:20:ec:c4:1d random VID:0 # \fBdladm modify-vnic -l net1 -m 2:8:20:00:01:02 vnic0\fR # \fBdladm show-vnic vnic0\fR LINK OVER SPEED MACADDRESS MACADDRTYPE IDS vnic0 net1 1000 2:8:20:0:1:2 fixed VID:0 .fi .in -2 .sp .LP \fBExample 40 \fRConfiguring \fBcos\fR and ETS Bandwidth .sp .LP The following example creates a VNIC with name \fBvnic1\fR over the physical link \fBnet1\fR and assigns to it a \fBcos\fR value of 3. .sp .in +2 .nf # \fBdladm create-vnic -p cos=3 -l net1 vnic1\fR .fi .in -2 .sp .sp .LP All packets transmitted by \fBvnic1\fR will have a VLAN header with the priority field set to 3. .sp .LP Additionally, if the underlying physical NIC has registered DCB capability, an ETS bandwidth can be assigned to \fBvnic1\fR. The following commands assume the LLDP package is not installed or enabled. .sp .LP Check if the underlying NIC has registered DCB capability using the \fBntcs\fR link property. If the value of \fBntcs\fR is non-zero, the underlying NIC has registered DCB capability. .sp .in +2 .nf # \fBdladm show-linkprop -p ntcs net1\fR .fi .in -2 .sp .sp .LP The following command assigns an ETS bandwidth of 10% of the link's bandwidth to \fBvnic1\fR. .sp .in +2 .nf # \fBdladm set-linkprop -p etsbw_lcl=10 vnic1\fR .fi .in -2 .sp .sp .LP Note if the \fBmaxbw\fR link property has also been set, then the traffic is limited by the \fBmaxbw\fR value. .sp .LP With the LLDP package (\fBservice/network/lldp\fR) installed and enabled, the ETS bandwidth configuration will follow the IEEE 802.1Qaz specification. .sp .LP The LLDP ETS TLV willing property determines whether the local or the remote's configuration is applied/used. .sp .LP The \fBetsbw-lcl-advice\fR link property indicates the value recommended by the remote, if available. The effective value of \fBetsbw-lcl\fR link property will indicate the actual ETS bandwidth assigned to \fBvnic1\fR. .sp .in +2 .nf # \fBdladm show-linkprop -p etsbw-lcl-advice,etsbw-lcl vnic1\fR .fi .in -2 .sp .sp .LP The following command is used to advice the peer to assign 10% of the link's bandwidth for vnic1. .sp .in +2 .nf # \fBdladm set-linkprop -p etsbw-rmt-advice=10 vnic1\fR .fi .in -2 .sp .LP \fBExample 41 \fRConfiguring an EoIB datalink .sp .LP Inspect the list of all gateways reachable from a specific IB port 'ibp1'. .sp .in +2 .nf # \fBdladm show-ib ibp1\fR LINK HCAGUID PORTGUID PORT STATE GWNAME GWPORT PKEYS ibp1 212800013F2F5A 212800013F2F5B 1 up nm2gw-1 0a-eth-1 FFFF nm2gw-1 0a-eth-2 nm2gw-1 0a-eth-3 nm2gw-1 0a-eth-4 .fi .in -2 .sp .sp .LP Create an EoIB datalink 'elink1' binding the host IB port 'ibp1' to the ethernet port \&'0a-eth-2' on the EoIB Gateway 'nm2gw-1'. .sp .in +2 .nf # \fBdladm create-eoib -l ibp1 -g nm2gw-1 -c 0a-eth-2 elink1\fR .fi .in -2 .sp .sp .LP Verify that an IP interface may be created over the newly created EoIB datalink \&'elink1' .sp .in +2 .nf # \fBipadm create-ip elink1\fR # \fBipadm create-addr -T static -a local=192.168.99.142/24 elink1/v4\fR .fi .in -2 .sp .sp .in +2 .nf # \fBdladm show-eoib\fR LINK GWNAME GWPORT GWID FLAGS SPEED MACADDRESS OVER elink1 nm2gw-1 0a-eth-2 1A8 aHnU-- 10000 0:25:8b:60:2:3 ibp1 .fi .in -2 .sp .sp .LP If the EoIB datalink 'elink1' is no longer required and may be removed, delete any IP interfaces (or VNICs) built over the datalink and then delete the datalink itself using the \fBdelete-eoib\fR subcommand. .sp .in +2 .nf # \fBipadm delete-ip elink1\fR # \fBdladm delete-eoib elink1\fR # \fBdladm show-eoib\fR .fi .in -2 .sp .LP \fBExample 42 \fRConfiguring an EoIB datalink Over an IB Port That is Down .sp .in +2 .nf # \fBdladm show-ib -p -o state ibp2\fR down # \fBdladm create-eoib -l ibp2 -g nm2gw-1 -c 0a-eth-1 elink2\fR # \fBipadm create-ip elink2\fR # \fBdladm show-link elink2\fR LINK CLASS MTU STATE OVER elink2 eoib 1500 down ibp2 .fi .in -2 .sp .sp .LP Now, enable the IB port for \fBibp2\fR and check the datalink state. .sp .in +2 .nf # \fBdladm show-ib -p -o state ibp2\fR up # \fBdladm show-link elink2\fR LINK CLASS MTU STATE OVER elink2 eoib 1500 up ibp2 .fi .in -2 .sp .LP \fBExample 43 \fRConfiguring an EoIB Datalink When IB Subnet Manager is Down .sp .in +2 .nf nm2gw-2# \fBdisablesm\fR Stopping partitiond-daemon. [ OK ] Stopping IB Subnet Manager..-. [ OK ] ib-host# \fBsminfo\fR ibwarn: [2488] _do_madrpc: recv failed: Connection timed out ibwarn: [2488] mad_rpc: _do_madrpc failed; dport (Lid 1) sminfo: iberror: failed: query ib-host# \fBdladm create-eoib -l ibp2 -g nm2gw-2 -c 0a-eth-1 elink3\fR ib-host# \fBipadm create-ip elink3\fR ib-host# \fBdladm show-link elink3\fR LINK CLASS MTU STATE OVER elink3 eoib 1500 down ibp2 .fi .in -2 .sp .sp .LP Now, enable the IB Subnet Manager on the Gateway and check the state of the datalink again. .sp .in +2 .nf ib-host# \fBdladm show-link elink3\fR LINK CLASS MTU STATE OVER elink3 eoib 1500 up ibp2 .fi .in -2 .sp .LP \fBExample 44 \fRDisplaying the Probe State of the DLMP Mode Aggregation .sp .LP The following command displays the probe state of the DLMP mode aggregation. .sp .in +2 .nf # dladm show-aggr -S aggr1 LINK PORT FLAGS STATE TARGETS XTARGETS aggr1 s1 u--3 active 192.169.0.2 s0 -- s0 u-2- active -- s1 .fi .in -2 .sp .LP \fBExample 45 \fRDisplaying Help .sp .LP The following command illustrates the use of invoking the \fBhelp\fR subcommand without arguments. .sp .in +2 .nf # \fBdladm help\fR The following subcommands are supported: Bridge subcommands : add-bridge, create-bridge, delete-bridge, modify-bridge, remove-bridge, show-bridge EoIB subcommands : create-eoib, delete-eoib, show-eoib Etherstub subcommands : create-etherstub, delete-etherstub, show-etherstub IB subcommands : create-part, delete-part, show-ib, show-part IP tunnel subcommands : create-iptun, delete-iptun, modify-iptun, show-iptun Link Aggregation subcommands: add-aggr, create-aggr, delete-aggr, modify-aggr, remove-aggr, show-aggr Link subcommands : rename-link, reset-linkprop, set-linkprop, show-link, show-linkprop Secure Object subcommands : create-secobj, delete-secobj, show-secobj VLAN subcommands : create-vlan, delete-vlan, show-vlan VNIC subcommands : create-vnic, delete-vnic, show-vnic Wifi subcommands : connect-wifi, disconnect-wifi, scan-wifi, show-wifi Miscellaneous subcommands : delete-phys, show-ether, show-phys, For more info, run: dladm help \fIsubcommand\fR .fi .in -2 .sp .sp .LP The following command illustrates the use of invoking the \fBhelp\fR subcommand with a specific subcommand. .sp .in +2 .nf # \fBdladm help create-vnic\fR usage: create-vnic [-t] -l \fIlink\fR [-m \fIvalue\fR | auto | {factory [-n \fIslot-id\fR]} | {random [-r \fIprefix\fR]} | {vrrp -V \fIvrid\fR -A {inet | inet6}} [-v \fIvid\fR [-f]] [-p \fIprop\fR=\fIvalue\fR[,...]] \fIvnic-link\fR example: # dladm create-vnic -l net0 -m factory -n 2 -p mtu=1200 vnic1 .fi .in -2 .sp .LP \fBExample 46 \fRCreating a VNIC in a Non-Global Zone .sp .LP The following example creates a VNIC v1 in non-global zones zone1 and zone2 from the global zone. zone1/net0 and zone2/net0 are automatically created VNICs for zone1 and zone2 respectively. .sp .in +2 .nf # \fBdladm create-vnic -t -l net1 zone1/v1\fR # \fBdladm create-vnic -t -l net1 zone2/v1\fR # \fBdladm show-link -Z\fR LINK ZONE CLASS MTU STATE OVER net1 global phys 1500 unknown -- net0 global phys 1500 up -- zone1/net0 zone1 vnic 1500 up net0 zone2/net0 zone2 vnic 1500 up net0 zone1/v1 zone1 vnic 1500 up net1 zone2/v1 zone2 vnic 1500 up net1 .fi .in -2 .sp .LP \fBExample 47 \fRUsing \fB-m\fR to Display a VNIC .sp .LP The following command shows how to use the \fB-m\fR option to display a VNIC. .sp .in +2 .nf # \fBdladm show-vnic -m\fR LINK OVER SPEED MACADDRESSES MACADDRTYPES IDS vnic0 net5 10000 0:14:4f:fb:87:ee fixed VID:0 vnic1 net5 10000 0:14:4f:87:13:7a fixed VID:0 0:14:4f:87:13:7e fixed 0:14:4f:f8:7e:a fixed .fi .in -2 .sp .LP \fBExample 48 \fREnabling SR-IOV mode and creating a VF VNIC .sp .LP The following commands show how to enable SR-IOV mode and create a VF VNIC. .sp .in +2 .nf # \fBdladm set-linkprop -p iov=on net0\fR # \fBdladm show-linkprop -p iov net0\fR LINK PROPERTY PERM VALUE EFFECTIVE DEFAULT POSSIBLE net0 iov rw auto on auto auto,on,off .fi .in -2 .sp .sp .in +2 .nf # \fBdladm create-vnic -lnet0 v1\fR # \fBdladm show-linkprop -p iov v1\fR LINK PROPERTY PERM VALUE EFFECTIVE DEFAULT POSSIBLE v1 iov r- inherit on inherit inherit,on,off .fi .in -2 .sp .LP \fBExample 49 \fRDisplaying SR-IOV information .sp .LP The following commands can be used to show additional SR-IOV information (continuing from the previous example). .sp .in +2 .nf # \fBdladm show-phys -V\fR LINK VFS-AVAIL VFS-INUSE FLAGS net0 30 1 ----- .fi .in -2 .sp .sp .in +2 .nf # \fBdladm show-vnic -V\fR LINK VF-ASSIGNED v1 ixgbevf0 .fi .in -2 .sp .sp .LP Alternatively, the above fields can specified through the \fB-o\fR option: .sp .in +2 .nf # \fBdladm show-phys -o LINK,VFS-INUSE\fR LINK VFS-INUSE net0 1 .fi .in -2 .sp .sp .in +2 .nf # \fBdladm show-vnic -o VF-ASSIGNED\fR VF-ASSIGNED ixgbevf0 .fi .in -2 .sp .LP \fBExample 50 \fRCreating a regular VNIC on a physical link with iov enabled .sp .LP The following command can be used to create a regular VNIC on a link with iov=on. .sp .in +2 .nf # \fBdladm create-vnic -lnet0 -piov=off v1\fR .fi .in -2 .sp .sp .LP These commands can be used to verify that the VNIC does not have a VF: .sp .in +2 .nf # \fBdladm show-linkprop -p iov v1\fR LINK PROPERTY PERM VALUE EFFECTIVE DEFAULT POSSIBLE v1 iov r- off off inherit inherit,on,off .fi .in -2 .sp .sp .in +2 .nf # \fBdladm show-vnic -V\fR LINK VF-ASSIGNED v1 -- .fi .in -2 .sp .LP \fBExample 51 \fRCreating a VNIC by connecting it to an Elastic Virtual Switch (EVS) .sp .LP The following example creates a VNIC by connecting to an EVS. .sp .in +2 .nf # \fBdladm create-vnic -t -c HR/vport0 vnic0\fR # \fBdladm show-vnic -c\fR LINK TENANT EVS VPORT OVER MACADDRESS IDS vnic0 sys-global HR vport0 net2 2:8:20:c1:df:14 VID:100 .fi .in -2 .sp .sp .LP \fBHR\fR is an EVS and has a port \fIvport0\fR to which \fIvnic0\fR will be connected. \fIvnic0\fR will inherit all the properties of \fIvport0\fR. \fBHR\fR and \fIvport0\fR are managed through \fBevsadm\fR(1M). .LP \fBExample 52 \fRCreating IPoIB VNICs .sp .LP The following example creates IPoIB VNIC with name ipoib_vnic0 over physical link net4 with pkey of 0xffff. .sp .in +2 .nf # \fBdladm create-vnic -l net4 -P 0xffff ipoib_vnic0\fR .fi .in -2 .sp .sp .LP To see the VNIC information: .sp .in +2 .nf # dladm show-vnic LINK OVER SPEED MACADDRESS MACADDRTYPE IDS ipoib_vnic0 net4 32000 80:0:0:4a:fe:.. fixed PKEY:0xFFFF # dladm show-vnic -o link,macaddress LINK MACADDRESS ipoib_vnic0 80:0:0:4a:fe:80:0:0:0:0:0:0:0:21:28:0:1:a0:a5:8e .fi .in -2 .sp .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .LP \fB/usr/sbin\fR .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Availabilitysystem/core-os _ Interface StabilityCommitted .TE .sp .LP \fB/sbin\fR .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Availabilitysystem/core-os _ Interface StabilityCommitted .TE .sp .LP Note that, for both \fB/usr/sbin\fR and \fB/sbin\fR, the \fB-s\fR and \fB-i\fR options to the \fBshow-aggr\fR, \fBshow-link\fR and \fBshow-vnic\fR subcommands are Committed Obsolete. .sp .LP Note that, for both \fB/usr/sbin\fR and \fB/sbin\fR, \fBvswitchmode\fR link property has an interface stability of Volatile. .sp .LP Note that the \fBbridge-related\fR subcommands, described with \fBdladm\fR subcommands above, require installation of the \fBpkg://solaris/network/bridging\fR package. .SH SEE ALSO .sp .LP \fBacctadm\fR(1M), \fBautopush\fR(1M), \fBdhcpagent\fR(1M), \fBdlstat\fR(1M), \fBifconfig\fR(1M), \fBipadm\fR(1M), \fBipsecconf\fR(1M), \fBlldpadm\fR(1M), \fBndd\fR(1M), \fBnetadm\fR(1M), \fBnetcfg\fR(1M)\fBpooladm\fR(1M), \fBpoolcfg\fR(1M), \fBpsrset\fR(1M), \fBvrrpadm\fR(1M), \fBwpad\fR(1M), \fBin.dlmpd\fR(1M), \fBzonecfg\fR(1M), \fBattributes\fR(5), \fBieee802.3\fR(5), \fBdlpi\fR(7P), \fBevsadm\fR(1M) .SH NOTES .sp .LP The preferred method of referring to an aggregation in the aggregation subcommands is by its link name. Referring to an aggregation by its integer \fIkey\fR is supported for backward compatibility, but is not necessary. When creating an aggregation, if a \fIkey\fR is specified instead of a link name, the aggregation's link name will be automatically generated by \fBdladm\fR as \fBaggr\fR\fIkey\fR.