- Identifies the 8-bit differentiated services field (as defined in RFC 2474). The optional dsfield_mask is used to state the bits of interest in the differentiated services field when comparing with the dsfield value. Both values must be in hexadecimal.
link
-
Specifiies a link to configure flow on.
local_ip
-
Identifies a network flow by the local IP address.
local_port
-
Identifies a service specified by the local port.
maxbw
-
- Sets the full duplex bandwidth for the flow. The bandwidth is specified as an integer with one of the scale suffixes(K, M, or G for Kbps, Mbps, and Gbps). If no units are specified, the input value will be read as Mbps.
name
-
/ required
- A flow is defined as a set of attributes based on Layer 3 and Layer 4 headers, which can be used to identify a protocol, service, or a zone.
aliases: flow
priority
-
Choices:
low
medium ←
high
Sets the relative priority for the flow.
remote_ip
-
Identifies a network flow by the remote IP address.
state
-
Choices:
absent
present ←
resetted
Create/delete/enable/disable an IP address on the network interface.
temporary
boolean
Choices:
no ←
yes
Specifies that the configured flow is temporary. Temporary flows do not persist across reboots.
transport
-
- Specifies a Layer 4 protocol to be used. It is typically used in combination with local_port to identify the service that needs special attention.
# Limit SSH traffic to 100M via vnic0 interface-flowadm:link:vnic0flow:ssh_outtransport:tcplocal_port:22maxbw:100Mstate:present# Reset flow properties-flowadm:name:dnsstate:resetted# Configure policy for EF PHB (DSCP value of 101110 from RFC 2598) with a bandwidth of 500 Mbps and a high priority.-flowadm:link:bge0dsfield:'0x2e:0xfc'maxbw:500Mpriority:highflow:efphb-flowstate:present