Monitor the free ports available on a NetScaler appliance for a new back-end connection
-
Citrix® owned IP address (optional)
-
Destination IP address
-
Destination port
-
TCP or non-TCP protocol
-
The NetScaler appliance performs a route lookup for finding all the NetScaler owned IP addresses that can connect to the destination IP address. The appliance then finds and displays the total number of free ports available on these NetScaler owned IP addresses for the specified new back-end connection.Note:The NetScaler appliance does not perform ECMP lookup, or LLB lookup path, or PBR lookup path for finding the NetScaler owned IP addresses that can connect to the destination IP address.
-
The NetScaler appliance displays the number of free ports available on the specified IP address for the specified new back-end connection.
Before you begin
-
The NetScaler appliance does not perform ECMP lookup, or LLB lookup path, or PBR lookup path for finding the NetScaler owned IP addresses that can connect to the destination IP address.
-
The NetScaler appliance does not support displaying free ports available on a link local IP address.
Steps for displaying the number of free ports available on a NetScaler appliance for a new back-end connection
> show portallocation -destip 198.51.100.30 -destport 80 -protocol 1
Freeports available : 64505
Done
> show portallocation -srcip 192.0.2.30 -destip 198.51.100.30 -destport 80 -protocol 1
Freeports available for IPAddress 192.0.2.30 : 20505
Done
> show portallocation -destip 198.51.100.30 -destport 80 -protocol 1
Node Id: 1
Freeports available : 32321
Node Id: 0
Freeports available : 32184
Done
Monitor the ports usage on a NetScaler appliance for back-end connections using SNMP
PORT-ALLOC-EXCEED SNMP alarm to monitor the ports usage on a NetScaler appliance for back-end connections.
PORT-ALLOC-EXCEED SNMP alarm includes the high-threshold and normal-threshold parameters, which specify the total allocated ports of the NetScaler owned IP addresses as percentages. For example, if the high-threshold parameter is set to 90, the NetScaler appliance generates and sends trap messages when the following event happens:
-
when the port allocation percentage exceeds 90 percent on any of the NetScaler owned IP address for the back-end connections
-
sh snmp alarm PORT-ALLOC-EXCEED
> set snmp alarm PORT-ALLOC-EXCEED -logging ENABLED -severity Major -state ENABLED -thresholdValue 90 -time 1200
Done
> sh snmp alarm port-alloc-EXCEED
Alarm Alarm Threshold Normal Threshold Time State Severity Logging
----- --------------- ---------------- ---- -------- ------------- --------
1) PORT-ALLOC-EXCEED 80 80 7200 ENABLED Major ENABLED
Done