Configuring the Local Port Range for Kstack
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/tcpudp.json
{ "tcpudpEntity": { "children": [ { "tcpudpInst": { "attributes": { "tcpEndPortRange": "51201", "tcpStartPortRange": "41703" }}}]}}
Response
{ imdata:[] }
Copy
<System> <tcpudp-items> <inst-items> <tcpEndPortRange>51201</tcpEndPortRange> <tcpStartPortRange>41703</tcpStartPortRange> </inst-items> </tcpudp-items> </System>