vmware-archive / powernsx

PowerShell module that abstracts the VMware NSX-v API to a set of easily used PowerShell functions
173 stars 90 forks source link

Changing VXLAN Port #551

Closed zackless closed 6 years ago

zackless commented 6 years ago

Do we support changing VXLAN Port from commands?

alagoutte commented 6 years ago

Hi Zack,

No there is no cmdlet for change VXLAN Port

But you can use

Invoke-NsxRestMethod -Method "PUT" -Uri "/api/2.0/vdn/config/vxlan/udp/port/{portNumber}?force=true"

Replace {portNumber} by the port number

For more info about the VXLAN Port Configuration, you need to look nsx_64_api(.pdf) guide

zackless commented 6 years ago

Thank you @alagoutte . Problem solved.