# Determining the maximum number of ports available

The following steps describe how to determine the maximum number of ports available when using a specific resource definition:

Step | Action
1 | Set the Resource[x].Size keyword to an impossibly high number (for example, 1000).
2 | Attempt to boot the board.
3 | When the board fails to boot, monitor oammon. An error message specifying the maximum number of ports possible with that resource configuration appears. For example: Board Error 0xe40: Resource Manager: Insufficient resources. 120 ports allocated
4 | Reset the Resource[x].Size keyword to the number indicated in the oammon error message.