The following command displays the priority definitions and the effective PFC mappings on the datalink:
# dladm show-linkprop -p pfcmap,pfcmap-rmt datalink
On a datalink with matching PFC information between the local and remote peers, the values of the EFFECTIVE column for pfcmap and pfcmap-rmt properties are identical regardless of the value set for the pfcmap property. If the ability to synchronize is disabled on the local host, then the EFFECTIVE field for the pfcmap property reflects the value of the pfcmap property for the local host.
Example 6-2 Displaying PFC-Related Datalink PropertiesThis example shows how to display the status of physical datalink properties that are related to priority-based flow control.
# dladm show-linkprop -p pfcmap,pfcmap-rmt net0 LINK PROPERTY PERM VALUE EFFECTIVE DEFAULT POSSIBLE net0 pfcmap rw 11111111 11111111 11111111 00000000-11111111 net0 pfcmap-rmt r- -- -- -- --
In the example, the value field for the pfcmap property has the value of 11111111. This value indicates that the PFC mapping on the local host has the default value where all eight priorities are enabled. The EFFECTIVE values for the pfcmap and pfcmap-rmt properties are 11111111 and --. These mismatched values for the EFFECTIVE field indicate that the local host has not synchronized its PFC information with the remote peer.
You can use the lldpadm show-agenttlvprop command to verify the value of the willing property and the lldpadm show-agent -r command to check the PFC TLV information from the peer.