# Enumeración

## Comandos

Listado de todas las VPC dentro de la cuenta

```
aws ec2 describe-vpcs
```

<figure><img src="https://3716593425-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FghTUs02Gr2jdaFqpzAHM%2Fuploads%2Fgit-blob-a05942f4599116a88f939fcb4a09187c5d103153%2Fimage%20(3)%20(1)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

Devuelve todas las Subnets

```
aws ec2 describe-subnets
```

<figure><img src="https://3716593425-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FghTUs02Gr2jdaFqpzAHM%2Fuploads%2Fgit-blob-231797435411018baa120e45c915ec62d0178b4e%2Fimage%20(2)%20(1)%20(1)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

Listado de las route tables

```
aws ec2 describe-route-tables
```

<figure><img src="https://3716593425-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FghTUs02Gr2jdaFqpzAHM%2Fuploads%2Fgit-blob-9ed6488db5435cff1e989416f50f425a380d8f03%2Fimage%20(1)%20(1)%20(2).png?alt=media" alt=""><figcaption></figcaption></figure>

Comando que devuelve todas las listas de control de acceso relacionadas a las redes dentro de la cuenta de AWS

```
aws ec2 describe-network-acls
```

<figure><img src="https://3716593425-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FghTUs02Gr2jdaFqpzAHM%2Fuploads%2Fgit-blob-d4ac5971e2926997f125f4fb763bca41ef78c5b3%2Fimage%20(7)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

## Referencias

{% embed url="https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/index.html#cli-aws-ec2" %}
