---
title: Attach
url: https://docs.vultr.com/reference/vultr-cli/reserved-ip/attach
description: Attaches a reserved IP address to a specific Vultr instance, enabling the instance to use that IP address.
publish_date: 2025-09-14T03:08:38.146089Z
last_updated: 2025-11-07T17:51:24.604735Z
---

The `vultr-cli reserved-ip attach` command associates a reserved IP address with a specific instance in your Vultr account, enabling that instance to use the IP.

## Usage

```console
$ vultr-cli reserved-ip attach <Reserved IP ID> [flags]
```

## Examples

```console
# Full example
$ vultr-cli reserved-ip attach 6a31648d-ebfa-4d43-9a00-9c9f0e5048f5 \
--instance-id="2b9bf5fb-1644-4e0a-b706-1116ab64d783"

# Shortened with alias commands
$ vultr-cli rip a 6a31648d-ebfa-4d43-9a00-9c9f0e5048f5 -i="2b9bf5fb-1644-4e0a-b706-1116ab64d783"
```

## Flags
| Shorthand | Long Version | Description |
|-----------|--------------|-------------|
| -i | --instance-id | id of instance you want to attach |