---
title: "calicoctl bgp peers"
description: "Command to release an IP address from Calico Enterprise IP management."
product: "Calico Enterprise"
version: "3.21"
section: "Reference"
canonical_url: "https://docs.tigera.io/calico-enterprise/3.21/reference/clis/calicoctl/bgp/peers"
---

# calicoctl bgp peers

This section describes the `calicoctl bgp peers` 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.

Note, this command can be run from any location that has access to the cluster (e.g. anywhere with kubeconfig).

## Displaying the help text for 'calicoctl bgp peers' command

Run `calicoctl bgp peers --help` to display the following help menu for the command.

```text
Usage:
  calicoctl bgp peers <NAME> [--config=<CONFIG>]

Options:
  -h --help             Show this screen.
  -c --config=<CONFIG>  Path to the file containing connection configuration in
                        YAML or JSON format.
                        [default: /etc/calico/calicoctl.cfg]

Description:
  The bgp peers command prints BGP related information about a given node's peers. For the
  NAME parameter, you can provide either the node name or pod name of the node instance.
```

### Examples

```bash
calicoctl bgp peers name-of-node
calicoctl bgp peers name-of-pod
```

### 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)
