# replicated network update

Update network settings

### Synopsis

The 'update' command allows you to update various settings of a test network, including network policy and report collection.

You can either specify the network ID or name directly as a positional argument, or provide it using the '--id' or '--name' flags.

Network policies control network traffic behavior:
  - open: No restrictions on network traffic (default)
  - airgap: Blocks all network egress to simulate air-gapped environments

```
replicated network update [ID_OR_NAME] [flags]
```

### Examples

```
# Set network policy to airgap
replicated network update NETWORK_ID --policy airgap

# Set network policy to open
replicated network update NETWORK_ID --policy open

# Enable network traffic reporting
replicated network update NETWORK_ID --collect-report

# Disable network reporting
replicated network update NETWORK_ID --collect-report=false

# Update multiple settings at once
replicated network update NETWORK_ID --policy airgap --collect-report

```

### Options

```
  -r, --collect-report   Enable report collection on this network (use --collect-report=false to disable)
  -h, --help             help for update
      --id string        id of the network to update (when name is not provided)
      --name string      Name of the network to update
      --output string    The output format to use. One of: json|table|wide (default "table")
  -p, --policy string    Update network policy setting
```

### 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 network](replicated-cli-network)	 - Manage test networks for VMs and Clusters