Go to main content

Managing Network Virtualization and Network Resources in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Displaying VDP and ECP State and Statistics

To display VDP information only for a single link, specify that link in the command. Otherwise, VDP information for all the Ethernet links is displayed.

Displaying the VDP State and Statistics

To display the VDP state, type the following command:

$ dladm show-ether -P vdp
VSI      LINK       VSIID               VSI-TYPE-ID  VSI-STATE   CMD-PENDING 
vnic1    net0       2:8:20:22:3c:6b     98/0         ASSOC       NONE 
vnic2    net0       2:8:20:90:7f:ef     96/0         ASSOC       NONE 

VSI-STATE shows the status of the VDP exchange with the peer. Possible values are:

  • TIMEDOUT – The peer has not responded to the VDP requests.

  • ASSOC – The peer processed the request successfully.

  • DEASSOC – Either the host or the peer has rejected the request. The peer can reject the request if it is not able to determine the profile or the properties specified. The host can reject the exchange of VDP packets if it is using oracle_v1 encoding and the peer does not include the Oracle OUI in its response.

The sample output shows that two VSIs (VNICs) are configured over the link net0. Their specific VSI IDs refer to their respective MAC addresses. The VSI-TYPE ID for VNICs, vnic1 and vnic2 are generated from their respective properties (bandwidth limit and MTU) and the encoding is defined by oracle_v1.

To obtain statistics about the outgoing or incoming VDP packets, type the following command:

$ dlstat show-ether -P vdp net1
LINK    IPKTS    OPKTS   KeepAlives 
net1    3        2       1

Displaying the Link Properties

Use the dladm show-linkprop –p command to display link properties. For example:

$ dladm show-linkprop -p max-bw,mtu vnic1
LINK     PROPERTY        PERM   VALUE     EFFECTIVE    DEFAULT   POSSIBLE 
vnic1    max-bw          rw     100       100          --        -- 
vnic1    mtu             rw     1500      1500         1500      1500
$ dladm show-linkprop -p max-bw,mtu vnic2
LINK     PROPERTY        PERM  VALUE      EFFECTIVE    DEFAULT   POSSIBLE 
vnic2    max-bw          rw    20         20           --        -- 
vnic2    mtu             rw    1500       1500         1500      1500

Displaying ECP State and Statistics

VDP uses ECP to exchange messages. The following example shows state of ECP that is specific to the physical link net0.

$ dladm show-ether -P ecp net0
LINK        MAX-RETRIES     TIMEOUT
net0        3               164
MAX-RETRIES

Specifies the number of times ECP transmits a packet when it does not get an acknowledgement from the peer.

TIMEOUT

Specifies the interval (in milliseconds) before retransmitting a packet. The time interval that ECP waits for an acknowledgment before retransmitting a packet.

To obtain the statistics for a physical link, type the following command:

$ dlstat show-ether -P ecp
LINK          IPKTS    OPKTS  IERRORS  OERRORS RETRANSMITS TIMEOUTS
net0          3        2      0        0       1            0