Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Managing IP Pools

 

The AddPoolRangeBatch.pl script can be used to manage IP pools in SBR Carrier. You can add IP Pools to the SSR database by running this script as the hadm user. The AddPoolRangeBatch.pl script is available in the /opt/JNPRhadm/ directory.

Execute:

hadm@sbr-blr-vm3:~>perl AddPoolRangeBatch.pl

Usage: AddPoolRangeBatch.pl [-h] [-i] [-y] [-p#] [-s] <batch file>, where <batch file> could be <PoolName> <Range Start IP> <Range End IP | count>.

The other variables used with the AddPoolRangeBatch.pl script are described as follows:

  • [-h]—Displays help.

  • [-i]—Ignores range conflicts.

  • [-y]—Answers yes to questions.

  • [-p#]—Uses # processes simultaneously for batch processing, where # represents the number of processes used.

  • [-s]—Installs the stored procedure used for cleaning the zombie pool (that is assigning IP from zombie pools to other pools).

  • [-u]—Cleans zombie sessions.

Note

You can alternatively use the AddRange.sh script to manage IP pools but it takes longer time to accomplish the task. For more information on AddRange.sh, see the Administration and Configuration Guide.