This section describes how to create a flow and set flow properties.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
# dladm show-link
# ipadm show-addr
# flowadm add-flow -l link -a attribute=value[,attribute=value] flow
Refers to the link on which you are configuring the flow.
Refers to a single or a combination of attributes that you can use to organize network packets into a flow. For information about the attributes, see Managing Network Resources by Using Flows.
Refers to the name that you assign to the flow.
For more information about flows and flow attributes, see the flowadm (1M) man page.
# dladm show-linkprop -p maxbw link
Refers to the datalink on which the flow is configured.
The range of values is listed under the POSSIBLE field of the command's output.
# flowadm set-flowprop -p prop=value[,...] flow
You can specify the following flow properties that control resources:
The maximum amount of the link's bandwidth that packets identified with the flow can use. The value you set must be within the allowed range of values for the link's bandwidth.
The priority with which packets belonging to the specified flow will be processed. The allowed values for the priority property are high, medium, and low. If the priority of a flow is set to high, all the packets belonging to that flow will be processed ahead of other packets on the same link. This property is used to create a flow for applications that are latency sensitive. The default value of this property is medium.
# flowadm
# flowadm show-flowprop flow
This command displays maxbw and priority flow properties, plus the read-only hwflow property.
A read-only property that helps you to understand the packet classification in flows. The possible values of this property are on and off. The value of on means that the flow has been offloaded to the NIC and packet classification for the flow is conducted at the hardware level. This property cannot be used with –p option in flowadm add-flow, flowadm set-flowprop, or flowadm reset-flowprop commands.