Limitation of 251 Inline Layers
Problem
Policy push fails with the following error: Policy installation failed on gateway. If the problem persists contact Check Point support (Error code: 2000232)
Cause
The user has configured too many policy layers in the rulebase (a layer is either an Ordered layer or an Inline Layer).
The Security Gateway has a limitation of 251 layers (in total there are 256, while 5 are reserved).
Solution
Verify that the number of layers is not exceeding 251.
Troubleshooting
Show Access Layers
mgmt_cli show access-layers limit 500 -s id.txt --format json | jq '."access-layers"[].name'
Count Access Layers
mgmt_cli show access-layers limit 500 --format json
Output:
.
.
} ],
"from" : 1,
"to" : 260,
"total" : 260
}
See here: Show Access Layers