Reserving set of local ports from ephemeral port range

Latest response

Red Hat Enterprise Linux 5
Red Hat Enterprise Linux 6
Red Hat Enterprise Linux 7

How to reserve set of ports for a third-party application? Which those ports already under ephemeral port range.

cat /proc/sys/net/ipv4/ip_local_reserved_ports
cat /proc/sys/net/ipv4/ip_local_port_range
3999 60999

The Question here is:
Since we have to utilize/hold the ports from 30000 to 31000 for our application & need to use rest of the ephemeral ports for other open connectivity.
In my example, I have mentioned ephemeral range from 3999 to 60999, so reserve_ports will secure the highlighted/mentioned ports from ephemeral?

Please let me know if this works without any issue in the production?