# replicated cluster port ls

List cluster ports for a cluster.

### Synopsis

The 'cluster port ls' command lists all the ports configured for a specific cluster. You must provide the cluster ID or name to retrieve and display the ports.

This command is useful for viewing the current port configurations, protocols, and other related settings of your test cluster. The output format can be customized to suit your needs, and the available formats include table, JSON, and wide views.

```
replicated cluster port ls CLUSTER_ID_OR_NAME [flags]
```

### Aliases

```
ls, list
```

### Examples

```
# List ports for a cluster in the default table format
replicated cluster port ls CLUSTER_ID_OR_NAME

# List ports for a cluster in JSON format
replicated cluster port ls CLUSTER_ID_OR_NAME --output json

# List ports for a cluster in wide format
replicated cluster port ls CLUSTER_ID_OR_NAME --output wide
```

### Options

```
  -h, --help            help for ls
  -o, --output string   The output format to use. One of: json|table|wide (default "table")
```

### Options inherited from parent commands

```
      --app string       The app slug or app id to use in all calls
      --debug            Enable debug output
      --profile string   The authentication profile to use for this command
      --token string     The API token to use to access your app in the Vendor API
```

### SEE ALSO

* [replicated cluster port](replicated-cli-cluster-port)	 - Manage cluster ports.