You can display information about the VDP state for physical Ethernet links if EVB is enabled on the system and also if VDP packets are being exchanged for VNICs. To display information only for a single link, specify that link in the command. Otherwise, VDP information for all the Ethernet links is displayed.
To display the VDP state, type the following command:
# dladm show-ether -P vdp VSI LINK VSIID VSI-TYPEID 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.
# dlstat show-ether -P vdp net1 LINK IPKTS OPKTS KeepAlives net1 3 2 1
You use the –p option of the dladm show-linkprop command to display link properties.
The following example shows how to display the link properties for vnic1 and vnic2.
# dladm show-linkprop -p maxbw,mtu vnic1 LINK PROPERTY PERM VALUE EFFECTIVE DEFAULT POSSIBLE vnic1 maxbw rw 100 100 -- -- vnic1 mtu rw 1500 1500 1500 1500
# dladm show-linkprop -p maxbw,mtu vnic2 LINK PROPERTY PERM VALUE EFFECTIVE DEFAULT POSSIBLE vnic2 maxbw rw 20 20 -- -- vnic2 mtu rw 1500 1500 1500 1500
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
Specifies the number of times ECP transmits a packet when it does not get an acknowledgement from the peer.
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