The configured ETS bandwidth values (ets-bw-local) for each priority can be recommended to the peer so that the peer can configure the same values. You must enable the etsreco property in the dot1-tlv type of the LLDP agent on the NIC to recommend the ETS bandwidth values. The recommended values can be the same as the locally configured ETS values or you can also explicitly configure the recommended values by setting the new datalink property ets-bw-remote-advice by using the dladm set-linkprop command. Configuring the ets-bw-remote-advice property is useful if the assigned bandwidth for a datalink is asymmetrical, which means that the receive (Rx) and transmit (Tx) bandwidth are different.
By default, the configured values of the ets-bw-local property are used to recommend values to the peer. However, you can recommend a different ETS value by setting a different value for the ets-bw-remote-advice property. For example, if the network traffic is more on the Tx, then you can configure a higher ETS value for the ets-bw-local property (Tx on the host) and a lower value configured for the ets-bw-remote-advice property (Rx to the host).
Example 45 Recommending an ETS Configuration to the PeerEnsure that the etsreco property is enabled by displaying the dot1-tlv type property of the LLDP agent for net5.
$ lldpadm show-agentprop -p dot1-tlv net5 AGENT PROPERTY PERM VALUE EFFECTIVE DEFAULT POSSIBLE net5 dot1-tlv rw etsreco,etscfg etsreco, none none,vlanname,pvid, etscfg linkaggr,pfc,appln, evb,etscfg,etsreco, all
Allocate a share of 20% of the underlying link's bandwidth for vnic1.
$ dladm set-linkprop -p ets-bw-local=20 vnic1 $ dladm show-linkprop -p ets-bw-local vnic1 LINK PROPERTY PERM VALUE EFFECTIVE DEFAULT POSSIBLE vnic1 ets-bw-local rw 20 20 0 --
By default, the same value is recommended for the peer.
$ dladm show-linkprop -p ets-bw-remote-advice vnic1 LINK PROPERTY PERM VALUE EFFECTIVE DEFAULT POSSIBLE vnic1 ets-bw-remote-advice rw -- 20 0 --
Display the information exchanged by LLDP.
$ lldpadm show-agent -l -v net5
Display the bandwidth recommended to the peer.
$ dladm show-phys -D ets -r net5 LINK COS ETSBW_RMT_EFFECT ETSBW_RMT_ADVICE CLIENTS -- 0 0 80 net5 1 0 0 -- 2 0 0 -- 3 0 20 vnic1 4 0 0 -- 5 0 0 -- 6 0 0 -- 7 0 0 --
By default, the values configured for the ets-bw-local property for each priority on net5 are sent as the recommended values to the peer. The ETSBW_RMT_ADVICE shows the values recommended to the peer. The output also shows that the peer has not configured any ETS bandwidth on its end. You can also display bandwidth recommended to the peer by using the lldpadm show-agent command.
Recommend a different value to the peer.
$ dladm set-linkprop -p ets-bw-remote-advice=10 vnic1 $ dladm show-linkprop -p ets-bw-remote-advice vnic1 LINK PROPERTY PERM VALUE EFFECTIVE DEFAULT POSSIBLE vnic1 ets-bw-remote-advice rw 10 10 0 --
Display the bandwidth recommended to the peer.
$ dladm show-phys -D ets -r net5 LINK COS ETSBW_RMT_EFFECT ETSBW_RMT_ADVICE CLIENTS -- 0 0 90 net5 1 0 0 -- 2 0 0 -- 3 0 10 vnic2 4 0 0 -- 5 0 0 -- 6 0 0 -- 7 0 0 --
The ETSBW_RMT_EFFECT field shows value 0 for vnic2, which indicates that the peer has not set any bandwidth on its end, even though you have recommended bandwidth values. This situation means that peer might not have enabled LLDP or does not support ETS.