Go to main content

Managing Network Datalinks in Oracle® Solaris 11.3

Exit Print View

Updated: December 2017
 
 

Displaying ETS Configuration Information

    You can use the following commands to display information about the ETS configuration:

  • # dladm show-linkprop -p etsbw-lcl,etsbw-rmt,etsbw-lcl-advice,etsbw-rmt-advice datalink

    This command displays the information related to ETS on a physical link.

  • # dladm show-phys -D ets phys-link

    This command displays the local and remote ETS configuration on the physical link with regard to bandwidth allocation and distribution across the link.

  • # lldpadm show-agenttlvprop -a agent etscfg

    Where agent is the datalink on which LLDP is enabled. This command displays the ETS TLV property that controls the capability of a host to synchronize ETS information with a peer.

Example 46  Displaying ETS-Related Datalink Properties

This example shows how to display the status of datalink properties that are related to ETS before synchronization is enabled.

# dladm show-linkprop -p cos,etsbw-lcl,etsbw-rmt,etsbw-lcl-advice, \
etsbw-rmt-advice vnic1
LINK    PROPERTY           PERM  VALUE  EFFECTIVE  DEFAULT    POSSIBLE
vnic1   cos                rw    2      2          0          0-7
vnic1   etsbw-lcl          rw    10     10         0          --
vnic1   etsbw-rmt          r-    20     20         --         --
vnic1   etsbw-lcl-advice   r-    20     20         --         --
vnic1   etsbw-rmt-advice   rw    10     10         0          --

The output shows that the host has set and recommended an ETS value of 10% for vnic1 with a cos value of 2. However, the peer has set and recommended an ETS value of 20% with a cos value of 2 for vnic1. Because the synchronization is not enabled (willing is not enabled) the host has not accepted the peer's recommendation, which is reflected in the EFFECTIVE value of the etsbw-lcl property (locally configured value).

Example 47  Displaying the Capability of the Local Host to Synchronize ETS Information

This example shows how to display the current status of the local host's ability to adjust to the ETS configurations of the peer.

# lldpadm show-agenttlvprop -a net0 etscfg
AGENT   TLVNAME   PROPERTY   PERM   VALUE   EFFECTIVE   DEFAULT   POSSIBLE
net0    etscfg    willing    rw     off       --        on        on,off

To enable synchronization, type the following commands:

# lldpadm set-agenttlvprop -p willing=on -a net0 etscfg

# dladm show-linkprop -p  cos,etsbw-lcl,etsbw-rmt, \
etsbw-lcl-advice,etsbw-rmt-advice vnic1
LINK    PROPERTY           PERM  VALUE   EFFECTIVE  DEFAULT    POSSIBLE
vnic1   cos                rw    2       2          0          0-7
vnic1   etsbw-lcl          rw    10      20         0          --
vnic1   etsbw-rmt          r-    20      20         --         --
vnic1   etsbw-lcl-advice   r-    20      20         --         --
vnic1   etsbw-rmt-advice   rw    10      10         0          --

Because the synchronization is enabled (the property willing is enabled), the host has accepted the peer's recommendation, which is reflected in the EFFECTIVE value of etsbw-lcl.

The following example shows effective ETS values on the host and the peer for each priority value on the physical link.

# dladm show-phys -D ets net4
LINK     COS ETSBW_LCL_EFFECT ETSBW_RMT_EFFECT ETSBW_LCL_SOURCE CLIENTS
net4      0   0                30               local            net4
          1   0                0                local            --
          2   0                0                local            --
          3   0                0                local            --
          4   0                70               local            --
          5   0                0                local            --
          6   0                0                local            --
          7   0                0                local            --
ETSBW_LCL_EFFECT

Displays the effective ETS bandwidth as a percentage for the priority.

ETSBW_RMT_EFFECT

Displays the effective ETS bandwidth as a percentage for the priority value on the peer.

ETSBW_LCL_SOURCE

Indicates the source for the ETSBW_LCL_EFFECT value. This value could be either local, which is the configured value, or remote, which is the recommended value.

The following example shows the local ETS information including the locally configured values, local effective values, and the values recommended by the peer.

# dladm show-phys -D ets -l net5
LINK                COS ETSBW_LCL ETSBW_LCL_EFFECT ETSBW_LCL_ADVICE CLIENTS
--                  0   80        80               0                net5
                    1   0         0                0                --
                    2   0         0                0                --
                    3   20        20               0                vnic2
                    4   0         0                0                --
                    5   0         0                0                --
                    6   0         0                0                --
                    7   0         0                0                --

Because the peer has not recommended any values, the local effective value (ETSBW_LCL_EFFECT) is set by using the local configured value (ETSBW_LCL).

The following example displays information about the peer.

# dladm show-phys -D ets -r net5
LINK                COS ETSBW_RMT_EFFECT ETSBW_RMT_ADVICE CLIENTS
--                  0   0                20               net5
                    1   0                0                --
                    2   0                0                --
                    3   0                80               vnic2
                    4   0                0                --
                    5   0                0                --
                    6   0                0                --
                    7   0                0                --

The output shows that the remote peer does not have any value set in the ETSBW_RMT_EFFECT field even though the host had recommended the peer to set 80% for priority 3.