Use the NW TCPIP DYNAMICINIT DISABLE command to disable the dynamic initiation of an application based on the port number or numbers associated with the application. Port numbers can be entered as a list separated by commas or as a range, for example 2 to 4 or 800 to 1000. You can use the ALL keyword to disable all TCP or UDP ports, and the EXCEPT keyword to disable all port numbers except those specified.
Examples
The following command disables the dynamic initiation of applications with TCP port numbers 1 through 3, 400, and 800 through 1000:
NW TCPIP DYNAMICINIT DISABLE TCP PORTS 1,2,3,400,800 TO 1000
The following example is another way to enter this command:
NW TCPIP DYNAMICINIT DISABLE TCP PORTS 1 TO 3,400,800 TO 1000
The following command disables all UDP port numbers:
NW TCPIP DYNAMICINIT DISABLE UDP ALL
The following command disables all TCP port numbers except for 4 through 399, 401 through 799, and 1001 through 65535:
NW TCPIP DYNAMICINIT DISABLE TCP PORTS EXCEPT FOR 4 TO 399, 401 TO 799, 1001 TO 65535