
B-20
MAX Administration Guide
Diagnostic Parameters and Commands
Using diagnostics-related DO commands
Diag AddrPool
Description: Displays messages related to dynamic address pooling. The command is a
toggle that alternately enables and disables the debug display.
Usage: Enter
diag addrpool
at the MAX prompt.
Example: Following are several examples of output displayed from
diag addrpool
.
With 18 addresses currently allocated from a pool:
ADDRPOOL: lanAllocate index 0 inuse 18
The address 208.147.145.155 was just allocated:
ADDRPOOL: allocate local pool address [208.147.145.155]
The following message appeared when the address 208.147.145.141 was to be freed because
the user of that address had hung up. The MAX unit must find the pool to which the pool
address belonged, then free the address so it is available for another user:
ADDRPOOL: found entry by base [208.147.145.141] entry
[208.147.145.129]
ADDRPOOL: free local pool address [208.147.145.141]
The following messages show that a new pool is created. Under Ethernet > Mod Config >
WAN Options, Pool #1 Start is set to 192.168.8.8, and Pool #1 Count is set to 4:
ADDRPOOL: Deleting addrPool
ADDRPOOL: New Addr pool rc = 0
addrPool index 1 ip [192.168.8.8] count 4
The following message appeared when the Pool #1 Count parameter for an existing pool was
changed from 4 to 3:
ADDRPOOL: Deleting addrPool
ADDRPOOL: New Addr pool rc = 0
addrPool index 1 ip [192.168.8.8] count 3
In the events reported by the following display, a second pool is created. Under Ethernet >
Mod Config > WAN Options, Pool #2 Start is set to 192.168.10.8, and Pool #2 Count is set to
10:
ADDRPOOL: Deleting addrPool
ADDRPOOL: New Addr pool rc = 0
addrPool index 1 ip [192.168.8.8] count 4
ADDRPOOL: New Addr pool rc = 0
addrPool index 1 ip [192.168.8.8] count 4
addrPool index 2 ip [192.168.10.1] count 10
The second pool is then deleted:
ADDRPOOL: Deleting addrPool
ADDRPOOL: New Addr pool rc = 0
addrPool index 1 ip [192.168.8.8] count 4