Symptom
When pushing the "ip dhcp snooping trust" interface configuration command via the REST API, it would not be configured unless the user pre configures "switchport" through CLI on the intended interface.
Conditions
Push the "ip dhcp snooping trust" command via NXAPI
Workaround
Enter the configuration manually.