---
title: "calicoctl ipam configure"
description: "Command to change IPAM configuration."
product: "Calico Enterprise"
version: "3.21"
section: "Reference"
canonical_url: "https://docs.tigera.io/calico-enterprise/3.21/reference/clis/calicoctl/ipam/configure"
---

# calicoctl ipam configure

This section describes the `calicoctl ipam configure` command.

Read the [calicoctl overview](https://docs.tigera.io/calico-enterprise/3.21/reference/clis/calicoctl/overview.md) for a full list of calicoctl commands.

## Displaying the help text for 'calicoctl ipam configure' command

Run `calicoctl ipam configure --help` to display the following help menu for the command.

```text
Usage:
  calicoctl ipam configure --strictaffinity=<true/false> [--config=<CONFIG>]

Options:
  -h --help                        Show this screen.
     --strictaffinity=<true/false> Set StrictAffinity to true/false. When StrictAffinity
                                   is true, borrowing IP addresses is not allowed.
  -c --config=<CONFIG>             Path to the file containing connection configuration in
                                   YAML or JSON format.
                                   [default: /etc/calico/calicoctl.cfg]

Description:
 Modify configuration for Calico IP address management.
```

### Examples

```bash
calicoctl ipam configure --strictaffinity=true
```

### General options

```text
-c --config=<CONFIG>      Path to the file containing connection
                          configuration in YAML or JSON format.
                          [default: /etc/calico/calicoctl.cfg]
```

## See also

- [Installing calicoctl](https://docs.tigera.io/calico-enterprise/3.21/operations/clis/calicoctl/install.md)
