Managing Network Datalinks in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Recommending ETS Configuration to the Peer

The configured ETS bandwidth values (etsbw-lcl) 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 etsbw-rmt-advice by using the dladm set-linkprop command. Configuring the etsbw-rmt-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 etsbw-lcl property are used to recommend values to the peer. However, you can recommend a different ETS value by setting a different value for the etsbw-rmt-advice property. For example, if the network traffic is more on the Tx, then you can configure a higher ETS value for the etsbw-lcl property (Tx on the host) and a lower value configured for the etsbw-rmt-advice property (Rx to the host).

Example 6-6  Recommending an ETS Configuration to the Peer
  1. Ensure 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          DEFAULT        POSSIBLE
    net5         dot1-tlv   rw   etsreco,etscfg none           none,vlanname,pvid,
                                                               linkaggr,pfc,appln,
                                                               evb,etscfg,etsreco,
                                                               all
  2. Allocate a share of 20% of the underlying link's bandwidth for vnic1.

    # dladm set-linkprop -p etsbw-lcl=20 vnic1
    # dladm show-linkprop -p etsbw-lcl vnic1
    LINK     PROPERTY        PERM VALUE        EFFECTIVE    DEFAULT   POSSIBLE
    vnic1    etsbw-lcl       rw   20           20           0         --
    

    By default, the same value is recommended for the peer.

    # dladm show-linkprop -p etsbw-rmt-advice vnic1
    LINK     PROPERTY         PERM VALUE  EFFECTIVE    DEFAULT   POSSIBLE
    vnic1    etsbw-rmt-advice rw   --      20           0         --
      
  3. Display the information exchanged by LLDP.

    # lldpadm show-agent -l -v net5
     
  4. 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 etsbw-lcl 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.

  5. Recommend a different value to the peer.

    # dladm set-linkprop -p etsbw-rmt-advice=10 vnic1
    # dladm show-linkprop -p etsbw-rmt-advice vnic1
    LINK     PROPERTY          PERM VALUE     EFFECTIVE    DEFAULT   POSSIBLE
    vnic1    etsbw-rmt-advice  rw   10         10           0         --
  6. 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.