How to Check IP Port Availability for Mapped IP/Subnet IP Addresses

How to Check IP Port Availability for Mapped IP/Subnet IP Addresses

book

Article ID: CTX208522

calendar_today

Updated On:

Description

There may be instances where new client connections to a NetScaler Virtual IP address (VIP) cannot be processed because all IP ports on the MIP/SNIP are being used. Thus, the MIP/SNIP cannot initiate any further TCP/UDP sessions to the back-end servers. A new MIP/SNIP must be created given this level of traffic to add another 64k IP port for servicing connections.

 


Instructions

Issue the following command in the NetScaler shell to confirm if the MIP/SNIP has no additional IP ports available:

nsapimgr -d freeports

Example output:

root@ns# nsapimgr -d freeports
Displaying all free ports of all MIPs...
Index IP              FreePorts (start-port:no-of-freeports)
    0 0.0.0.1         1024:64497
    1 127.0.0.2       1024:54966 55998:9523
    2 10.54.76.51     1024:64497
    3 172.16.1.61     1024:33994 35031:30490
    4 172.16.1.64     1024:7748 8785:56736
    5 172.16.1.101    1024:64497
root@ns#

Issue/Introduction

This document describes how to view the current free IP ports for all Mapped IP addresses (MIPs)/Subnet IP addresses (SNIPs) on the NetScaler.