The purpose of this KB is to provide steps to change value of arp_limit_per_gateway field in global config.
While configuring TEP and RTEP MTU the following error may be seen- Field level validation errors: {value 0 of property arp_limit_per_lr has violated the minimum valid value 5000}” while changing Global MTU value to <value>.
The error appears because ARP limit per gateway is set to a value below 5000.
See following document for values: Configure the ARP Limit of a Tier-0 or Tier-1 Gateway or Logical Router
Check configured value using the following API GET https://nsx-mngr/policy/api/v1/infra/global-config
If arp_limit_per_gateway is set to less than minimum value, update it. The range for arp_limit_per_gateway is 5000 - 50000, default: 50000.
To update arp_limit_per_gateway value:
GET https://<nsx-mngr-fqdn>/policy/api/v1/infra/global-configIf using CLI to run API call use cURL command -
curl -k -u admin -X GET https://<nsx-mngr-fqdn>/policy/api/v1/infra/global-config
PUT https://<nsx-mngr-fqdn>/policy/api/v1/infra/global-configIf using CLI to run API call use cURL command. Save the payload in a json file for e.g., config.json -curl -k -u admin -X PUT -H "Content-Type: application/json" --data "@config.json" https://<nsx-mngr-fqdn>/policy/api/v1/infra/global-config
Sample payload:{ "mtu": 8800, "fips": { "lb_fips_enabled": false, "tls_fips_enabled": false }, "l3_forwarding_mode": "IPV4_AND_IPV6", "uplink_mtu_threshold": 9000, "vdr_mac": "02:50:##:##:44:52", "vdr_mac_nested": "02:50:##:##:44:53", "allow_changing_vdr_mac_in_use": false, "arp_limit_per_gateway": 50000, <-------------- "external_gateway_bfd": { "bfd_profile_path": "/infra/bfd-profiles/default-external-gw-bfd-profile", "enable": true }, "lb_ecmp": false, "remote_tunnel_physical_mtu": 8900, "physical_uplink_mtu": 8900, "global_replication_mode_enabled": false, "resource_type": "GlobalConfig", "id": "global-config", "display_name": "default", "path": "/infra/global-config", "relative_path": "global-config", "parent_path": "/infra", "unique_id": "0d2a1ad5-####-####-a001-0ab0ff973ff7", "realization_id": "0d2a1ad5-####-####-a001-0ab0ff973ff7", "marked_for_delete": false, "overridden": false, "_create_time": 1677809301156, "_create_user": "system", "_last_modified_time": 1677810814969, "_last_modified_user": "admin", "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 1}